Home
last modified time | relevance | path

Searched refs:appAccounts (Results 1 – 25 of 32) sorted by relevance

12

/base/account/os_account/test/fuzztest/appaccount/getallaccessibleaccounts_fuzzer/
Dgetallaccessibleaccounts_fuzzer.cpp35 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/
Dgetallaccounts_fuzzer.cpp35 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/
Dapp_account_manager_service_module_test.cpp952 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 …]
Dapp_account_manager_service_thread_module_test.cpp140 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);
Dat_not_mock_app_account_manager_service_module_test.cpp103 std::vector<AppAccountInfo> appAccounts; variable
104 int result = g_accountManagerService->GetAllAccounts(owner, appAccounts);
Dapp_account_control_manager_module_test.cpp163 std::vector<AppAccountInfo> appAccounts; variable
165 appAccounts, BUNDLE_NAME, dataStoragePtr, 0);
205 std::vector<AppAccountInfo> appAccounts; variable
209 STRING_OWNER, appAccounts, BUNDLE_NAME, dataStoragePtr);
Dapp_account_subscribe_manager_test.cpp203 std::vector<AppAccountInfo> appAccounts; variable
205 GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts);
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_subscribe_manager.cpp296 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()
Dapp_account_control_manager.cpp611 …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/
Dapp_account_manager.cpp200 …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()
Dapp_account.cpp377 …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/
Daccount_appaccount_proxy_mock_test.cpp464 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/
Dapp_account_control_manager.h87 …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,
Dapp_account_manager_service.h90 …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;
Dapp_account_subscribe_manager.h46 … const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts);
Dinner_app_account_manager.h86 …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/
Dapp_account_manager.h415 … 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/
Dapp_account_manager_subscribe_test.cpp264 std::vector<AppAccountInfo> appAccounts; variable
266 …ubscribeManagerPtr->GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts);
Dapp_account_manager_test.cpp2074 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/
Diapp_account.h90 …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;
Dapp_account.h89 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);
Dapp_account_proxy.h87 …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/
Dmock_app_account_stub.h83 …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;
Dmock_app_account_stub.cpp296 …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/
Dapp_account_manager_module_test.cpp367 std::vector<AppAccountInfo> appAccounts; variable
368 ErrCode result = AppAccountManager::GetAllAccounts(STRING_NAME, appAccounts);

12