Home
last modified time | relevance | path

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

/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp70 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/
Dlocation_approximately_permission_test.cpp45 ACCESS_APPROXIMATELY_LOCATION.c_str(), ACCESS_BACKGROUND_LOCATION.c_str(), in MockNativePermission()
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/interfaces/inner_api/include/
Dcommon_utils.h39 const std::string ACCESS_APPROXIMATELY_LOCATION = "ohos.permission.APPROXIMATELY_LOCATION"; variable
/base/location/test/location_common/source/
Dcommon_utils_test.cpp51 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/
Drequest_manager.cpp93 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/
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/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()