Home
last modified time | relevance | path

Searched refs:isLocationProvider (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppAllServicesPreferenceControllerTest.java65 doReturn(true).when(mController).isLocationProvider(); in getAvailabilityStatus_shouldReturnAvailable()
74 doReturn(true).when(mController).isLocationProvider(); in getAvailabilityStatus_canNotHandleIntent_shouldReturnConditionallyUnavailable()
82 doReturn(false).when(mController).isLocationProvider(); in getAvailabilityStatus_isNotLocationProvider_shouldReturnConditionallyUnavailable()
90 doReturn(false).when(mController).isLocationProvider(); in getAvailabilityStatus_shouldReturnConditionallyUnavailable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/appinfo/
DAppAllServicesPreferenceController.kt49 return if (canPackageHandleIntent() && isLocationProvider()) { in getPreferenceType()
89 private fun isLocationProvider(): Boolean { in isLocationProvider() method
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppAllServicesPreferenceController.java89 if (canPackageHandleIntent() && isLocationProvider()) { in getAvailabilityStatus()
96 boolean isLocationProvider() { in isLocationProvider() method in AppAllServicesPreferenceController
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DLocationUtils.java125 public static boolean isLocationProvider(Context context, String packageName) { in isLocationProvider() method in LocationUtils
131 return LOCATION_PERMISSION.equals(groupName) && isLocationProvider(context, packageName); in isLocationGroupAndProvider()