Home
last modified time | relevance | path

Searched refs:IsProcessForeground (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dapp_state_observer_test.cpp60 …ASSERT_FALSE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST…
66 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST_…
83 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST_…
91 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_2, ServiceTestCommon::TEST_…
107 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST_…
110 …ASSERT_FALSE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST…
126 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST_…
129 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST_…
148 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST_…
168 …ASSERT_TRUE(observer_->IsProcessForeground(ServiceTestCommon::TEST_PID_1, ServiceTestCommon::TEST_…
[all …]
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dapp_state_observer.h41 bool IsProcessForeground(int32_t pid, int32_t uid);
H A Dapp_state_observer.cpp35 bool AppStateObserver::IsProcessForeground(int32_t pid, int32_t uid) in IsProcessForeground() function in OHOS::Security::SecurityComponent::AppStateObserver
H A Dsec_comp_service.cpp161 if ((uid != ROOT_UID) && (!appStateObserver_->IsProcessForeground(pid, uid))) { in GetCallerInfo()