Searched refs:vagueIndex (Results 1 – 4 of 4) sorted by relevance
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_manager.cpp | 521 uint32_t& vagueIndex, uint32_t& accurateIndex) in GetLocationPermissionIndex() argument 528 vagueIndex = index; in GetLocationPermissionIndex() 537 if ((vagueIndex != ELEMENT_NOT_FOUND) && (accurateIndex != ELEMENT_NOT_FOUND)) { in GetLocationPermissionIndex() 544 vagueIndex, accurateIndex); in GetLocationPermissionIndex() 587 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex) in AllLocationPermissionHandle() argument 633 reqPermList[vagueIndex].permsState.state = vagueState; in AllLocationPermissionHandle() 638 …int32_t apiVersion, std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accu… in LocationPermissionSpecialHandle() argument 640 if ((vagueIndex != ELEMENT_NOT_FOUND) && (accurateIndex == ELEMENT_NOT_FOUND)) { in LocationPermissionSpecialHandle() 642 GetSelfPermissionState(permsList, reqPermList[vagueIndex].permsState, apiVersion); in LocationPermissionSpecialHandle() 643 … return (static_cast<PermissionOper>(reqPermList[vagueIndex].permsState.state) == DYNAMIC_OPER); in LocationPermissionSpecialHandle() [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_manager.h | 69 …tLocationPermissionIndex(std::vector<PermissionListStateParcel>& reqPermList, uint32_t& vagueIndex, 72 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex); 88 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_service.cpp | 171 uint32_t vagueIndex = ELEMENT_NOT_FOUND; in GetSelfPermissionsState() local 175 …if (PermissionManager::GetInstance().GetLocationPermissionIndex(reqPermList, vagueIndex, accurateI… in GetSelfPermissionsState() 177 permsList, vagueIndex, accurateIndex); // api9 location permission handle here in GetSelfPermissionsState() 199 if ((vagueIndex == ELEMENT_NOT_FOUND) && (accurateIndex != ELEMENT_NOT_FOUND)) { in GetSelfPermissionsState()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 2604 uint32_t vagueIndex = 0; variable 2608 …ger::GetInstance().AllLocationPermissionHandle(reqPermList, permsList1, vagueIndex, accurateIndex); 2616 …ger::GetInstance().AllLocationPermissionHandle(reqPermList, permsList2, vagueIndex, accurateIndex);
|