Searched refs:getLocationManager (Results 1 – 5 of 5) sorted by relevance
113 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()
123 public LocationManager getLocationManager() { in getLocationManager() method in BatterySavingTestBase
51 mTestLocationManager.getLocationManager().getGnssHardwareModelName(); in testHardwareModelName()
236 public LocationManager getLocationManager() { in getLocationManager() method in TestLocationManager
109 boolean gpsProviderEnabled = testLocationManager.getLocationManager() in canTestRunOnCurrentDevice()