Searched refs:isLocationProvider (Results 1 – 4 of 4) sorted by relevance
65 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()
49 return if (canPackageHandleIntent() && isLocationProvider()) { in getPreferenceType()89 private fun isLocationProvider(): Boolean { in isLocationProvider() method
89 if (canPackageHandleIntent() && isLocationProvider()) { in getAvailabilityStatus()96 boolean isLocationProvider() { in isLocationProvider() method in AppAllServicesPreferenceController
125 public static boolean isLocationProvider(Context context, String packageName) { in isLocationProvider() method in LocationUtils131 return LOCATION_PERMISSION.equals(groupName) && isLocationProvider(context, packageName); in isLocationGroupAndProvider()