Searched refs:injectLocation (Results 1 – 6 of 6) sorted by relevance
216 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()
59 mLocationManagerProxy.injectLocation(location); in testLocationManagerProxyCanInjectLocation()60 verify(mMockLocationManager).injectLocation(location); in testLocationManagerProxyCanInjectLocation()
35 public static boolean injectLocation(Location location, Context context) { in injectLocation() method in CarLocationTestHelper38 return locationManager.injectLocation(location); in injectLocation()
51 public boolean injectLocation(Location location) { in injectLocation() method in LocationManagerProxy52 return mLocationManager.injectLocation(location); in injectLocation()
380 injectLocation(location, 1); in loadLocation()461 private void injectLocation(Location location, int attemptCount) { in injectLocation() method in CarLocationService468 success = mILocationManagerProxy.injectLocation(location); in injectLocation()480 injectLocation(location, attemptCount + 1); in injectLocation()
23 boolean injectLocation(in Location location); in injectLocation() method