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.cpp1111 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 …]
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);
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);
Dat_not_mock_app_account_manager_service_module_test.cpp104 std::vector<AppAccountInfo> appAccounts; variable
105 int result = g_accountManagerService->GetAllAccounts(owner, appAccounts);
Dapp_account_control_manager_module_test.cpp164 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…
Dapp_account_subscribe_manager_test.cpp156 std::vector<AppAccountInfo> appAccounts; variable
158 GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts);
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_subscribe_manager.cpp318 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()
Dapp_account_control_manager.cpp599 …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/
Dapp_account_manager.cpp201 …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()
Dapp_account.cpp383 …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/
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.h92 …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,
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.h53 … const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts);
Dinner_app_account_manager.h85 …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/
Dapp_account_manager.h84 … 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/
Dapp_account_manager_subscribe_test.cpp264 std::vector<AppAccountInfo> appAccounts; variable
266 …ubscribeManagerPtr->GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts);
Dapp_account_manager_test.cpp2078 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/
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.cpp295 …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/
Dapp_account.h88 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);
Diapp_account.h89 …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;
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/unittest/app_account/
Dinner_app_account_manager_test.cpp552 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);

12