Searched refs:mMockLocationManager (Results 1 – 2 of 2) sorted by relevance
46 private LocationManager mMockLocationManager; field in LocationManagerProxyTest52 .thenReturn(mMockLocationManager); in setUp()60 verify(mMockLocationManager).injectLocation(location); in testLocationManagerProxyCanInjectLocation()66 when(mMockLocationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER)) in testLocationManagerProxyCanGetLastKnownLocation()75 when(mMockLocationManager.isLocationEnabled()).thenReturn(true); in testLocationManagerProxyCanCheckIfLocationIsEnabled()78 when(mMockLocationManager.isLocationEnabled()).thenReturn(false); in testLocationManagerProxyCanCheckIfLocationIsEnabled()
121 private LocationManager mMockLocationManager; field in SatelliteAccessControllerTest220 mMockLocationManager); in setUp()247 when(mMockLocationManager.getProviders(true)).thenReturn(LOCATION_PROVIDERS); in setUp()248 when(mMockLocationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER)) in setUp()250 when(mMockLocationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER)) in setUp()273 mMockFeatureFlags, mLooper, mMockLocationManager, mMockTelecomManager, in setUp()387 verify(mMockLocationManager).getCurrentLocation(eq(LocationManager.GPS_PROVIDER), in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()418 verify(mMockLocationManager).getCurrentLocation(anyString(), any(LocationRequest.class), in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()448 verify(mMockLocationManager, never()).getCurrentLocation(anyString(), in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()541 clearInvocations(mMockLocationManager); in clearAllInvocations()