Searched refs:isProviderEnabled (Results 1 – 5 of 5) sorted by relevance
168 if (mLocationMgr.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in startListening()185 if (mLocationMgr.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in stopListening()
957 .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()
351 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()393 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsStatus()
599 public boolean isProviderEnabled(String authority) { in isProviderEnabled() method in PickerSyncController615 public boolean isProviderEnabled(String authority, int uid) { in isProviderEnabled() method in PickerSyncController
2542 if (mPickerSyncController.isProviderEnabled(authority)) { in preparePickerAuthorityPathSegment()7327 mPickerSyncController.isProviderEnabled(7338 if (mPickerSyncController.isProviderEnabled(arg, Binder.getCallingUid())) {