/ohos5.0/base/location/frameworks/location_common/common/source/ |
H A D | permission_manager.cpp | 31 return CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId); in CheckLocationPermission() 103 CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId)) { in GetPermissionLevel() 106 !CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId)) { in GetPermissionLevel() 109 CheckPermission(ACCESS_LOCATION, tokenId, firstTokenId)) { in GetPermissionLevel()
|
/ohos5.0/base/location/test/location_locator/source/ |
H A D | permission_manager_test.cpp | 48 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission() 91 ACCESS_LOCATION.c_str(), ACCESS_BACKGROUND_LOCATION.c_str(), in MockNativeAccurateLocation()
|
H A D | locator_agent_test.cpp | 39 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission() 175 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
H A D | report_manager_test.cpp | 55 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
H A D | locator_impl_test.cpp | 103 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | permission_manager.h | 25 const std::string ACCESS_LOCATION = "ohos.permission.LOCATION"; variable
|
/ohos5.0/base/location/test/fuzztest/locator/networkabilityproxy_fuzzer/ |
H A D | networkabilityproxy_fuzzer.cpp | 43 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/fuzztest/locator/passiveabilityproxy_fuzzer/ |
H A D | passiveabilityproxy_fuzzer.cpp | 44 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/fuzztest/locator/networkcallbackhost_fuzzer/ |
H A D | networkcallbackhost_fuzzer.cpp | 43 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/location_common/source/ |
H A D | common_utils_test.cpp | 55 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission() 98 ACCESS_LOCATION.c_str(), ACCESS_BACKGROUND_LOCATION.c_str(), in MockNativeAccurateLocation()
|
/ohos5.0/base/location/test/fuzztest/locator/locatorcallbackhost_fuzzer/ |
H A D | locatorcallbackhost_fuzzer.cpp | 38 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/fuzztest/locator/geoconvertservice_fuzzer/ |
H A D | geoconvertservice_fuzzer.cpp | 42 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/fuzztest/locator/passiveability_fuzzer/ |
H A D | passiveability_fuzzer.cpp | 44 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/fuzztest/locator/networkability_fuzzer/ |
H A D | networkability_fuzzer.cpp | 45 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/fuzztest/locator/locator_fuzzer/ |
H A D | locator_fuzzer.cpp | 105 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in AddPermission()
|
/ohos5.0/base/location/test/location_gnss/source/ |
H A D | gnss_event_callback_test.cpp | 53 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/location_passive/source/ |
H A D | passive_ability_test.cpp | 75 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/fuzztest/locator/gnssability_fuzzer/ |
H A D | gnssability_fuzzer.cpp | 43 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/location_geocode/source/ |
H A D | geo_convert_service_test.cpp | 85 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/location_manager/source/ |
H A D | locator_skeleton_test.cpp | 93 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission() 116 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativeWithoutMockPermission() 138 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativeWithoutSecurePermission()
|
H A D | request_manager_test.cpp | 71 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
H A D | locator_ability_test.cpp | 113 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/test/location_network/source/ |
H A D | network_ability_test.cpp | 103 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|
/ohos5.0/base/location/services/location_locator/locator/source/ |
H A D | request_manager.cpp | 195 {ACCESS_APPROXIMATELY_LOCATION, ACCESS_LOCATION, ACCESS_BACKGROUND_LOCATION}); in HandleStartLocating()
|
/ohos5.0/base/location/test/fuzztest/locator/locatorabilitystub_fuzzer/ |
H A D | locatorabilitystub_fuzzer.cpp | 38 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
|