Searched refs:ACCESS_APPROXIMATELY_LOCATION (Results 1 – 15 of 15) sorted by relevance
/base/location/frameworks/location_common/common/source/ |
D | common_utils.cpp | 70 return CheckPermission(ACCESS_APPROXIMATELY_LOCATION, tokenId, firstTokenId); in CheckApproximatelyPermission() 91 if (CheckPermission(ACCESS_APPROXIMATELY_LOCATION, tokenId, firstTokenId) && in GetPermissionLevel() 94 } else if (CheckPermission(ACCESS_APPROXIMATELY_LOCATION, tokenId, firstTokenId) && in GetPermissionLevel() 97 } else if (!CheckPermission(ACCESS_APPROXIMATELY_LOCATION, tokenId, firstTokenId) && in GetPermissionLevel()
|
/base/location/test/location_locator/source/ |
D | location_approximately_permission_test.cpp | 45 ACCESS_APPROXIMATELY_LOCATION.c_str(), ACCESS_BACKGROUND_LOCATION.c_str(), in MockNativePermission()
|
D | report_manager_test.cpp | 52 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
D | locator_impl_test.cpp | 63 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
D | request_manager_test.cpp | 65 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
D | locator_background_proxy_test.cpp | 59 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
D | locator_service_test.cpp | 99 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/base/location/interfaces/inner_api/include/ |
D | common_utils.h | 39 const std::string ACCESS_APPROXIMATELY_LOCATION = "ohos.permission.APPROXIMATELY_LOCATION"; variable
|
/base/location/test/location_common/source/ |
D | common_utils_test.cpp | 51 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission() 72 ACCESS_APPROXIMATELY_LOCATION.c_str(), ACCESS_BACKGROUND_LOCATION.c_str(), in MockNativeApproxiPermission()
|
/base/location/services/location_locator/locator/source/ |
D | request_manager.cpp | 93 PrivacyKit::StartUsingPermission(callingTokenId, ACCESS_APPROXIMATELY_LOCATION); in UpdateUsingApproximatelyPermission() 98 PrivacyKit::StopUsingPermission(callingTokenId, ACCESS_APPROXIMATELY_LOCATION); in UpdateUsingApproximatelyPermission() 140 {ACCESS_APPROXIMATELY_LOCATION, ACCESS_LOCATION, ACCESS_BACKGROUND_LOCATION}); in HandleStartLocating()
|
/base/location/test/location_geocode/source/ |
D | geo_convert_service_test.cpp | 67 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/base/location/test/location_passive/source/ |
D | passive_ability_test.cpp | 59 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/base/location/test/location_network/source/ |
D | network_ability_test.cpp | 64 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/base/location/test/fuzztest/locator/locator_fuzzer/ |
D | locator_fuzzer.cpp | 121 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in AddPermission()
|
/base/location/test/location_gnss/source/ |
D | gnss_ability_test.cpp | 73 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|