Searched refs:authorizedApps_ (Results 1 - 4 of 4) sorted by relevance
/base/account/os_account/frameworks/appaccount/native/src/ |
H A D | app_account_info.cpp | 80 authorizedApps_.clear(); in AppAccountInfo() 94 authorizedApps_.clear(); in AppAccountInfo() 157 auto it = authorizedApps_.emplace(authorizedApp); in EnableAppAccess() 166 auto result = authorizedApps_.erase(authorizedApp); in DisableAppAccess() 176 auto it = authorizedApps_.find(authorizedApp); in CheckAppAccess() 177 if (it != authorizedApps_.end()) { in CheckAppAccess() 185 apps = authorizedApps_; in GetAuthorizedApps() 190 authorizedApps_ = apps; in SetAuthorizedApps() 515 if (!WriteStringSet(authorizedApps_, parcel)) { in Marshalling() 516 ACCOUNT_LOGE("failed to write string set for authorizedApps_"); in Marshalling() [all...] |
/base/account/os_account/services/accountmgr/test/unittest/app_account/ |
H A D | app_account_info_test.cpp | 246 EXPECT_EQ(appAccountInfo.authorizedApps_.size(), SIZE_ONE); in HWTEST_F() 247 EXPECT_EQ(bundleName, *(appAccountInfo.authorizedApps_.begin())); in HWTEST_F() 265 appAccountInfo.authorizedApps_.emplace(bundleName); in HWTEST_F() 272 EXPECT_EQ(appAccountInfo.authorizedApps_.size(), SIZE_ZERO); in HWTEST_F() 294 appAccountInfo.authorizedApps_ = apps; in HWTEST_F() 329 EXPECT_EQ(appAccountInfo.authorizedApps_.size(), SIZE_ONE); in HWTEST_F() 330 EXPECT_EQ(bundleName, *(appAccountInfo.authorizedApps_.begin())); in HWTEST_F() 937 appAccountInfo.authorizedApps_ = authorizedApps; in HWTEST_F() 954 EXPECT_EQ(authorizedApps.size(), infoPtr->authorizedApps_.size()); in HWTEST_F() 955 EXPECT_EQ(*(authorizedApps.begin()), *(infoPtr->authorizedApps_ in HWTEST_F() [all...] |
/base/account/os_account/services/accountmgr/test/mock/app_account/ |
H A D | account_data_storage.cpp | 125 {"authorizedApps", authorizedApps_}, 177 std::set<std::string> authorizedApps_; member in OHOS::AccountSA::AccountInfoMOCK
|
/base/account/os_account/frameworks/appaccount/native/include/ |
H A D | app_account_info.h | 114 std::set<std::string> authorizedApps_; member in OHOS::AccountSA::AppAccountInfo
|
Completed in 5 milliseconds