Searched refs:isProviderEnabled (Results 1 – 6 of 6) sorted by relevance
103 public boolean isProviderEnabled() { in isProviderEnabled() method in TestLocationListener
121 .isProviderEnabled(LocationManager.GPS_PROVIDER); in canTestRunOnCurrentDevice()
81 .filter(mLocationManager::isProviderEnabled) in requestCurrentLocation()
66 if (!locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in collectGnssHardwareModelName()
174 assertThat(mManager.isProviderEnabled(TEST_PROVIDER)).isTrue(); in testIsProviderEnabled()177 assertThat(mManager.isProviderEnabled(TEST_PROVIDER)).isFalse(); in testIsProviderEnabled()180 assertThat(mManager.isProviderEnabled(TEST_PROVIDER)).isTrue(); in testIsProviderEnabled()183 mManager.isProviderEnabled(provider); in testIsProviderEnabled()187 mManager.isProviderEnabled(null); in testIsProviderEnabled()1036 assertThat(mManager.isProviderEnabled(GPS_PROVIDER)).isTrue(); in testRequestGpsUpdates_B9758659()1447 assertThat(mManager.isProviderEnabled(provider)).isFalse(); in testSetTestProviderEnabled()1449 assertThat(mManager.isProviderEnabled(provider)).isTrue(); in testSetTestProviderEnabled()
423 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()468 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsStatus()