Searched refs:loc1 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationManagerFineTest.java | 197 Location loc1 = createLocation(TEST_PROVIDER, mRandom); in testGetLastKnownLocation() local 200 mManager.setTestProviderLocation(TEST_PROVIDER, loc1); in testGetLastKnownLocation() 201 assertThat(mManager.getLastKnownLocation(TEST_PROVIDER)).isEqualTo(loc1); in testGetLastKnownLocation() 309 Location loc1 = createLocation(TEST_PROVIDER, mRandom); in testGetLastKnownLocation_RemoveProvider() local 311 mManager.setTestProviderLocation(TEST_PROVIDER, loc1); in testGetLastKnownLocation_RemoveProvider() 465 Location loc1 = createLocation(TEST_PROVIDER, mRandom); in testRequestLocationUpdates() local 472 mManager.setTestProviderLocation(TEST_PROVIDER, loc1); in testRequestLocationUpdates() 473 assertThat(capture.getNextLocation(TIMEOUT_MS)).isEqualTo(loc1); in testRequestLocationUpdates() 483 mManager.setTestProviderLocation(TEST_PROVIDER, loc1); in testRequestLocationUpdates() 541 Location loc1 = createLocation(TEST_PROVIDER, mRandom); in testRequestLocationUpdates_PendingIntent() local [all …]
|
/cts/tests/location/location_coarse/src/android/location/cts/coarse/ |
D | LocationManagerCoarseTest.java | 159 Location loc1 = createLocation(TEST_PROVIDER, mRandom); in testGetLastKnownLocation_FastInterval() local 162 mManager.setTestProviderLocation(TEST_PROVIDER, loc1); in testGetLastKnownLocation_FastInterval()
|