Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java168 if (mLocationMgr.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in startListening()
185 if (mLocationMgr.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in stopListening()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerSyncControllerTest.java957 .that(mController.isProviderEnabled(LOCAL_PROVIDER_AUTHORITY)).isTrue(); in testIsProviderAuthorityEnabled()
959 .that(mController.isProviderEnabled(CLOUD_PRIMARY_PROVIDER_AUTHORITY)).isFalse(); in testIsProviderAuthorityEnabled()
961 .that(mController.isProviderEnabled(CLOUD_SECONDARY_PROVIDER_AUTHORITY)).isFalse(); in testIsProviderAuthorityEnabled()
966 .that(mController.isProviderEnabled(LOCAL_PROVIDER_AUTHORITY)).isTrue(); in testIsProviderAuthorityEnabled()
968 .that(mController.isProviderEnabled(CLOUD_PRIMARY_PROVIDER_AUTHORITY)).isTrue(); in testIsProviderAuthorityEnabled()
970 .that(mController.isProviderEnabled(CLOUD_SECONDARY_PROVIDER_AUTHORITY)).isFalse(); in testIsProviderAuthorityEnabled()
977 .that(mController.isProviderEnabled(LOCAL_PROVIDER_AUTHORITY, Process.myUid())) in testIsProviderUidEnabled()
981 .that(mController.isProviderEnabled(LOCAL_PROVIDER_AUTHORITY, 1000)).isFalse(); in testIsProviderUidEnabled()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java351 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()
393 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsStatus()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerSyncController.java599 public boolean isProviderEnabled(String authority) { in isProviderEnabled() method in PickerSyncController
615 public boolean isProviderEnabled(String authority, int uid) { in isProviderEnabled() method in PickerSyncController
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2542 if (mPickerSyncController.isProviderEnabled(authority)) { in preparePickerAuthorityPathSegment()
7327 mPickerSyncController.isProviderEnabled(
7338 if (mPickerSyncController.isProviderEnabled(arg, Binder.getCallingUid())) {