Searched refs:isProviderEnabled (Results 1 – 6 of 6) sorted by relevance
88 public boolean isProviderEnabled() { in isProviderEnabled() method in TestLocationListener
239 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()249 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()279 boolean lmGps = mManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in testModeAndProviderApisConsistent()280 boolean lmNlp = mManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); in testModeAndProviderApisConsistent()930 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()933 assertFalse(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()936 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()939 mManager.isProviderEnabled(null); in testIsProviderEnabled()
103 .isProviderEnabled(LocationManager.GPS_PROVIDER); in canTestRunOnCurrentDevice()
300 mLocationManager.isProviderEnabled(provider); in checkIsProviderEnabled()
209 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in doGpsUpdate()
233 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()