Home
last modified time | relevance | path

Searched refs:injectLocation (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java216 when(mMockLocationManagerProxy.injectLocation(argument.capture())).thenReturn(true); in testLoadsLocationWithHeadlessSystemUser()
243 verify(mMockLocationManagerProxy, never()).injectLocation(any()); in testDoesNotLoadLocationWhenNoFileExists()
258 verify(mMockLocationManagerProxy, never()).injectLocation(any()); in testDoesNotLoadLocationFromIncompleteFile()
273 verify(mMockLocationManagerProxy, never()).injectLocation(any()); in testDoesNotLoadLocationFromCorruptFile()
289 verify(mMockLocationManagerProxy, never()).injectLocation(any()); in testDoesNotLoadIncompleteLocation()
308 verify(mMockLocationManagerProxy, never()).injectLocation(any()); in testDoesNotLoadOldLocation()
DLocationManagerProxyTest.java59 mLocationManagerProxy.injectLocation(location); in testLocationManagerProxyCanInjectLocation()
60 verify(mMockLocationManager).injectLocation(location); in testLocationManagerProxyCanInjectLocation()
/packages/services/Car/car-lib/src/android/car/test/
DCarLocationTestHelper.java35 public static boolean injectLocation(Location location, Context context) { in injectLocation() method in CarLocationTestHelper
38 return locationManager.injectLocation(location); in injectLocation()
/packages/services/Car/service/src/com/android/car/
DLocationManagerProxy.java51 public boolean injectLocation(Location location) { in injectLocation() method in LocationManagerProxy
52 return mLocationManager.injectLocation(location); in injectLocation()
DCarLocationService.java380 injectLocation(location, 1); in loadLocation()
461 private void injectLocation(Location location, int attemptCount) { in injectLocation() method in CarLocationService
468 success = mILocationManagerProxy.injectLocation(location); in injectLocation()
480 injectLocation(location, attemptCount + 1); in injectLocation()
/packages/services/Car/car-lib/src/android/car/
DILocationManagerProxy.aidl23 boolean injectLocation(in Location location); in injectLocation() method