Home
last modified time | relevance | path

Searched refs:accurateIndex (Results 1 – 4 of 4) sorted by relevance

/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_manager.h70 uint32_t& accurateIndex);
72 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex);
91 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex);
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_manager.cpp557 uint32_t& vagueIndex, uint32_t& accurateIndex) in GetLocationPermissionIndex() argument
567 accurateIndex = index; in GetLocationPermissionIndex()
573 if ((vagueIndex != ELEMENT_NOT_FOUND) && (accurateIndex != ELEMENT_NOT_FOUND)) { in GetLocationPermissionIndex()
580 vagueIndex, accurateIndex); in GetLocationPermissionIndex()
623 std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex) in AllLocationPermissionHandle() argument
670 reqPermList[accurateIndex].permsState.state = accurateState; in AllLocationPermissionHandle()
674 …piVersion, std::vector<PermissionStateFull> permsList, uint32_t vagueIndex, uint32_t accurateIndex) in LocationPermissionSpecialHandle() argument
676 if ((vagueIndex != ELEMENT_NOT_FOUND) && (accurateIndex == ELEMENT_NOT_FOUND)) { in LocationPermissionSpecialHandle()
682 if ((vagueIndex == ELEMENT_NOT_FOUND) && (accurateIndex != ELEMENT_NOT_FOUND)) { in LocationPermissionSpecialHandle()
685 reqPermList[accurateIndex].permsState.state = INVALID_OPER; in LocationPermissionSpecialHandle()
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp181 uint32_t accurateIndex = ELEMENT_NOT_FOUND; in GetSelfPermissionsState() local
184 …missionManager::GetInstance().GetLocationPermissionIndex(reqPermList, vagueIndex, accurateIndex)) { in GetSelfPermissionsState()
186 permsList, vagueIndex, accurateIndex); // api9 location permission handle here in GetSelfPermissionsState()
208 if ((vagueIndex == ELEMENT_NOT_FOUND) && (accurateIndex != ELEMENT_NOT_FOUND)) { in GetSelfPermissionsState()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp1898 uint32_t accurateIndex = 1; variable
1901 …ger::GetInstance().AllLocationPermissionHandle(reqPermList, permsList1, vagueIndex, accurateIndex);
1909 …ger::GetInstance().AllLocationPermissionHandle(reqPermList, permsList2, vagueIndex, accurateIndex);