Home
last modified time | relevance | path

Searched refs:ACCESS_LOCATION (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/base/location/frameworks/location_common/common/source/
H A Dpermission_manager.cpp31 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 Dpermission_manager_test.cpp48 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 Dlocator_agent_test.cpp39 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 Dreport_manager_test.cpp55 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
H A Dlocator_impl_test.cpp103 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dpermission_manager.h25 const std::string ACCESS_LOCATION = "ohos.permission.LOCATION"; variable
/ohos5.0/base/location/test/fuzztest/locator/networkabilityproxy_fuzzer/
H A Dnetworkabilityproxy_fuzzer.cpp43 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/fuzztest/locator/passiveabilityproxy_fuzzer/
H A Dpassiveabilityproxy_fuzzer.cpp44 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/fuzztest/locator/networkcallbackhost_fuzzer/
H A Dnetworkcallbackhost_fuzzer.cpp43 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/location_common/source/
H A Dcommon_utils_test.cpp55 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 Dlocatorcallbackhost_fuzzer.cpp38 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/fuzztest/locator/geoconvertservice_fuzzer/
H A Dgeoconvertservice_fuzzer.cpp42 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/fuzztest/locator/passiveability_fuzzer/
H A Dpassiveability_fuzzer.cpp44 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/fuzztest/locator/networkability_fuzzer/
H A Dnetworkability_fuzzer.cpp45 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/fuzztest/locator/locator_fuzzer/
H A Dlocator_fuzzer.cpp105 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in AddPermission()
/ohos5.0/base/location/test/location_gnss/source/
H A Dgnss_event_callback_test.cpp53 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/location_passive/source/
H A Dpassive_ability_test.cpp75 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/fuzztest/locator/gnssability_fuzzer/
H A Dgnssability_fuzzer.cpp43 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/location_geocode/source/
H A Dgeo_convert_service_test.cpp85 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/location_manager/source/
H A Dlocator_skeleton_test.cpp93 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 Drequest_manager_test.cpp71 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
H A Dlocator_ability_test.cpp113 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/test/location_network/source/
H A Dnetwork_ability_test.cpp103 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/ohos5.0/base/location/services/location_locator/locator/source/
H A Drequest_manager.cpp195 {ACCESS_APPROXIMATELY_LOCATION, ACCESS_LOCATION, ACCESS_BACKGROUND_LOCATION}); in HandleStartLocating()
/ohos5.0/base/location/test/fuzztest/locator/locatorabilitystub_fuzzer/
H A Dlocatorabilitystub_fuzzer.cpp38 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()

12