Searched refs:authorizedApps_ (Results 1 – 3 of 3) sorted by relevance
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_info.cpp | 50 authorizedApps_.clear(); in AppAccountInfo() 63 authorizedApps_.clear(); in AppAccountInfo() 122 auto it = authorizedApps_.emplace(authorizedApp); in EnableAppAccess() 131 auto result = authorizedApps_.erase(authorizedApp); in DisableAppAccess() 141 auto it = authorizedApps_.find(authorizedApp); in CheckAppAccess() 142 if (it != authorizedApps_.end()) { in CheckAppAccess() 150 apps = authorizedApps_; in GetAuthorizedApps() 155 authorizedApps_ = apps; in SetAuthorizedApps() 446 if (!WriteStringSet(authorizedApps_, parcel)) { in Marshalling() 504 {AUTHORIZED_APPS, authorizedApps_}, in ToJson() [all …]
|
/base/account/os_account/services/accountmgr/test/unittest/app_account/ |
D | app_account_info_test.cpp | 239 EXPECT_EQ(appAccountInfo.authorizedApps_.size(), SIZE_ONE); 240 EXPECT_EQ(bundleName, *(appAccountInfo.authorizedApps_.begin())); 258 appAccountInfo.authorizedApps_.emplace(bundleName); 265 EXPECT_EQ(appAccountInfo.authorizedApps_.size(), SIZE_ZERO); 287 appAccountInfo.authorizedApps_ = apps; 322 EXPECT_EQ(appAccountInfo.authorizedApps_.size(), SIZE_ONE); 323 EXPECT_EQ(bundleName, *(appAccountInfo.authorizedApps_.begin())); 930 appAccountInfo.authorizedApps_ = authorizedApps; 947 EXPECT_EQ(authorizedApps.size(), infoPtr->authorizedApps_.size()); 948 EXPECT_EQ(*(authorizedApps.begin()), *(infoPtr->authorizedApps_.begin()));
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | app_account_info.h | 111 std::set<std::string> authorizedApps_; variable
|