Home
last modified time | relevance | path

Searched refs:QueryOsAccountById (Results 1 - 25 of 35) sorted by relevance

12

/base/account/os_account/services/accountmgr/test/unittest/domain_account/mock/
H A Dmock_inner_os_account_manager.h26 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo);
H A Dmock_inner_os_account_manager.cpp33 ErrCode IInnerOsAccountManager::QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) in QueryOsAccountById() function in OHOS::AccountSA::IInnerOsAccountManager
35 ACCOUNT_LOGI("mock IInnerOsAccountManager QueryOsAccountById enter"); in QueryOsAccountById()
/base/account/os_account/services/accountmgr/src/
H A Daccount_info_report.cpp54 (void)IInnerOsAccountManager::GetInstance().QueryOsAccountById(id, osAccountInfo); in ReportSecurityInfo()
/base/account/os_account/test/fuzztest/osaccount/queryaccountinfo_fuzzer/
H A Dqueryaccountinfo_fuzzer.cpp59 result = OsAccountManager::QueryOsAccountById(testId, osAccountInfo); in QueryOsAccountByIdFuzzTest()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Daccount_adapt.cpp140 if (OHOS::AccountSA::OsAccountManager::QueryOsAccountById(userId, osAccountInfo) != 0) { in GetDomainAccountName()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp350 EXPECT_EQ(OsAccountManager::QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), ERR_OK); in HWTEST_F()
396 EXPECT_EQ(OsAccountManager::QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), ERR_OK); in HWTEST_F()
417 EXPECT_EQ(OsAccountManager::QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), ERR_OK); in HWTEST_F()
568 EXPECT_EQ(OsAccountManager::QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), ERR_OK); in HWTEST_F()
589 EXPECT_EQ(OsAccountManager::QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), ERR_OK); in HWTEST_F()
829 * @tc.desc: Test QueryOsAccountById with valid data.
836 EXPECT_EQ(OsAccountManager::QueryOsAccountById(Constants::START_USER_ID, osAccountInfo), ERR_OK); in HWTEST_F()
842 * @tc.desc: Test QueryOsAccountById with invalid data.
849 EXPECT_NE(OsAccountManager::QueryOsAccountById(Constants::MAX_USER_ID + 1, osAccountInfo), ERR_OK); in HWTEST_F()
877 EXPECT_EQ(OsAccountManager::QueryOsAccountById(osAccountInfoOn in HWTEST_F()
[all...]
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp176 errCode = osAccountManagerService_->QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo); in HWTEST_F()
404 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), in HWTEST_F()
427 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), in HWTEST_F()
634 * @tc.desc: Test QueryOsAccountById with valid data.
645 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfo), ERR_OK); in HWTEST_F()
652 * @tc.desc: Test QueryOsAccountById with invalid data.
659 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(Constants::MAX_USER_ID + 1, osAccountInfo), in HWTEST_F()
689 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), in HWTEST_F()
983 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(osAccountInfoOne.GetLocalId(), osAccountInfoTwo), ERR_OK); in HWTEST_F()
1086 EXPECT_EQ(osAccountManagerService_->QueryOsAccountById(osAccountInf in HWTEST_F()
[all...]
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h260 static ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h51 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo);
H A Dios_account.h61 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0;
H A Dos_account_proxy.h55 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override;
/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h51 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0;
H A Dos_account_manager_service.h68 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override;
H A Diinner_os_account_manager.h56 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp161 ErrCode OsAccountManager::QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) in QueryOsAccountById() function in OHOS::AccountSA::OsAccountManager
163 return OsAccount::GetInstance().QueryOsAccountById(id, osAccountInfo); in QueryOsAccountById()
/base/account/os_account/services/accountmgr/src/account_iam/
H A Dinner_account_iam_manager.cpp328 (IInnerOsAccountManager::GetInstance().QueryOsAccountById(authParam.userId, osAccountInfo)) != ERR_OK) { in AuthUser()
375 ErrCode result = IInnerOsAccountManager::GetInstance().QueryOsAccountById(userId, osAccountInfo); in GetDomainAuthStatusInfo()
398 if (IInnerOsAccountManager::GetInstance().QueryOsAccountById(userId, osAccountInfo) != ERR_OK) { in CheckDomainAuthAvailable()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp448 return innerManager_.QueryOsAccountById(id, osAccountInfo); in QueryCurrentOsAccount()
451 ErrCode OsAccountManagerService::QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) in QueryOsAccountById() function in OHOS::AccountSA::OsAccountManagerService
465 return innerManager_.QueryOsAccountById(id, osAccountInfo); in QueryOsAccountById()
836 result = innerManager_.QueryOsAccountById(id, osAccountInfo); in DumpState()
/base/account/os_account/frameworks/osaccount/native/test/unittest/
H A Dos_account_info_test.cpp492 EXPECT_EQ(ERR_OK, OsAccountManager::QueryOsAccountById(TEST_UID, osAccountInfo)); in HWTEST_F()
667 OsAccountManager::QueryOsAccountById(100, osAccountInfoBak); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A Dos_account_manager_benchmark_test.cpp306 * @tc.desc: QueryOsAccountById
317 EXPECT_EQ(OsAccountManager::QueryOsAccountById(LOCAL_ID, osAccountInfo), ERR_OK); in BENCHMARK_F()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_cov.cpp302 errCode = innerMgrService_->QueryOsAccountById(osAccountInfo.GetLocalId(), osAccountInfoQuery); in HWTEST_F()
H A Dos_account_inner_account_mgr_mock.cpp551 EXPECT_EQ(ERR_OK, innerMgrService_->QueryOsAccountById(id, accountInfo)); in HWTEST_F()
614 EXPECT_EQ(ERR_OK, innerMgrService_->QueryOsAccountById(id, accountInfo)); in HWTEST_F()
1232 ErrCode ret = innerMgrService_->QueryOsAccountById(id, osAccountInfo); in HWTEST_F()
1243 ret = innerMgrService_->QueryOsAccountById(id, osAccountInfo); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp360 ErrCode OsAccount::QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) in QueryOsAccountById() function in OHOS::AccountSA::OsAccount
371 return proxy->QueryOsAccountById(id, osAccountInfo); in QueryOsAccountById()
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp300 ErrCode errCode = OsAccountManager::QueryOsAccountById(TEST_USER_ID, osAccountInfo); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp284 * @tc.desc: Test QueryOsAccountById getosaccountproxy faild
292 g_osAccount->QueryOsAccountById(MAIN_ACCOUNT_ID, osAccountInfo)); in HWTEST_F()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h235 napi_value QueryOsAccountById(napi_env env, napi_callback_info cbInfo);

Completed in 24 milliseconds

12