Searched refs:tokenIdList (Results 1 – 8 of 8) sorted by relevance
103 std::vector<AccessTokenID> tokenIdList; variable104 AccessTokenIDManager::GetInstance().GetHapTokenIdList(tokenIdList);105 EXPECT_EQ(MULTI_CYCLE_TIMES, tokenIdList.size());118 std::vector<AccessTokenID> tokenIdList; variable119 AccessTokenIDManager::GetInstance().GetHapTokenIdList(tokenIdList);120 EXPECT_EQ(MULTI_CYCLE_TIMES, tokenIdList.size());
103 void PermissionManager::ClearAllSecCompGrantedPerm(const std::vector<AccessTokenID>& tokenIdList) in ClearAllSecCompGrantedPerm() argument105 for (const auto& tokenId : tokenIdList) { in ClearAllSecCompGrantedPerm()636 std::vector<AccessTokenID> tokenIdList; in UpdatePermission() local637 AccessTokenInfoManager::GetInstance().GetRelatedSandBoxHapList(tokenID, tokenIdList); in UpdatePermission()638 for (const auto& id : tokenIdList) { in UpdatePermission()904 std::vector<AccessTokenID> tokenIdList; in ClearUserGrantedPermissionState() local905 AccessTokenInfoManager::GetInstance().GetRelatedSandBoxHapList(tokenID, tokenIdList); in ClearUserGrantedPermissionState()906 for (const auto& id : tokenIdList) { in ClearUserGrantedPermissionState()
125 std::vector<AccessTokenID> tokenIdList; in OnRemoveSystemAbility() local126 AccessTokenIDManager::GetInstance().GetHapTokenIdList(tokenIdList); in OnRemoveSystemAbility()127 PermissionManager::GetInstance().ClearAllSecCompGrantedPerm(tokenIdList); in OnRemoveSystemAbility()
73 void GetRelatedSandBoxHapList(AccessTokenID tokenId, std::vector<AccessTokenID>& tokenIdList);
92 void ClearAllSecCompGrantedPerm(const std::vector<AccessTokenID>& tokenIdList);
641 std::set<int32_t> tokenIdList; in GetRecordsFromLocalDB() local649 if (tokenIdList.count(tokenId) == 0) { in GetRecordsFromLocalDB()650 tokenIdList.insert(tokenId); // new tokenId, inset into set in GetRecordsFromLocalDB()
1283 …foManager::GetRelatedSandBoxHapList(AccessTokenID tokenId, std::vector<AccessTokenID>& tokenIdList) in GetRelatedSandBoxHapList() argument1313 tokenIdList.emplace_back(iter->second->GetTokenID()); in GetRelatedSandBoxHapList()
2406 std::vector<AccessTokenID> tokenIdList; variable2415 tokenIdList.emplace_back(tokenId);2431 for (const auto& id : tokenIdList) {