/base/account/os_account/test/fuzztest/osaccount/getosaccountfromdatabase_fuzzer/ |
H A D | getosaccountfromdatabase_fuzzer.cpp | 38 result = OsAccountManager::GetOsAccountFromDatabase(stroeID, LOCAL_ID, osAccountInfoOne); in GetOsAccountFromDatabaseFuzzTest()
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
H A D | os_account_database_operator.h | 39 ErrCode GetOsAccountFromDatabase(const std::string &storeID, const int id, OsAccountInfo &osAccountInfo);
|
H A D | ios_account_control.h | 54 virtual ErrCode GetOsAccountFromDatabase(const std::string& storeID,
|
H A D | iinner_os_account.h | 84 virtual ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
|
H A D | os_account_manager_service.h | 108 ErrCode GetOsAccountFromDatabase(const std::string& storeID,
|
H A D | os_account_control_file_manager.h | 66 ErrCode GetOsAccountFromDatabase(const std::string& storeID,
|
H A D | iinner_os_account_manager.h | 89 ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/ |
H A D | mock_os_account_control_file_manager.h | 72 ErrCode GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::MockOsAccountControlFileManager
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 488 static ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id, OsAccountInfo &osAccountInfo);
|
/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | os_account.h | 79 ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
|
H A D | ios_account.h | 90 virtual ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
|
H A D | os_account_proxy.h | 84 ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id,
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 287 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 D | os_account_database_operator.cpp | 147 ErrCode OsAccountDatabaseOperator::GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::OsAccountDatabaseOperator
|
H A D | os_account_control_file_manager.cpp | 136 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 D | os_account_manager_service.cpp | 884 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 D | inner_os_account_manager.cpp | 2135 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 D | os_account_stub.cpp | 1460 ErrCode result = GetOsAccountFromDatabase(storeID, id, osAccountInfo); in ProcGetOsAccountFromDatabase()
|
/base/account/os_account/frameworks/osaccount/core/src/ |
H A D | os_account.cpp | 795 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 D | os_account_proxy.cpp | 1169 ErrCode OsAccountProxy::GetOsAccountFromDatabase(const std::string& storeID, in GetOsAccountFromDatabase() function in OHOS::AccountSA::OsAccountProxy
|
/base/account/os_account/frameworks/test/unittest/ |
H A D | account_osaccount_proxy_mock_test.cpp | 581 ErrCode errCode = OsAccountManager::GetOsAccountFromDatabase("", MAIN_ACCOUNT_ID, osAccountInfo); in HWTEST_F()
|
/base/account/os_account/frameworks/osaccount/core/test/unittest/ |
H A D | os_account_mock_test.cpp | 566 * @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 D | os_account_manager_service_module_test.cpp | 1449 * @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 D | os_account_control_file_manager_test.cpp | 412 ret = g_controlManager->GetOsAccountFromDatabase(storeID_, curID, curOsAccountInfo); in HWTEST_F()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 1430 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()
|