/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 | 1111 std::vector<AppAccountInfo> appAccounts; variable 1112 result = g_accountManagerService->GetAllAccessibleAccounts(appAccounts); 1114 ASSERT_EQ(appAccounts.size(), SIZE_ONE); 1116 appAccounts[0].GetOwner(owner); 1141 std::vector<AppAccountInfo> appAccounts; variable 1142 result = g_accountManagerService->GetAllAccessibleAccounts(appAccounts); 1144 ASSERT_EQ(appAccounts.size(), SIZE_ONE); 1146 appAccounts[0].GetOwner(owner); 1170 std::vector<AppAccountInfo> appAccounts; variable 1171 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); 151 result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts); 153 ASSERT_EQ(appAccounts.size(), SIZE_ZERO); 220 std::vector<AppAccountInfo> appAccounts; variable 221 result = appAccountManagerServicePtr_->GetAllAccounts(STRING_OWNER, appAccounts); 223 ASSERT_EQ(appAccounts.size(), SIZE_ZERO);
|
D | at_not_mock_app_account_manager_service_module_test.cpp | 104 std::vector<AppAccountInfo> appAccounts; variable 105 int result = g_accountManagerService->GetAllAccounts(owner, appAccounts);
|
D | app_account_control_manager_module_test.cpp | 164 std::vector<AppAccountInfo> appAccounts; variable 165 …result = controlManagerPtr_->GetAllAccessibleAccountsFromDataStorage(appAccounts, BUNDLE_NAME, dat… 211 std::vector<AppAccountInfo> appAccounts; variable 215 …controlManagerPtr_->GetAllAccountsFromDataStorage(STRING_OWNER, appAccounts, BUNDLE_NAME, dataStor…
|
D | app_account_subscribe_manager_test.cpp | 156 std::vector<AppAccountInfo> appAccounts; variable 158 GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts);
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_subscribe_manager.cpp | 318 std::vector<AppAccountInfo> appAccounts; in OnAccountsChanged() local 319 … GetAccessibleAccountsBySubscribeInfo(receiver->subscribeInfoPtr, accessibleAccounts, appAccounts); in OnAccountsChanged() 331 appAccountEventProxy->OnAccountsChanged(appAccounts); in OnAccountsChanged() 339 const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts) in GetAccessibleAccountsBySubscribeInfo() argument 346 appAccounts.clear(); in GetAccessibleAccountsBySubscribeInfo() 363 appAccounts.emplace_back(accessibleAccount); in GetAccessibleAccountsBySubscribeInfo()
|
D | app_account_control_manager.cpp | 599 …tControlManager::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, in GetAllAccounts() argument 602 appAccounts.clear(); in GetAllAccounts() 613 result = GetAllAccountsFromDataStorage(key, appAccounts, owner, dataStoragePtr); in GetAllAccounts() 635 appAccounts.emplace_back(appAccountInfo); in GetAllAccounts() 642 std::vector<AppAccountInfo> &appAccounts) in LoadAllAppAccounts() argument 655 appAccounts.emplace_back(curAppInfo); in LoadAllAppAccounts() 660 ErrCode AppAccountControlManager::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts, in GetAllAccessibleAccounts() argument 663 appAccounts.clear(); in GetAllAccessibleAccounts() 673 return LoadAllAppAccounts(dataStoragePtr, appAccounts); in GetAllAccessibleAccounts() 691 appAccounts.emplace_back(appAccountInfo); in GetAllAccessibleAccounts() [all …]
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_manager.cpp | 201 …pAccountManager::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in GetAllAccounts() argument 203 return DelayedSingleton<AppAccount>::GetInstance()->GetAllAccounts(owner, appAccounts); in GetAllAccounts() 206 ErrCode AppAccountManager::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) in GetAllAccessibleAccounts() argument 208 return DelayedSingleton<AppAccount>::GetInstance()->GetAllAccessibleAccounts(appAccounts); in GetAllAccessibleAccounts() 212 const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in QueryAllAccessibleAccounts() argument 214 …return DelayedSingleton<AppAccount>::GetInstance()->QueryAllAccessibleAccounts(owner, appAccounts); in QueryAllAccessibleAccounts()
|
D | app_account.cpp | 383 …Code AppAccount::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in GetAllAccounts() argument 387 return appAccountProxy_->GetAllAccounts(owner, appAccounts); in GetAllAccounts() 469 ErrCode AppAccount::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) in GetAllAccessibleAccounts() argument 472 return appAccountProxy_->GetAllAccessibleAccounts(appAccounts); in GetAllAccessibleAccounts() 476 const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in QueryAllAccessibleAccounts() argument 480 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 | 92 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, const u… 94 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts, 104 …e GetAllAccountsFromDataStorage(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, 106 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 | 53 … const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts);
|
D | inner_app_account_manager.h | 85 …ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts, const u… 87 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts,
|
/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
D | app_account_manager.h | 84 … static ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts); 85 static ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts); 86 …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 | 2078 std::vector<AppAccountInfo> appAccounts; variable 2079 ErrCode result = AppAccountManager::GetAllAccounts(STRING_EMPTY, appAccounts); 2081 EXPECT_EQ(appAccounts.size(), SIZE_ZERO); 2094 std::vector<AppAccountInfo> appAccounts; variable 2095 ErrCode result = AppAccountManager::GetAllAccounts(STRING_OWNER_OUT_OF_RANGE, appAccounts); 2097 EXPECT_EQ(appAccounts.size(), SIZE_ZERO); 2109 std::vector<AppAccountInfo> appAccounts; variable 2110 ErrCode result = AppAccountManager::GetAllAccounts(STRING_OWNER, appAccounts); 2112 EXPECT_TRUE(appAccounts.empty()); 2123 std::vector<AppAccountInfo> appAccounts; variable [all …]
|
/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 | 295 …kAppAccountStub::GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in GetAllAccounts() argument 302 ErrCode MockAppAccountStub::GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) in GetAllAccessibleAccounts() argument 310 const std::string &owner, std::vector<AppAccountInfo> &appAccounts) in QueryAllAccessibleAccounts() argument
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | app_account.h | 88 ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts); 89 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts); 90 …ode QueryAllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts);
|
D | iapp_account.h | 89 …ual ErrCode GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) = 0; 90 virtual ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts) = 0; 91 …QueryAllAccessibleAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) = 0;
|
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/unittest/app_account/ |
D | inner_app_account_manager_test.cpp | 552 std::vector<AppAccountInfo> appAccounts; variable 553 … ErrCode result = innerManagerPtr_->GetAllAccounts(STRING_OWNER, appAccounts, UID, BUNDLE_NAME, 0); 569 std::vector<AppAccountInfo> appAccounts; variable 570 ErrCode result = innerManagerPtr_->GetAllAccessibleAccounts(appAccounts, UID, BUNDLE_NAME, 0);
|