Home
last modified time | relevance | path

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

/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp38 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/
Dcommon_utils.h38 const std::string ACCESS_LOCATION = "ohos.permission.LOCATION"; variable
/base/location/test/location_common/source/
Dcommon_utils_test.cpp51 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
93 ACCESS_LOCATION.c_str(), ACCESS_BACKGROUND_LOCATION.c_str(), in MockNativeAccurateLocation()
Dlocation_common_test.cpp491 struct PermStateChangeInfo result{0, callingTokenId, ACCESS_LOCATION};
/base/location/services/location_locator/locator/source/
Drequest_manager.cpp74 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/
Dgeo_convert_service_test.cpp67 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/base/location/test/location_passive/source/
Dpassive_ability_test.cpp59 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/base/location/test/location_network/source/
Dnetwork_ability_test.cpp64 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/base/location/test/location_locator/source/
Dreport_manager_test.cpp52 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
Dlocator_impl_test.cpp63 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
Drequest_manager_test.cpp65 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
Dlocator_background_proxy_test.cpp59 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
Dlocator_service_test.cpp99 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()
/base/location/test/fuzztest/locator/locator_fuzzer/
Dlocator_fuzzer.cpp121 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in AddPermission()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp73 ACCESS_LOCATION.c_str(), ACCESS_APPROXIMATELY_LOCATION.c_str(), in MockNativePermission()