Home
last modified time | relevance | path

Searched refs:isForeground (Results 1 - 25 of 38) sorted by relevance

12

/base/account/os_account/test/fuzztest/osaccount/isosaccountforeground_fuzzer/
H A Disosaccountforeground_fuzzer.cpp31 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 Dos_account_adapter.cpp25 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 Dwatchdog.cpp66 void Watchdog::SetForeground(const bool& isForeground) in SetForeground() argument
68 return WatchdogInner::GetInstance().SetForeground(isForeground); in SetForeground()
H A Dwatchdog_inner.h89 void SetForeground(const bool& isForeground);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h96 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 Dios_account.h107 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 Dos_account_manager.h578 * @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 Dos_account_info.h149 void SetIsForeground(const bool isForeground);
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp351 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 Dwatchdog.h105 void SetForeground(const bool& isForeground);
/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dcamera_manager_adapter_mock.cpp97 void CameraManagerAdapterImpl::SetForegroundFlag(bool isForeground) {} in SetForegroundFlag() argument
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_camera_manager_adapter_impl.h58 void SetForegroundFlag(bool isForeground) override;
H A Dark_camera_manager_adapter_impl.cpp145 void ArkCameraManagerAdapterImpl::SetForegroundFlag(bool isForeground) in SetForegroundFlag() argument
147 real_.SetForegroundFlag(isForeground); in SetForegroundFlag()
/base/powermgr/power_manager/utils/native/src/
H A Dpower_utils.cpp216 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 Dark_camera_manager_adapter_wrapper.cpp189 void ArkCameraManagerAdapterWrapper::SetForegroundFlag(bool isForeground) in SetForegroundFlag() argument
194 ctocpp_->SetForegroundFlag(isForeground); in SetForegroundFlag()
H A Dark_camera_manager_adapter_wrapper.h58 void SetForegroundFlag(bool isForeground) override;
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp2831 * @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 Dsec_comp_manager.cpp84 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 Dsec_comp_manager.h46 bool isForeground = false; member
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp908 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 Dtemp_permission_observer.cpp430 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 Dapp_event_handler.h100 bool isForeground = false; member
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_camera_manager_adapter.h226 virtual void SetForegroundFlag(bool isForeground) = 0;
/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h102 virtual ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) = 0;
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dcamera_manager_adapter.h281 virtual void SetForegroundFlag(bool isForeground) = 0;

Completed in 17 milliseconds

12