Home
last modified time | relevance | path

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

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverLocationTest.java113 mLocationManager = getLocationManager(); in setUp()
160 assertTrue(getLocationManager().isLocationEnabled()); in testLocationAllDisabled()
180 assertTrue(getLocationManager().isLocationEnabled()); in testLocationAllDisabled()
187 assertFalse(getLocationManager().isLocationEnabled()); in testLocationAllDisabled()
195 assertTrue(getLocationManager().isLocationEnabled()); in testLocationAllDisabled()
203 assertFalse(getLocationManager().isLocationEnabled()); in testLocationAllDisabled()
211 assertTrue(getLocationManager().isLocationEnabled()); in testLocationAllDisabled()
286 getLocationManager().setLocationEnabledForUser(true, Process.myUserHandle()); in testLocationRequestThrottling()
287 assertTrue(getLocationManager().isLocationEnabled()); in testLocationRequestThrottling()
303 assertTrue(getLocationManager().isLocationEnabled()); in testLocationRequestThrottling()
DBatterySavingTestBase.java123 public LocationManager getLocationManager() { in getLocationManager() method in BatterySavingTestBase
/cts/tests/tests/location/src/android/location/cts/
DGnssHardwareInfoTest.java51 mTestLocationManager.getLocationManager().getGnssHardwareModelName(); in testHardwareModelName()
DTestLocationManager.java236 public LocationManager getLocationManager() { in getLocationManager() method in TestLocationManager
DTestMeasurementUtil.java109 boolean gpsProviderEnabled = testLocationManager.getLocationManager() in canTestRunOnCurrentDevice()