Home
last modified time | relevance | path

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

/base/account/os_account/test/fuzztest/osaccount/getosaccountfromdatabase_fuzzer/
H A Dgetosaccountfromdatabase_fuzzer.cpp38 result = OsAccountManager::GetOsAccountFromDatabase(stroeID, LOCAL_ID, osAccountInfoOne); in GetOsAccountFromDatabaseFuzzTest()
/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_database_operator.h39 ErrCode GetOsAccountFromDatabase(const std::string &storeID, const int id, OsAccountInfo &osAccountInfo);
H A Dios_account_control.h54 virtual ErrCode GetOsAccountFromDatabase(const std::string& storeID,
H A Diinner_os_account.h84 virtual ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
H A Dos_account_manager_service.h108 ErrCode GetOsAccountFromDatabase(const std::string& storeID,
H A Dos_account_control_file_manager.h66 ErrCode GetOsAccountFromDatabase(const std::string& storeID,
H A Diinner_os_account_manager.h89 ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/
H A Dmock_os_account_control_file_manager.h72 ErrCode GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::MockOsAccountControlFileManager
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h488 static ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id, OsAccountInfo &osAccountInfo);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h79 ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
H A Dios_account.h90 virtual ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
H A Dos_account_proxy.h84 ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp287 ErrCode OsAccountManager::GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::OsAccountManager
291 return OsAccount::GetInstance().GetOsAccountFromDatabase(storeID, id, osAccountInfo); in GetOsAccountFromDatabase()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_database_operator.cpp147 ErrCode OsAccountDatabaseOperator::GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::OsAccountDatabaseOperator
H A Dos_account_control_file_manager.cpp136 if (GetOsAccountFromDatabase(OS_ACCOUNT_STORE_ID, id, osAccountInfo) != ERR_OK) { in RecoverAccountData()
536 if (GetOsAccountFromDatabase("", id, osAccountInfo) == ERR_OK) { in GetOsAccountInfoById()
550 if (GetOsAccountFromDatabase("", id, osAccountInfo) != ERR_OK) { in GetOsAccountInfoById()
551 ACCOUNT_LOGE("GetOsAccountFromDatabase failed id=%{public}d", id); in GetOsAccountInfoById()
1645 ErrCode OsAccountControlFileManager::GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::OsAccountControlFileManager
1649 return osAccountDataBaseOperator_->GetOsAccountFromDatabase(storeID, id, osAccountInfo); in GetOsAccountFromDatabase()
H A Dos_account_manager_service.cpp884 ErrCode OsAccountManagerService::GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::OsAccountManagerService
893 return innerManager_.GetOsAccountFromDatabase(storeID, id, osAccountInfo); in GetOsAccountFromDatabase()
H A Dinner_os_account_manager.cpp2135 ErrCode IInnerOsAccountManager::GetOsAccountFromDatabase(const std::string& storeID, const int id, in RetryToGetAccount() function in OHOS::AccountSA::IInnerOsAccountManager
2138 return osAccountControl_->GetOsAccountFromDatabase(storeID, id, osAccountInfo); in RetryToGetAccount()
H A Dos_account_stub.cpp1460 ErrCode result = GetOsAccountFromDatabase(storeID, id, osAccountInfo); in ProcGetOsAccountFromDatabase()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp795 ErrCode OsAccount::GetOsAccountFromDatabase(const std::string& storeID, const int id, OsAccountInfo &osAccountInfo) in GetOsAccountFromDatabase() function in OHOS::AccountSA::OsAccount
805 return proxy->GetOsAccountFromDatabase(storeID, id, osAccountInfo); in GetOsAccountFromDatabase()
H A Dos_account_proxy.cpp1169 ErrCode OsAccountProxy::GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::OsAccountProxy
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp581 ErrCode errCode = OsAccountManager::GetOsAccountFromDatabase("", MAIN_ACCOUNT_ID, osAccountInfo); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp566 * @tc.desc: Test GetOsAccountFromDatabase getosaccountproxy faild
574 g_osAccount->GetOsAccountFromDatabase(storeID, MAIN_ACCOUNT_ID, osAccountInfo)); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp1449 * @tc.desc: Test GetOsAccountFromDatabase with invalid local id.
1457 EXPECT_NE(osAccountManagerService_->GetOsAccountFromDatabase( in HWTEST_F()
1463 * @tc.desc: Test GetOsAccountFromDatabase with invalid store id.
1470 EXPECT_NE(osAccountManagerService_->GetOsAccountFromDatabase(STORE_ID, MAIN_ACCOUNT_ID, osAccountInfo), ERR_OK); in HWTEST_F()
1475 * @tc.desc: Test GetOsAccountFromDatabase normal case.
1482 EXPECT_EQ(osAccountManagerService_->GetOsAccountFromDatabase( in HWTEST_F()
1974 * @tc.desc: Test GetOsAccountFromDatabase PermissionCheck failed.
1983 osAccountManagerService_->GetOsAccountFromDatabase(STORE_ID, MAIN_ACCOUNT_ID, osAccountInfo)); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp412 ret = g_controlManager->GetOsAccountFromDatabase(storeID_, curID, curOsAccountInfo); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp1430 ret = OsAccountManager::GetOsAccountFromDatabase("", osAccountInfoOne.GetLocalId(), osAccountInfo); in HWTEST_F()
1454 ret = OsAccountManager::GetOsAccountFromDatabase(storeID, osAccountInfoOne.GetLocalId(), osAccountInfo); in HWTEST_F()
1463 ret = OsAccountManager::GetOsAccountFromDatabase(storeID, osAccountInfoOne.GetLocalId(), osAccountInfoAfterRm); in HWTEST_F()
2120 * @tc.desc: test GetOsAccountFromDatabase normal branch.
2128 EXPECT_NE(ERR_OK, OsAccountManager::GetOsAccountFromDatabase("", MAIN_ACCOUNT_ID, osAccountInfo)); in HWTEST_F()
2130 EXPECT_EQ(ERR_OK, OsAccountManager::GetOsAccountFromDatabase("", MAIN_ACCOUNT_ID, osAccountInfo)); in HWTEST_F()

Completed in 30 milliseconds