/base/account/os_account/test/fuzztest/appaccount/getallaccessibleaccounts_fuzzer/ |
D | getallaccessibleaccounts_fuzzer.cpp | 35 std::vector<AppAccountInfo> appAccounts; in GetAllAccessibleAccountsFuzzTest() local 38 appAccounts.emplace_back(appAccount); in GetAllAccessibleAccountsFuzzTest() 39 result = AppAccountManager::GetAllAccessibleAccounts(appAccounts); in GetAllAccessibleAccountsFuzzTest()
|
/base/account/os_account/test/fuzztest/appaccount/getallaccounts_fuzzer/ |
D | getallaccounts_fuzzer.cpp | 35 std::vector<AppAccountInfo> appAccounts; in GetAllAccountsFuzzTest() local 38 appAccounts.emplace_back(appAccount); in GetAllAccountsFuzzTest() 39 result = AppAccountManager::GetAllAccounts(testOwner, appAccounts); in GetAllAccountsFuzzTest()
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_manager_service_module_test.cpp | 952 std::vector<AppAccountInfo> appAccounts; variable 953 result = g_accountManagerService->GetAllAccessibleAccounts(appAccounts); 955 ASSERT_EQ(appAccounts.size(), SIZE_ONE); 957 appAccounts[0].GetOwner(owner); 982 std::vector<AppAccountInfo> appAccounts; variable 983 result = g_accountManagerService->GetAllAccessibleAccounts(appAccounts); 985 ASSERT_EQ(appAccounts.size(), SIZE_ONE); 987 appAccounts[0].GetOwner(owner); 1011 std::vector<AppAccountInfo> appAccounts; variable 1012 result = g_accountManagerService->GetAllAccessibleAccounts(appAccounts); [all …]
|
D | app_account_manager_service_thread_module_test.cpp | 140 std::vector<AppAccountInfo> appAccounts; variable 141 ErrCode result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts); 143 ASSERT_EQ(appAccounts.size(), SIZE_ONE); 152 result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts); 154 ASSERT_EQ(appAccounts.size(), SIZE_ZERO); 226 std::vector<AppAccountInfo> appAccounts; variable 227 result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts); 229 ASSERT_EQ(appAccounts.size(), SIZE_ZERO);
|
D | at_not_mock_app_account_manager_service_module_test.cpp | 103 std::vector<AppAccountInfo> appAccounts; variable 104 int result = g_accountManagerService->GetAllAccounts(owner, appAccounts);
|
D | app_account_control_manager_module_test.cpp | 163 std::vector<AppAccountInfo> appAccounts; variable 165 appAccounts, BUNDLE_NAME, dataStoragePtr, 0); 205 std::vector<AppAccountInfo> appAccounts; variable 209 STRING_OWNER, appAccounts, BUNDLE_NAME, dataStoragePtr);
|
D | app_account_subscribe_manager_test.cpp | 203 std::vector<AppAccountInfo> appAccounts; variable 205 GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts);
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_subscribe_manager.cpp | 296 std::vector<AppAccountInfo> appAccounts; in OnAccountsChanged() local 297 … GetAccessibleAccountsBySubscribeInfo(receiver->subscribeInfoPtr, accessibleAccounts, appAccounts); in OnAccountsChanged() 309 appAccountEventProxy->OnAccountsChanged(appAccounts); in OnAccountsChanged() 317 const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts) in GetAccessibleAccountsBySubscribeInfo() argument 324 appAccounts.clear(); in GetAccessibleAccountsBySubscribeInfo() 337 appAccounts.emplace_back(accessibleAccount); in GetAccessibleAccountsBySubscribeInfo()
|
D | app_account_control_manager.cpp | 611 …tControlManager::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, in GetAllAccounts() argument 614 appAccounts.clear(); in GetAllAccounts() 624 result = GetAllAccountsFromDataStorage(key, appAccounts, owner, dataStoragePtr); in GetAllAccounts() 646 appAccounts.emplace_back(appAccountInfo); in GetAllAccounts() 653 std::vector<AppAccountInfo> &appAccounts) in LoadAllAppAccounts() argument 666 appAccounts.emplace_back(curAppInfo); in LoadAllAppAccounts() 671 ErrCode AppAccountControlManager::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts, in GetAllAccessibleAccounts() argument 674 appAccounts.clear(); in GetAllAccessibleAccounts() 683 return LoadAllAppAccounts(dataStoragePtr, appAccounts); in GetAllAccessibleAccounts() 701 appAccounts.emplace_back(appAccountInfo); in GetAllAccessibleAccounts() [all …]
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_manager.cpp | 200 …pAccountManager::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in GetAllAccounts() argument 202 return AppAccount::GetInstance().GetAllAccounts(owner, appAccounts); in GetAllAccounts() 205 ErrCode AppAccountManager::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) in GetAllAccessibleAccounts() argument 207 return AppAccount::GetInstance().GetAllAccessibleAccounts(appAccounts); in GetAllAccessibleAccounts() 211 const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in QueryAllAccessibleAccounts() argument 213 return AppAccount::GetInstance().QueryAllAccessibleAccounts(owner, appAccounts); in QueryAllAccessibleAccounts()
|
D | app_account.cpp | 377 …Code AppAccount::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in GetAllAccounts() argument 381 return appAccountProxy_->GetAllAccounts(owner, appAccounts); in GetAllAccounts() 447 ErrCode AppAccount::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) in GetAllAccessibleAccounts() argument 450 return appAccountProxy_->GetAllAccessibleAccounts(appAccounts); in GetAllAccessibleAccounts() 454 const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in QueryAllAccessibleAccounts() argument 458 return appAccountProxy_->QueryAllAccessibleAccounts(owner, appAccounts); in QueryAllAccessibleAccounts()
|
/base/account/os_account/frameworks/test/unittest/ |
D | account_appaccount_proxy_mock_test.cpp | 464 std::vector<AppAccountInfo> appAccounts; variable 465 ErrCode result = AppAccountManager::GetAllAccounts(STRING_OWNER, appAccounts); 477 std::vector<AppAccountInfo> appAccounts; variable 478 ErrCode result = AppAccountManager::GetAllAccessibleAccounts(appAccounts); 490 std::vector<AppAccountInfo> appAccounts; variable 492 ErrCode result = AppAccountManager::QueryAllAccessibleAccounts(owner, appAccounts);
|
/base/account/os_account/services/accountmgr/include/appaccount/ |
D | app_account_control_manager.h | 87 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, const u… 89 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts, 99 …e GetAllAccountsFromDataStorage(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, 101 ErrCode GetAllAccessibleAccountsFromDataStorage(std::vector<AppAccountInfo> &appAccounts,
|
D | app_account_manager_service.h | 90 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) overrid… 91 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) override; 92 …AllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) override;
|
D | app_account_subscribe_manager.h | 46 … const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts);
|
D | inner_app_account_manager.h | 86 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, const u… 88 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts,
|
/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
D | app_account_manager.h | 415 … static ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts); 431 static ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts); 448 …ode QueryAllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts);
|
/base/account/os_account/frameworks/appaccount/native/test/unittest/ |
D | app_account_manager_subscribe_test.cpp | 264 std::vector<AppAccountInfo> appAccounts; variable 266 …ubscribeManagerPtr->GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts);
|
D | app_account_manager_test.cpp | 2074 std::vector<AppAccountInfo> appAccounts; variable 2075 ErrCode result = AppAccountManager::GetAllAccounts(STRING_EMPTY, appAccounts); 2077 EXPECT_EQ(appAccounts.size(), SIZE_ZERO); 2090 std::vector<AppAccountInfo> appAccounts; variable 2091 ErrCode result = AppAccountManager::GetAllAccounts(STRING_OWNER_OUT_OF_RANGE, appAccounts); 2093 EXPECT_EQ(appAccounts.size(), SIZE_ZERO); 2105 std::vector<AppAccountInfo> appAccounts; variable 2106 ErrCode result = AppAccountManager::GetAllAccounts(STRING_OWNER, appAccounts); 2108 EXPECT_TRUE(appAccounts.empty()); 2119 std::vector<AppAccountInfo> appAccounts; variable [all …]
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | iapp_account.h | 90 …ual ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) = 0; 91 virtual ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) = 0; 92 …QueryAllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) = 0;
|
D | app_account.h | 89 ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts); 90 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts); 91 …ode QueryAllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts);
|
D | app_account_proxy.h | 87 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) overrid… 88 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) override; 89 …AllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) override;
|
/base/account/os_account/services/accountmgr/test/mock/app_account/ |
D | mock_app_account_stub.h | 83 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) overrid… 84 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) override; 85 …AllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) override;
|
D | mock_app_account_stub.cpp | 296 …kAppAccountStub::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in GetAllAccounts() argument 303 ErrCode MockAppAccountStub::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) in GetAllAccessibleAccounts() argument 311 const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in QueryAllAccessibleAccounts() argument
|
/base/account/os_account/frameworks/appaccount/native/test/moduletest/ |
D | app_account_manager_module_test.cpp | 367 std::vector<AppAccountInfo> appAccounts; variable 368 ErrCode result = AppAccountManager::GetAllAccounts(STRING_NAME, appAccounts);
|