Searched refs:mMockCountryDetector (Results 1 – 4 of 4) sorted by relevance
125 private TelephonyCountryDetector mMockCountryDetector; field in SatelliteAccessControllerTest232 mMockCountryDetector); in setUp()341 when(mMockCountryDetector.getCurrentNetworkCountryIso()).thenReturn(EMPTY_STRING_LIST); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()376 when(mMockCountryDetector.getCurrentNetworkCountryIso()).thenReturn(EMPTY_STRING_LIST); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()405 when(mMockCountryDetector.getCurrentNetworkCountryIso()).thenReturn(EMPTY_STRING_LIST); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()411 when(mMockCountryDetector.getCachedLocationCountryIsoInfo()).thenReturn(new Pair<>("", 0L)); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()412 when(mMockCountryDetector.getCachedNetworkCountryIsoInfo()).thenReturn(new HashMap<>()); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()436 when(mMockCountryDetector.getCurrentNetworkCountryIso()).thenReturn(EMPTY_STRING_LIST); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()437 when(mMockCountryDetector.getCachedLocationCountryIsoInfo()).thenReturn(new Pair<>("", 0L)); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()438 when(mMockCountryDetector.getCachedNetworkCountryIsoInfo()).thenReturn(new HashMap<>()); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()[all …]
63 @Mock protected CountryDetector mMockCountryDetector; field in QnsTest151 when(sMockContext.getSystemService(CountryDetector.class)).thenReturn(mMockCountryDetector); in stubContext()171 when(mMockCountryDetector.detectCountry()) in stubManagers()
379 verify(mMockCountryDetector) in testIsInternationalRoaming()
121 private CountryDetector mMockCountryDetector = new CountryDetector(null){ field in ContactsActor345 return mMockCountryDetector; in ContactsActor()395 return mMockCountryDetector; in ContactsActor()