/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_control_file_manager_test.cpp | 399 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 D | os_account_database_operator.cpp | 59 … std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument 61 osAccountList.clear(); in GetOsAccountListFromDatabase() 89 osAccountList.push_back(curOsInfo); in GetOsAccountListFromDatabase()
|
H A D | os_account_control_file_manager.cpp | 472 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 D | inner_os_account_manager.cpp | 954 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 D | os_account_manager_service.cpp | 919 std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument 927 return innerManager_.GetOsAccountListFromDatabase(storeID, osAccountList); in GetOsAccountListFromDatabase()
|
H A D | os_account_stub.cpp | 1498 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 D | ios_account_control.h | 31 virtual ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) = 0; 57 std::vector<OsAccountInfo> &osAccountList) = 0;
|
H A D | os_account_database_operator.h | 40 …etOsAccountListFromDatabase(const std::string &storeID, std::vector<OsAccountInfo> &osAccountList);
|
H A D | os_account_control_file_manager.h | 43 ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) override; 69 std::vector<OsAccountInfo>& osAccountList) override;
|
H A D | iinner_os_account.h | 87 std::vector<OsAccountInfo> &osAccountList) = 0;
|
H A D | os_account_manager_service.h | 112 std::vector<OsAccountInfo> &osAccountList) override;
|
H A D | iinner_os_account_manager.h | 92 std::vector<OsAccountInfo> &osAccountList) override;
|
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/ |
H A D | mock_os_account_control_file_manager.h | 37 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 D | os_account_mock_test.cpp | 585 std::vector<OsAccountInfo> osAccountList; variable 587 g_osAccount->GetOsAccountListFromDatabase(storeID, osAccountList));
|
/ohos5.0/base/account/os_account/frameworks/test/unittest/ |
H A D | account_osaccount_proxy_mock_test.cpp | 593 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 D | os_account_manager_service_module_test.cpp | 1487 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 D | os_account_manager.cpp | 300 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 D | os_account_manager.h | 504 …etOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAccountList);
|
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | ios_account.h | 94 std::vector<OsAccountInfo> &osAccountList) = 0;
|
H A D | os_account.h | 83 std::vector<OsAccountInfo> &osAccountList);
|
H A D | os_account_proxy.h | 88 std::vector<OsAccountInfo> &osAccountList) override;
|
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 2013 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 D | os_account.cpp | 813 …GetOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument 819 return proxy->GetOsAccountListFromDatabase(storeID, osAccountList); in GetOsAccountListFromDatabase()
|
H A D | os_account_proxy.cpp | 1224 std::vector<OsAccountInfo> &osAccountList) in GetOsAccountListFromDatabase() argument 1249 ReadOsAccountInfoList(reply, osAccountList); in GetOsAccountListFromDatabase()
|