Searched refs:ACCESS_LOCATION (Results 1 – 15 of 15) sorted by relevance
/base/location/frameworks/location_common/common/source/ |
D | common_utils.cpp | 38 return CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId); in CheckLocationPermission() 92 CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId)) { in GetPermissionLevel() 95 !CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId)) { in GetPermissionLevel() 98 CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId)) { in GetPermissionLevel()
|
/base/location/interfaces/inner_api/include/ |
D | common_utils.h | 38 const std::string ACCESS_LOCATION = "ohos.permission.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() 93 ACCESS_LOCATION.c_str(), ACCESS_BACKGROUND_LOCATION.c_str(), in MockNativeAccurateLocation()
|
D | location_common_test.cpp | 491 struct PermStateChangeInfo result{0, callingTokenId, ACCESS_LOCATION};
|
/base/location/services/location_locator/locator/source/ |
D | request_manager.cpp | 74 PrivacyKit::StartUsingPermission(callingTokenId, ACCESS_LOCATION); in UpdateUsingLocationPermission() 79 PrivacyKit::StopUsingPermission(callingTokenId, ACCESS_LOCATION); in UpdateUsingLocationPermission() 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/location_locator/source/ |
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/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()
|