/base/account/os_account/test/fuzztest/osaccount/isosaccountforeground_fuzzer/ |
H A D | isosaccountforeground_fuzzer.cpp | 31 bool isForeground = false; in IsOsAccountForegroundWith2ArgsFuzzTest() local 37 OsAccountManager::IsOsAccountForeground(localId, isForeground); in IsOsAccountForegroundWith2ArgsFuzzTest() 42 bool isForeground = false; in IsOsAccountForegroundWith3ArgsFuzzTest() local 48 OsAccountManager::IsOsAccountForeground(localId, Constants::DEFAULT_DISPALY_ID, isForeground); in IsOsAccountForegroundWith3ArgsFuzzTest()
|
/base/inputmethod/imf/services/adapter/os_account_adapter/src/ |
H A D | os_account_adapter.cpp | 25 bool isForeground = false; in IsOsAccountForeground() local 26 auto errCode = OsAccountManager::IsOsAccountForeground(userId, isForeground); in IsOsAccountForeground() 30 return isForeground; in IsOsAccountForeground()
|
/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | watchdog.cpp | 66 void Watchdog::SetForeground(const bool& isForeground) in SetForeground() argument 68 return WatchdogInner::GetInstance().SetForeground(isForeground); in SetForeground()
|
H A D | watchdog_inner.h | 89 void SetForeground(const bool& isForeground);
|
/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | os_account.h | 96 ErrCode IsOsAccountForeground(bool &isForeground); 97 ErrCode IsOsAccountForeground(const int32_t localId, bool &isForeground); 98 ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground); 112 ErrCode IsOsAccountForegroundCommon(int32_t localId, uint64_t displayId, bool &isForeground);
|
H A D | ios_account.h | 107 virtual ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) = 0;
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 578 * @param isForeground - Indicates whether the specified localId is Foreground. 581 static ErrCode IsOsAccountForeground(bool &isForeground); 586 * @param isForeground - Indicates whether the specified localId is foreground. 589 static ErrCode IsOsAccountForeground(const int32_t localId, bool &isForeground); 595 * @param isForeground - Indicates whether the specified localId is foreground. 599 static ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground);
|
H A D | os_account_info.h | 149 void SetIsForeground(const bool isForeground);
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 351 ErrCode OsAccountManager::IsOsAccountForeground(bool &isForeground) in IsOsAccountForeground() argument 353 return OsAccount::GetInstance().IsOsAccountForeground(isForeground); in IsOsAccountForeground() 356 ErrCode OsAccountManager::IsOsAccountForeground(const int32_t localId, bool &isForeground) in IsOsAccountForeground() argument 358 return OsAccount::GetInstance().IsOsAccountForeground(localId, isForeground); in IsOsAccountForeground() 361 ErrCode OsAccountManager::IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) in IsOsAccountForeground() argument 363 return OsAccount::GetInstance().IsOsAccountForeground(localId, displayId, isForeground); in IsOsAccountForeground()
|
/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/ |
H A D | watchdog.h | 105 void SetForeground(const bool& isForeground);
|
/base/web/webview/ohos_adapter/camera_adapter/src/ |
H A D | camera_manager_adapter_mock.cpp | 97 void CameraManagerAdapterImpl::SetForegroundFlag(bool isForeground) {} in SetForegroundFlag() argument
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_camera_manager_adapter_impl.h | 58 void SetForegroundFlag(bool isForeground) override;
|
H A D | ark_camera_manager_adapter_impl.cpp | 145 void ArkCameraManagerAdapterImpl::SetForegroundFlag(bool isForeground) in SetForegroundFlag() argument 147 real_.SetForegroundFlag(isForeground); in SetForegroundFlag()
|
/base/powermgr/power_manager/utils/native/src/ |
H A D | power_utils.cpp | 216 bool isForeground = powerIsForegroundApplicationFunc(appName); in IsForegroundApplication() local 221 return isForeground; in IsForegroundApplication()
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_camera_manager_adapter_wrapper.cpp | 189 void ArkCameraManagerAdapterWrapper::SetForegroundFlag(bool isForeground) in SetForegroundFlag() argument 194 ctocpp_->SetForegroundFlag(isForeground); in SetForegroundFlag()
|
H A D | ark_camera_manager_adapter_wrapper.h | 58 void SetForegroundFlag(bool isForeground) override;
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 2831 * @tc.desc: Test call IsOsAccountForeground(bool &isForeground) with singleton app. 2837 bool isForeground = true; in HWTEST_F() local 2838 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(isForeground), ERR_OK); in HWTEST_F() 2840 EXPECT_EQ(isForeground, false); in HWTEST_F() 2845 * @tc.desc: Test call IsOsAccountForeground(bool &isForeground) with non singleton app. 2855 bool isForeground = true; in HWTEST_F() local 2859 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(isForeground), ERR_OK); in HWTEST_F() 2860 EXPECT_EQ(isForeground, false); in HWTEST_F() 2868 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(isForeground), ERR_OK); in HWTEST_F() 2869 EXPECT_EQ(isForeground, tru in HWTEST_F() 2892 bool isForeground = true; HWTEST_F() local 2916 bool isForeground = true; HWTEST_F() local 2945 bool isForeground = true; HWTEST_F() local 2974 bool isForeground = true; HWTEST_F() local [all...] |
/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
H A D | sec_comp_manager.cpp | 84 iter->second.isForeground = true; in AddSecurityComponentToList() 92 newProcess.isForeground = true; in AddSecurityComponentToList() 181 return (iter.second.isForeground) && (iter.second.compList.size() > 0); in IsForegroundCompExist() 200 iter->second.isForeground = true; in NotifyProcessForeground() 217 iter->second.isForeground = false; in NotifyProcessBackground() 338 newProcess.isForeground = true; in AddSecurityComponentProcess()
|
H A D | sec_comp_manager.h | 46 bool isForeground = false; member
|
/base/account/os_account/frameworks/osaccount/core/src/ |
H A D | os_account.cpp | 908 ErrCode OsAccount::IsOsAccountForeground(bool &isForeground) in IsOsAccountForeground() argument 910 return IsOsAccountForegroundCommon(-1, Constants::DEFAULT_DISPALY_ID, isForeground); in IsOsAccountForeground() 913 ErrCode OsAccount::IsOsAccountForeground(const int32_t localId, bool &isForeground) in IsOsAccountForeground() argument 919 return IsOsAccountForegroundCommon(localId, Constants::DEFAULT_DISPALY_ID, isForeground); in IsOsAccountForeground() 922 ErrCode OsAccount::IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) in IsOsAccountForeground() argument 932 return IsOsAccountForegroundCommon(localId, displayId, isForeground); in IsOsAccountForeground() 935 ErrCode OsAccount::IsOsAccountForegroundCommon(const int32_t localId, const uint64_t displayId, bool &isForeground) in IsOsAccountForegroundCommon() argument 941 return proxy->IsOsAccountForeground(localId, displayId, isForeground); in IsOsAccountForegroundCommon()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
H A D | temp_permission_observer.cpp | 430 bool isForeground = false; in CheckPermissionState() local 435 isForeground = true; in CheckPermissionState() 452 ACCESSTOKEN_LOG_INFO(LABEL, "TokenID:%{public}d, isForeground:%{public}d, isFormVisible:%{public}d," in CheckPermissionState() 454 tokenID, isForeground, isFormVisible, isContinuousTaskExist); in CheckPermissionState() 462 if (!userEnable || isForeground || isFormVisible || isContinuousTaskExist) { in CheckPermissionState() 464 list.emplace_back(isForeground); in CheckPermissionState()
|
/base/hiviewdfx/hiview/base/event_publish/include/ |
H A D | app_event_handler.h | 100 bool isForeground = false; member
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_camera_manager_adapter.h | 226 virtual void SetForegroundFlag(bool isForeground) = 0;
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
H A D | iinner_os_account.h | 102 virtual ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) = 0;
|
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | camera_manager_adapter.h | 281 virtual void SetForegroundFlag(bool isForeground) = 0;
|