Searched refs:permsList (Results 1 – 5 of 5) sorted by relevance
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | accesstoken_kit_extension_test.cpp | 619 std::vector<PermissionListState> permsList; variable 620 permsList.emplace_back(permVague); 622 PermissionOper ret = AccessTokenKit::GetSelfPermissionsState(permsList); 624 ASSERT_EQ(static_cast<uint32_t>(1), permsList.size()); 625 ASSERT_EQ(DYNAMIC_OPER, permsList[0].state); 656 std::vector<PermissionListState> permsList; variable 657 permsList.emplace_back(permVague); 659 PermissionOper ret = AccessTokenKit::GetSelfPermissionsState(permsList); 661 ASSERT_EQ(static_cast<uint32_t>(1), permsList.size()); 662 ASSERT_EQ(SETTING_OPER, permsList[0].state); [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_manager.h | 64 … std::vector<PermissionStateFull> permsList, PermissionListState &permState, int32_t apiVersion); 72 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex); 89 const std::vector<PermissionStateFull>& permsList, int32_t& status, uint32_t& flag); 91 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_manager.cpp | 274 void PermissionManager::GetSelfPermissionState(std::vector<PermissionStateFull> permsList, in GetSelfPermissionState() argument 287 …auto iter = std::find_if(permsList.begin(), permsList.end(), [permState](const PermissionStateFull… in GetSelfPermissionState() 290 if (iter != permsList.end()) { in GetSelfPermissionState() 600 const std::vector<PermissionStateFull>& permsList, int32_t& status, uint32_t& flag) in GetPermissionStatusAndFlag() argument 607 …auto iter = std::find_if(permsList.begin(), permsList.end(), [permissionName](const PermissionStat… in GetPermissionStatusAndFlag() 610 if (iter != permsList.end()) { in GetPermissionStatusAndFlag() 623 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex) in AllLocationPermissionHandle() argument 632 …if (!GetPermissionStatusAndFlag(VAGUE_LOCATION_PERMISSION_NAME, permsList, vagueStatus, vagueFlag)… in AllLocationPermissionHandle() 633 …!GetPermissionStatusAndFlag(ACCURATE_LOCATION_PERMISSION_NAME, permsList, accurateStatus, accurate… in AllLocationPermissionHandle() 674 …int32_t apiVersion, std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accu… in LocationPermissionSpecialHandle() argument [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_service.cpp | 170 std::vector<PermissionStateFull> permsList; in GetSelfPermissionsState() local 171 …int retUserGrant = PermissionManager::GetInstance().GetReqPermissions(callingTokenID, permsList, f… in GetSelfPermissionsState() 172 …int retSysGrant = PermissionManager::GetInstance().GetReqPermissions(callingTokenID, permsList, tr… in GetSelfPermissionsState() 186 permsList, vagueIndex, accurateIndex); // api9 location permission handle here in GetSelfPermissionsState() 198 …PermissionManager::GetInstance().GetSelfPermissionState(permsList, reqPermList[i].permsState, apiV… in GetSelfPermissionsState()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 1856 std::vector<PermissionStateFull> permsList; variable 1857 permsList.emplace_back(g_permState2); 1863 permsList, status, flag)); 1868 permsList, status, flag));
|