Home
last modified time | relevance | path

Searched refs:IsOsAccountForeground (Results 1 - 19 of 19) sorted by relevance

/base/inputmethod/imf/services/adapter/os_account_adapter/src/
H A Dos_account_adapter.cpp23 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 Disosaccountforeground_fuzzer.cpp37 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 Dos_account_adapter.h31 static bool IsOsAccountForeground(int32_t userId);
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h581 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 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);
H A Dios_account.h107 virtual ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) = 0;
H A Dos_account_proxy.h100 ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp351 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 Dos_account_manager_module_test.cpp2831 * @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 Dos_account.cpp908 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 Dos_account_proxy.cpp1599 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 Diinner_os_account.h102 virtual ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) = 0;
H A Dos_account_manager_service.h127 ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) override;
H A Diinner_os_account_manager.h106 ErrCode IsOsAccountForeground(const int32_t localId, const uint64_t displayId, bool &isForeground) override;
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp1107 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 Dos_account_stub.cpp1688 ErrCode result = IsOsAccountForeground(localId, displayId, isForeground); in ProcIsOsAccountForeground()
H A Dinner_os_account_manager.cpp2045 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 Dperuser_session.cpp279 if (!OsAccountAdapter::IsOsAccountForeground(userId_)) { in OnImeDied()
/base/account/os_account/services/accountmgr/src/domain_account/
H A Dinner_domain_account_manager.cpp79 IInnerOsAccountManager::GetInstance().IsOsAccountForeground(accountId, 0, isForeground); in IsSupportNetRequest()

Completed in 28 milliseconds