Searched refs:locationListener (Results 1 – 7 of 7) sorted by relevance
/cts/tests/location/common/src/android/location/cts/common/ |
D | TestLocationManager.java | 138 LocationListener locationListener) { in requestLowPowerModeGnssLocationUpdates() argument 145 locationListener); in requestLowPowerModeGnssLocationUpdates() 165 public void requestLocationUpdates(LocationListener locationListener, int minTimeMsec) { in requestLocationUpdates() argument 171 locationListener, in requestLocationUpdates() 181 public void requestLocationUpdates(LocationListener locationListener) { in requestLocationUpdates() argument 182 requestLocationUpdates(locationListener, 0 /* minTimeMsec */); in requestLocationUpdates() 190 public void requestNetworkLocationUpdates(LocationListener locationListener) { in requestNetworkLocationUpdates() argument 196 locationListener, in requestNetworkLocationUpdates() 206 public void requestPassiveLocationUpdates(LocationListener locationListener, int minTimeMsec) { in requestPassiveLocationUpdates() argument 212 locationListener, in requestPassiveLocationUpdates()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssLocationUpdateIntervalTest.java | 151 TestLocationListener locationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in testUtcToElapsedRealtimeDriftAtInterval() local 152 mTestLocationManager.requestLocationUpdates(locationListener, 1000); in testUtcToElapsedRealtimeDriftAtInterval() 173 success = locationListener.await(); in testUtcToElapsedRealtimeDriftAtInterval() 182 locationListener.clearReceivedLocationsAndResetCounter(LOCATION_TO_COLLECT_COUNT); in testUtcToElapsedRealtimeDriftAtInterval() 184 success = locationListener.await( in testUtcToElapsedRealtimeDriftAtInterval() 190 mTestLocationManager.removeLocationUpdates(locationListener); in testUtcToElapsedRealtimeDriftAtInterval() 193 List<Location> locations = locationListener.getReceivedLocationList(); in testUtcToElapsedRealtimeDriftAtInterval()
|
D | GnssTtffTests.java | 139 TestLocationListener locationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in checkTtffByThreshold() local 140 mTestLocationManager.requestLocationUpdates(locationListener); in checkTtffByThreshold() 153 mTestLocationManager.removeLocationUpdates(locationListener); in checkTtffByThreshold()
|
D | GnssStatusTest.java | 42 TestLocationListener locationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in checkGnssChange() local 43 mTestLocationManager.requestLocationUpdates(locationListener); in checkGnssChange() 48 mTestLocationManager.removeLocationUpdates(locationListener); in checkGnssChange()
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssLocationValuesTest.java | 93 TestLocationListener locationListener = new TestLocationListener(LOCATION_TO_COLLECT_COUNT); in waitForRegularGnssLocations() local 94 mTestLocationManager.requestLocationUpdates(locationListener); in waitForRegularGnssLocations() 95 boolean success = locationListener.await(); in waitForRegularGnssLocations() 96 mTestLocationManager.removeLocationUpdates(locationListener); in waitForRegularGnssLocations()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsLoggingTest.kt | 559 val locationListener = object : LocationListener { in nativeNoteOp() constant 569 locationManager.requestSingleUpdate(LocationManager.NETWORK_PROVIDER, locationListener, in nativeNoteOp() 587 assertThat(asyncNoted[0].message).contains(locationListener::class.java.name) in nativeNoteOp() 589 Integer.toString(System.identityHashCode(locationListener))) in nativeNoteOp()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationManagerFineTest.java | 851 LocationListenerCapture locationListener = new LocationListenerCapture(mContext)) { in testAddProviderRequestListener() 855 Executors.newSingleThreadExecutor(), locationListener); in testAddProviderRequestListener()
|