Home
last modified time | relevance | path

Searched refs:loc2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java198 Location loc2 = createLocation(TEST_PROVIDER, mRandom); in testGetLastKnownLocation() local
203 mManager.setTestProviderLocation(TEST_PROVIDER, loc2); in testGetLastKnownLocation()
204 assertThat(mManager.getLastKnownLocation(TEST_PROVIDER)).isEqualTo(loc2); in testGetLastKnownLocation()
466 Location loc2 = createLocation(TEST_PROVIDER, mRandom); in testRequestLocationUpdates() local
474 mManager.setTestProviderLocation(TEST_PROVIDER, loc2); in testRequestLocationUpdates()
475 assertThat(capture.getNextLocation(TIMEOUT_MS)).isEqualTo(loc2); in testRequestLocationUpdates()
542 Location loc2 = createLocation(TEST_PROVIDER, mRandom); in testRequestLocationUpdates_PendingIntent() local
549 mManager.setTestProviderLocation(TEST_PROVIDER, loc2); in testRequestLocationUpdates_PendingIntent()
550 assertThat(capture.getNextLocation(TIMEOUT_MS)).isEqualTo(loc2); in testRequestLocationUpdates_PendingIntent()
606 Location loc2 = createLocation(TEST_PROVIDER, mRandom); in testRequestLocationUpdates_DirectExecutor() local
[all …]
/cts/tests/location/location_coarse/src/android/location/cts/coarse/
DLocationManagerCoarseTest.java160 Location loc2 = createLocation(TEST_PROVIDER, mRandom); in testGetLastKnownLocation_FastInterval() local
164 mManager.setTestProviderLocation(TEST_PROVIDER, loc2); in testGetLastKnownLocation_FastInterval()