Home
last modified time | relevance | path

Searched refs:osAccountList (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp399 std::vector<OsAccountInfo> osAccountList; variable
400 ret = g_controlManager->GetOsAccountListFromDatabase(storeID_, osAccountList);
403 for (uint32_t i = 0; i < osAccountList.size(); ++i) {
404 int curID = osAccountList[i].GetLocalId();
453 std::vector<OsAccountInfo> osAccountList; variable
454 ret = g_controlManager->GetOsAccountListFromDatabase(storeID_, osAccountList);
460 EXPECT_EQ(osAccountListByDefault.size(), osAccountList.size());
462 if (osAccountListByDefault.size() == osAccountList.size()) {
463 for (size_t i = 0; i < osAccountList.size(); ++i) {
464 EXPECT_EQ(osAccountList[i].GetLocalId(), osAccountListByDefault[i].GetLocalId());
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_database_operator.cpp59 … std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument
61 osAccountList.clear(); in GetOsAccountListFromDatabase()
89 osAccountList.push_back(curOsInfo); in GetOsAccountListFromDatabase()
H A Dos_account_control_file_manager.cpp472 ErrCode OsAccountControlFileManager::GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) in GetOsAccountList() argument
474 osAccountList.clear(); in GetOsAccountList()
507 osAccountList.push_back(osAccountInfo); in GetOsAccountList()
1682 std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument
1685 return osAccountDataBaseOperator_->GetOsAccountListFromDatabase(storeID, osAccountList); in GetOsAccountListFromDatabase()
H A Dinner_os_account_manager.cpp954 std::vector<OsAccountInfo> osAccountList; in RetryToGetAccount() local
955 ErrCode result = QueryAllCreatedOsAccounts(osAccountList); in RetryToGetAccount()
961 typeNumber = std::count_if(osAccountList.begin(), osAccountList.end(), in RetryToGetAccount()
2177 std::vector<OsAccountInfo> &osAccountList) in RetryToGetAccount() argument
2179 return osAccountControl_->GetOsAccountListFromDatabase(storeID, osAccountList); in RetryToGetAccount()
H A Dos_account_manager_service.cpp919 std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument
927 return innerManager_.GetOsAccountListFromDatabase(storeID, osAccountList); in GetOsAccountListFromDatabase()
H A Dos_account_stub.cpp1498 std::vector<OsAccountInfo> osAccountList; in ProcGetOsAccountListFromDatabase() local
1499 ErrCode result = GetOsAccountListFromDatabase(storeID, osAccountList); in ProcGetOsAccountListFromDatabase()
1504 if (!WriteOsAccountInfoList(osAccountList, reply)) { in ProcGetOsAccountListFromDatabase()
/ohos5.0/base/account/os_account/services/accountmgr/include/osaccount/
H A Dios_account_control.h31 virtual ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) = 0;
57 std::vector<OsAccountInfo> &osAccountList) = 0;
H A Dos_account_database_operator.h40 …etOsAccountListFromDatabase(const std::string &storeID, std::vector<OsAccountInfo> &osAccountList);
H A Dos_account_control_file_manager.h43 ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) override;
69 std::vector<OsAccountInfo>& osAccountList) override;
H A Diinner_os_account.h87 std::vector<OsAccountInfo> &osAccountList) = 0;
H A Dos_account_manager_service.h112 std::vector<OsAccountInfo> &osAccountList) override;
H A Diinner_os_account_manager.h92 std::vector<OsAccountInfo> &osAccountList) override;
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/
H A Dmock_os_account_control_file_manager.h37 MOCK_METHOD1(GetOsAccountList, ErrCode(std::vector<OsAccountInfo> &osAccountList));
76 std::vector<OsAccountInfo> &osAccountList) { return ERR_OK; } in GetOsAccountListFromDatabase() argument
/ohos5.0/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp585 std::vector<OsAccountInfo> osAccountList; variable
587 g_osAccount->GetOsAccountListFromDatabase(storeID, osAccountList));
/ohos5.0/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp593 std::vector<OsAccountInfo> osAccountList; variable
594 ErrCode errCode = OsAccountManager::GetOsAccountListFromDatabase("", osAccountList);
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp1487 std::vector<OsAccountInfo> osAccountList; variable
1488 …EXPECT_EQ(osAccountManagerService_->GetOsAccountListFromDatabase(EMPTY_STORE_ID, osAccountList), E…
1489 EXPECT_NE(osAccountList.size(), 0);
1500 std::vector<OsAccountInfo> osAccountList; variable
1501 …EXPECT_EQ(osAccountManagerService_->GetOsAccountListFromDatabase(STORE_ID, osAccountList), ERR_OK);
1502 EXPECT_EQ(osAccountList.size(), 0);
1987 std::vector<OsAccountInfo> osAccountList; variable
1989 osAccountManagerService_->GetOsAccountListFromDatabase(STORE_ID, osAccountList));
/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp300 std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument
302 return OsAccount::GetInstance().GetOsAccountListFromDatabase(storeID, osAccountList); in GetOsAccountListFromDatabase()
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h504 …etOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAccountList);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/
H A Dios_account.h94 std::vector<OsAccountInfo> &osAccountList) = 0;
H A Dos_account.h83 std::vector<OsAccountInfo> &osAccountList);
H A Dos_account_proxy.h88 std::vector<OsAccountInfo> &osAccountList) override;
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp2013 std::vector<OsAccountInfo> osAccountList; variable
2015 EXPECT_NE(OsAccountManager::GetOsAccountListFromDatabase("", osAccountList), ERR_OK);
2017 EXPECT_EQ(OsAccountManager::GetOsAccountListFromDatabase("", osAccountList), ERR_OK);
2018 EXPECT_NE(osAccountList.size(), 0);
2030 std::vector<OsAccountInfo> osAccountList; variable
2032 …EXPECT_NE(OsAccountManager::GetOsAccountListFromDatabase("ERROR_STORE_ID", osAccountList), ERR_OK);
2034 …EXPECT_EQ(OsAccountManager::GetOsAccountListFromDatabase("ERROR_STORE_ID", osAccountList), ERR_OK);
2035 EXPECT_EQ(osAccountList.size(), 0);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp813 …GetOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument
819 return proxy->GetOsAccountListFromDatabase(storeID, osAccountList); in GetOsAccountListFromDatabase()
H A Dos_account_proxy.cpp1224 std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument
1249 ReadOsAccountInfoList(reply, osAccountList); in GetOsAccountListFromDatabase()