/base/inputmethod/imf/services/adapter/os_account_adapter/src/ |
H A D | os_account_adapter.cpp | 43 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 D | account.cpp | 64 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 D | os_account_adapter.h | 29 static int32_t GetForegroundOsAccountLocalId();
|
/base/account/os_account/test/fuzztest/osaccount/getforegroundosaccountlocalid_fuzzer/ |
H A D | getforegroundosaccountlocalid_fuzzer.cpp | 35 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 D | mock_os_account_manager_annex.cpp | 76 ErrCode OsAccountManager::GetForegroundOsAccountLocalId(int32_t &id)
in GetForegroundOsAccountLocalId() function in OHOS::AccountSA::OsAccountManager
|
/base/request/request/services/include/ |
H A D | account.h | 57 return OsAccountManager::GetForegroundOsAccountLocalId(account); in GetForegroundOsAccount()
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 606 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 D | os_account.h | 99 ErrCode GetForegroundOsAccountLocalId(int32_t &localId); 100 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId);
|
H A D | ios_account.h | 108 virtual ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) = 0;
|
H A D | os_account_proxy.h | 101 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) override;
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 366 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 D | os_account_manager_helper.cpp | 60 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 D | account_adapt.cpp | 59 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 D | iinner_os_account.h | 103 virtual ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) = 0;
|
H A D | os_account_manager_service.h | 128 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) override;
|
H A D | iinner_os_account_manager.h | 107 ErrCode GetForegroundOsAccountLocalId(const uint64_t displayId, int32_t &localId) override;
|
/base/account/os_account/frameworks/osaccount/core/src/ |
H A D | os_account.cpp | 944 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 D | multi_users.cpp | 97 int errCode = OHOS::AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(id); in GetForegroundLocalId()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
H A D | dlp_file_kits.cpp | 204 int32_t ret = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(userId); in ConvertAbilityInfoWithBundleName()
|
H A D | dlp_file_manager.cpp | 487 int32_t ret = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(userId); in SupportDlpWithAppId()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 2999 * @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 D | tdd_util.cpp | 98 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 D | napi_os_account.h | 279 napi_value GetForegroundOsAccountLocalId(napi_env env, napi_callback_info cbInfo);
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_manager_service.cpp | 1137 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 D | dlp_permission_client.cpp | 163 int32_t res = OHOS::AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(userId); in CheckAllowAbilityList() 165 DLP_LOG_ERROR(LABEL, "GetForegroundOsAccountLocalId failed %{public}d", res); in CheckAllowAbilityList()
|