Home
last modified time | relevance | path

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

/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java48 private static CountryDetector mCountryDetector; field in IwlanHelper
228 mCountryDetector = context.getSystemService(CountryDetector.class); in startCountryDetector()
229 if (mCountryDetector != null) { in startCountryDetector()
230 updateCountryCodeFromCountryDetector(mCountryDetector.detectCountry()); in startCountryDetector()
232 mCountryDetector.addCountryListener( in startCountryDetector()
248 if (mCountryDetector != null) { in updateCountryCodeWhenNetworkConnected()
249 updateCountryCodeFromCountryDetector(mCountryDetector.detectCountry()); in updateCountryCodeWhenNetworkConnected()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DIwlanNetworkStatusTracker.java85 private CountryDetector mCountryDetector; field in IwlanNetworkStatusTracker
277 mCountryDetector.unregisterCountryDetectorCallback(this::updateCountryCode); in onClose()
620 mCountryDetector = mContext.getSystemService(CountryDetector.class); in startCountryDetector()
621 if (mCountryDetector != null) { in startCountryDetector()
622 mCountryDetector.registerCountryDetectorCallback( in startCountryDetector()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DMyMockContext.java44 CountryDetector mCountryDetector; field in MyMockContext
82 return mCountryDetector; in getSystemService()
DBlockedNumberProviderTest.java84 when(mMockContext.mCountryDetector.detectCountry()) in setUp()
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessController.java150 private final TelephonyCountryDetector mCountryDetector; field in SatelliteAccessController
271 mCountryDetector = TelephonyCountryDetector.getInstance(context); in SatelliteAccessController()
941 List<String> networkCountryIsoList = mCountryDetector.getCurrentNetworkCountryIso(); in checkSatelliteAccessRestrictionForCurrentLocation()
1026 mCountryDetector.getCachedLocationCountryIsoInfo(); in checkSatelliteAccessRestrictionUsingCachedCountryCodes()
1028 mCountryDetector.getCachedNetworkCountryIsoInfo(); in checkSatelliteAccessRestrictionUsingCachedCountryCodes()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java242 return mCountryDetector; in getSystemService()
630 private final CountryDetector mCountryDetector = mock(CountryDetector.class);