Home
last modified time | relevance | path

Searched refs:accessibleAccounts (Results 1 - 9 of 9) sorted by relevance

/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_data_storage.cpp39 const std::string &authorizedApp, std::vector<std::string> &accessibleAccounts) in GetAccessibleAccountsFromAuthorizedAccounts()
41 accessibleAccounts.clear(); in GetAccessibleAccountsFromAuthorizedAccounts()
51 accessibleAccounts = jsonObject[authorizedApp].get<std::vector<std::string>>(); in GetAccessibleAccountsFromAuthorizedAccounts()
59 const std::string &authorizedApp, std::vector<std::string> &accessibleAccounts) in GetAccessibleAccountsFromDataStorage()
67 GetAccessibleAccountsFromAuthorizedAccounts(authorizedAccounts, authorizedApp, accessibleAccounts); in GetAccessibleAccountsFromDataStorage()
38 GetAccessibleAccountsFromAuthorizedAccounts(const std::string &authorizedAccounts, const std::string &authorizedApp, std::vector<std::string> &accessibleAccounts) GetAccessibleAccountsFromAuthorizedAccounts() argument
58 GetAccessibleAccountsFromDataStorage( const std::string &authorizedApp, std::vector<std::string> &accessibleAccounts) GetAccessibleAccountsFromDataStorage() argument
H A Dapp_account_subscribe_manager.cpp154 std::vector<std::string> accessibleAccounts; in CheckAppAccess() local
155 ErrCode ret = dataStoragePtr->GetAccessibleAccountsFromDataStorage(bundleName, accessibleAccounts); in CheckAppAccess()
165 accessibleAccounts.begin(), in CheckAppAccess()
166 accessibleAccounts.end(), in CheckAppAccess()
175 if (it == accessibleAccounts.end()) { in CheckAppAccess()
288 std::vector<AppAccountInfo> accessibleAccounts; in OnAccountsChanged() local
290 accessibleAccounts, receiver->bundleName, dataStoragePtr, record->appIndex); in OnAccountsChanged()
297 result = GetAccessibleAccountsBySubscribeInfo(receiver->subscribeInfoPtr, accessibleAccounts, appAccounts); in OnAccountsChanged()
317 const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts) in GetAccessibleAccountsBySubscribeInfo()
329 for (auto accessibleAccount : accessibleAccounts) { in GetAccessibleAccountsBySubscribeInfo()
315 GetAccessibleAccountsBySubscribeInfo( const std::shared_ptr<AppAccountSubscribeInfo> &subscribeInfoPtr, const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts) GetAccessibleAccountsBySubscribeInfo() argument
[all...]
H A Dapp_account_control_manager.cpp886 std::vector<std::string> accessibleAccounts; in GetAllAccounts() local
887 result = dataStoragePtr->GetAccessibleAccountsFromDataStorage(bundleName, accessibleAccounts); in GetAllAccounts()
892 for (auto account : accessibleAccounts) { in GetAllAccounts()
939 std::vector<std::string> accessibleAccounts; in GetAllAccessibleAccounts() local
940 result = dataStoragePtr->GetAccessibleAccountsFromDataStorage(bundleName, accessibleAccounts); in GetAllAccessibleAccounts()
946 for (auto account : accessibleAccounts) { in GetAllAccessibleAccounts()
986 std::vector<AppAccountInfo> accessibleAccounts; in SelectAccountsByOptions() local
987 ErrCode errCode = GetAllAccessibleAccounts(accessibleAccounts, uid, bundleName, appIndex); in SelectAccountsByOptions()
993 for (auto account : accessibleAccounts) { in SelectAccountsByOptions()
1214 std::vector<std::string> accessibleAccounts; in GetAllAccessibleAccountsFromDataStorage() local
1525 std::vector<std::string> accessibleAccounts; SaveAuthorizedAccountIntoDataStorage() local
1570 std::vector<std::string> accessibleAccounts; RemoveAuthorizedAccountFromDataStorage() local
[all...]
/base/account/os_account/services/accountmgr/include/appaccount/
H A Dapp_account_data_storage.h31 const std::string &authorizedApp, std::vector<std::string> &accessibleAccounts);
33 const std::string &authorizedApp, std::vector<std::string> &accessibleAccounts);
H A Dapp_account_subscribe_manager.h46 const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts);
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_manager_service_sync_module_test.cpp295 auto accessibleAccounts = jsonObject[STRING_BUNDLE_NAME].get<std::vector<std::string>>(); in HWTEST_F() local
296 EXPECT_EQ(accessibleAccounts.size(), SIZE_ONE); in HWTEST_F()
298 auto accountPtr = accessibleAccounts.begin(); in HWTEST_F()
299 ASSERT_NE(accountPtr, accessibleAccounts.end()); in HWTEST_F()
347 auto accessibleAccounts = jsonObject[STRING_BUNDLE_NAME].get<std::vector<std::string>>(); in HWTEST_F() local
348 EXPECT_EQ(accessibleAccounts.size(), SIZE_ONE); in HWTEST_F()
350 auto accountPtr = accessibleAccounts.begin(); in HWTEST_F()
351 ASSERT_NE(accountPtr, accessibleAccounts.end()); in HWTEST_F()
398 auto accessibleAccounts = jsonObject[STRING_BUNDLE_NAME].get<std::vector<std::string>>(); in HWTEST_F() local
399 EXPECT_EQ(accessibleAccounts in HWTEST_F()
[all...]
H A Dapp_account_subscribe_manager_test.cpp209 std::vector<AppAccountInfo> accessibleAccounts; in HWTEST_F() local
212 GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts); in HWTEST_F()
H A Dapp_account_manager_service_module_test.cpp290 std::vector<std::string> accessibleAccounts; in HWTEST_F() local
291 result = dataStoragePtr->GetAccessibleAccountsFromDataStorage(STRING_BUNDLE_NAME, accessibleAccounts); in HWTEST_F()
293 EXPECT_EQ(accessibleAccounts.size(), SIZE_ZERO); in HWTEST_F()
/base/account/os_account/frameworks/appaccount/native/test/unittest/
H A Dapp_account_manager_subscribe_test.cpp258 std::vector<AppAccountInfo> accessibleAccounts; in HWTEST_F() local
261 appAccountSubscribeManagerPtr->GetAccessibleAccountsBySubscribeInfo(nullptr, accessibleAccounts, appAccounts); in HWTEST_F()

Completed in 9 milliseconds