/base/inputmethod/imf/services/adapter/os_account_adapter/src/ |
H A D | os_account_adapter.cpp | 23 bool OsAccountAdapter::IsOsAccountForeground(int32_t userId) in IsOsAccountForeground() function in OHOS::MiscServices::OsAccountAdapter 26 auto errCode = OsAccountManager::IsOsAccountForeground(userId, isForeground); in IsOsAccountForeground() 28 IMSA_HILOGE("IsOsAccountForeground failed, userId:%{public}d.", userId); in IsOsAccountForeground()
|
/base/account/os_account/test/fuzztest/osaccount/isosaccountforeground_fuzzer/ |
H A D | isosaccountforeground_fuzzer.cpp | 37 OsAccountManager::IsOsAccountForeground(localId, isForeground); in IsOsAccountForegroundWith2ArgsFuzzTest() 48 OsAccountManager::IsOsAccountForeground(localId, Constants::DEFAULT_DISPALY_ID, isForeground); in IsOsAccountForegroundWith3ArgsFuzzTest()
|
/base/inputmethod/imf/services/adapter/os_account_adapter/include/ |
H A D | os_account_adapter.h | 31 static bool IsOsAccountForeground(int32_t userId);
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 581 static ErrCode IsOsAccountForeground(bool &isForeground); 589 static ErrCode IsOsAccountForeground(const int32_t localId, bool &isForeground); 599 static ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, 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);
|
H A D | ios_account.h | 107 virtual ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) = 0;
|
H A D | os_account_proxy.h | 100 ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) override;
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 351 ErrCode OsAccountManager::IsOsAccountForeground(bool &isForeground) in IsOsAccountForeground() function in OHOS::AccountSA::OsAccountManager 353 return OsAccount::GetInstance().IsOsAccountForeground(isForeground); in IsOsAccountForeground() 356 ErrCode OsAccountManager::IsOsAccountForeground(const int32_t localId, bool &isForeground) in IsOsAccountForeground() function in OHOS::AccountSA::OsAccountManager 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() function in OHOS::AccountSA::OsAccountManager 363 return OsAccount::GetInstance().IsOsAccountForeground(localId, displayId, isForeground); in IsOsAccountForeground()
|
/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. 2838 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(isForeground), ERR_OK); in HWTEST_F() 2845 * @tc.desc: Test call IsOsAccountForeground(bool &isForeground) with non singleton app. 2859 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(isForeground), ERR_OK); in HWTEST_F() 2868 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(isForeground), ERR_OK); in HWTEST_F() 2876 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(isForeground), ERR_ACCOUNT_COMMON_ACCOUNT_NOT_EXIST_ERROR); in HWTEST_F() 2882 * @tc.desc: Test call IsOsAccountForeground(int32_t localId, bool &isForeground) success. 2895 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(osAccountInfo.GetLocalId(), isForeground), ERR_OK); in HWTEST_F() 2902 EXPECT_EQ(OsAccountManager::IsOsAccountForeground(osAccountInfo.GetLocalId(), isForeground), ERR_OK); in HWTEST_F() 2910 * @tc.desc: Test call IsOsAccountForeground(int32_ [all...] |
/base/account/os_account/frameworks/osaccount/core/src/ |
H A D | os_account.cpp | 908 ErrCode OsAccount::IsOsAccountForeground(bool &isForeground) in IsOsAccountForeground() function in OHOS::AccountSA::OsAccount 913 ErrCode OsAccount::IsOsAccountForeground(const int32_t localId, bool &isForeground) in IsOsAccountForeground() function in OHOS::AccountSA::OsAccount 922 ErrCode OsAccount::IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) in IsOsAccountForeground() function in OHOS::AccountSA::OsAccount 941 return proxy->IsOsAccountForeground(localId, displayId, isForeground); in IsOsAccountForegroundCommon()
|
H A D | os_account_proxy.cpp | 1599 ErrCode OsAccountProxy::IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) in IsOsAccountForeground() function in OHOS::AccountSA::OsAccountProxy 1625 ACCOUNT_LOGE("IsOsAccountForeground failed, result=%{public}d.", result); in IsOsAccountForeground()
|
/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;
|
H A D | os_account_manager_service.h | 127 ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) override;
|
H A D | iinner_os_account_manager.h | 106 ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) override;
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_manager_service.cpp | 1107 ErrCode OsAccountManagerService::IsOsAccountForeground(const int32_t localId, const uint64_t displayId, in IsOsAccountForeground() function in OHOS::AccountSA::OsAccountManagerService 1134 return innerManager_.IsOsAccountForeground(id, displayId, isForeground); in IsOsAccountForeground()
|
H A D | os_account_stub.cpp | 1688 ErrCode result = IsOsAccountForeground(localId, displayId, isForeground); in ProcIsOsAccountForeground()
|
H A D | inner_os_account_manager.cpp | 2045 ErrCode IInnerOsAccountManager::IsOsAccountForeground(const int32_t localId, const uint64_t displayId, in RetryToGetAccount() function in OHOS::AccountSA::IInnerOsAccountManager
|
/base/inputmethod/imf/services/src/ |
H A D | peruser_session.cpp | 279 if (!OsAccountAdapter::IsOsAccountForeground(userId_)) { in OnImeDied()
|
/base/account/os_account/services/accountmgr/src/domain_account/ |
H A D | inner_domain_account_manager.cpp | 79 IInnerOsAccountManager::GetInstance().IsOsAccountForeground(accountId, 0, isForeground);
in IsSupportNetRequest()
|