Home
last modified time | relevance | path

Searched refs:hasLocationPermissions (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java104 if (!hasLocationPermissions(context)) { in registerForLocationUpdates()
168 || !hasLocationPermissions(appContext) in getLocationBasedCountryIso()
271 private static boolean hasLocationPermissions(Context context) { in hasLocationPermissions() method in CountryDetector
/packages/apps/Contacts/src/com/android/contacts/util/
DPermissionsUtil.java51 public static boolean hasLocationPermissions(Context context) { in hasLocationPermissions() method in PermissionsUtil
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DNewSearchFragment.java291 || PermissionsUtil.hasLocationPermissions(getContext()) in showLocationPermission()
419 if (getContext() == null || !PermissionsUtil.hasLocationPermissions(getContext())) { in loadNearbyPlacesCursor()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DLocationHelper.java77 if (!PermissionsUtil.hasLocationPermissions(context)) { in canGetLocation()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java98 public static boolean hasLocationPermissions(Context context) { in hasLocationPermissions() method in PermissionsUtil