Home
last modified time | relevance | path

Searched refs:GetForegroundOsAccountLocalId (Results 1 - 25 of 37) sorted by relevance

12

/base/inputmethod/imf/services/adapter/os_account_adapter/src/
H A Dos_account_adapter.cpp43 int32_t OsAccountAdapter::GetForegroundOsAccountLocalId() in GetForegroundOsAccountLocalId() function in OHOS::MiscServices::OsAccountAdapter
47 [&userId]() -> bool { return OsAccountManager::GetForegroundOsAccountLocalId(userId) == ERR_OK; })) { in GetForegroundOsAccountLocalId()
/base/request/request/services/src/cxx/
H A Daccount.cpp64 int GetForegroundOsAccountLocalId(int &id) in GetForegroundOsAccountLocalId() function
66 return OsAccountManager::GetForegroundOsAccountLocalId(id); in GetForegroundOsAccountLocalId()
/base/inputmethod/imf/services/adapter/os_account_adapter/include/
H A Dos_account_adapter.h29 static int32_t GetForegroundOsAccountLocalId();
/base/account/os_account/test/fuzztest/osaccount/getforegroundosaccountlocalid_fuzzer/
H A Dgetforegroundosaccountlocalid_fuzzer.cpp35 OsAccountManager::GetForegroundOsAccountLocalId(FuzzData(data, size).GetData<uint64_t>(), localId); in GetForegroundOsAccountLocalIdFuzzTest()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_dialog_test/
H A Dmock_os_account_manager_annex.cpp76 ErrCode OsAccountManager::GetForegroundOsAccountLocalId(int32_t &id) in GetForegroundOsAccountLocalId() function in OHOS::AccountSA::OsAccountManager
/base/request/request/services/include/
H A Daccount.h57 return OsAccountManager::GetForegroundOsAccountLocalId(account); in GetForegroundOsAccount()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h606 static ErrCode GetForegroundOsAccountLocalId(int32_t &localId);
614 static ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h99 ErrCode GetForegroundOsAccountLocalId(int32_t &localId);
100 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId);
H A Dios_account.h108 virtual ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) = 0;
H A Dos_account_proxy.h101 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp366 ErrCode OsAccountManager::GetForegroundOsAccountLocalId(int32_t &localId) in GetForegroundOsAccountLocalId() function in OHOS::AccountSA::OsAccountManager
368 return OsAccount::GetInstance().GetForegroundOsAccountLocalId(localId); in GetForegroundOsAccountLocalId()
371 ErrCode OsAccountManager::GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) in GetForegroundOsAccountLocalId() function in OHOS::AccountSA::OsAccountManager
373 return OsAccount::GetInstance().GetForegroundOsAccountLocalId(displayId, localId); in GetForegroundOsAccountLocalId()
/base/notification/distributed_notification_service/services/ans/src/
H A Dos_account_manager_helper.cpp60 int32_t ret = OHOS::AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(id); in GetCurrentActiveUserId()
65 ANS_LOGE("Failed to call OsAccountManager::GetForegroundOsAccountLocalId, code is %{public}d", ret); in GetCurrentActiveUserId()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Daccount_adapt.cpp59 int32_t res = OHOS::AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(*userId); in GetUserIdByForegroundAccount()
61 DLP_LOG_ERROR(LABEL, "GetForegroundOsAccountLocalId failed %{public}d", res); in GetUserIdByForegroundAccount()
/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h103 virtual ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) = 0;
H A Dos_account_manager_service.h128 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) override;
H A Diinner_os_account_manager.h107 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) override;
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp944 ErrCode OsAccount::GetForegroundOsAccountLocalId(int32_t &localId) in GetForegroundOsAccountLocalId() function in OHOS::AccountSA::OsAccount
949 ErrCode OsAccount::GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) in GetForegroundOsAccountLocalId() function in OHOS::AccountSA::OsAccount
964 return proxy->GetForegroundOsAccountLocalId(displayId, localId); in GetForegroundLocalIdCommon()
/base/global/i18n/frameworks/intl/src/
H A Dmulti_users.cpp97 int errCode = OHOS::AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(id); in GetForegroundLocalId()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_file_kits.cpp204 int32_t ret = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(userId); in ConvertAbilityInfoWithBundleName()
H A Ddlp_file_manager.cpp487 int32_t ret = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(userId); in SupportDlpWithAppId()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp2999 * @tc.desc: Test GetForegroundOsAccountLocalId(int32_t &localId) in main displayId success.
3014 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(localId), ERR_OK); in HWTEST_F()
3019 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(localId), ERR_OK); in HWTEST_F()
3024 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(localId), ERR_OK); in HWTEST_F()
3032 * @tc.desc: Test GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) success.
3047 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(Constants::DEFAULT_DISPALY_ID, localId), ERR_OK); in HWTEST_F()
3052 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(Constants::DEFAULT_DISPALY_ID, localId), ERR_OK); in HWTEST_F()
3058 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(Constants::DEFAULT_DISPALY_ID, localId), ERR_OK); in HWTEST_F()
3064 * @tc.desc: Test call GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) failed with invalid
3074 EXPECT_EQ(OsAccountManager::GetForegroundOsAccountLocalId(10000 in HWTEST_F()
[all...]
/base/inputmethod/imf/test/unittest/cpp_test/common/src/
H A Dtdd_util.cpp98 auto ret = OsAccountManager::GetForegroundOsAccountLocalId(userId); in GetCurrentUserId()
100 IMSA_HILOGE("GetForegroundOsAccountLocalId failed"); in GetCurrentUserId()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h279 napi_value GetForegroundOsAccountLocalId(napi_env env, napi_callback_info cbInfo);
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp1137 ErrCode OsAccountManagerService::GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) in GetForegroundOsAccountLocalId() function in OHOS::AccountSA::OsAccountManagerService
1143 return innerManager_.GetForegroundOsAccountLocalId(displayId, localId); in GetForegroundOsAccountLocalId()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
H A Ddlp_permission_client.cpp163 int32_t res = OHOS::AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(userId); in CheckAllowAbilityList()
165 DLP_LOG_ERROR(LABEL, "GetForegroundOsAccountLocalId failed %{public}d", res); in CheckAllowAbilityList()

Completed in 20 milliseconds

12