Home
last modified time | relevance | path

Searched refs:updateCountryCode (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkCountryCode.java265 updateCountryCode(false /* forceUpdate */); in initialize()
291 updateCountryCode(false /* forceUpdate */); in geocodeListener()
333 updateCountryCode(false /* forceUpdate */); in onActiveCountryCodeChanged()
342 updateCountryCode(false /* forceUpdate */); in onCountryCodeInactive()
453 updateCountryCode(false /* forceUpdate */); in setTelephonyCountryCodeAndLastKnownCountryCode()
544 public synchronized void updateCountryCode(boolean forceUpdate) {
586 updateCountryCode(true /* forceUpdate */);
592 updateCountryCode(true /* forceUpdate */);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java348 updateCountryCode(true); in evaluateAllCmmStateAndApplyIfAllReady()
369 updateCountryCode(false); in setOverrideCountryCode()
377 updateCountryCode(false); in clearOverrideCountryCode()
419 updateCountryCode(false); in setTelephonyCountryCodeAndUpdate()
456 updateCountryCode(false); in updateCountryCodeFromScanResults()
582 updateCountryCode(false); in setDefaultCountryCode()
619 private void updateCountryCode(boolean isClientModeOnly) { in updateCountryCode() method in WifiCountryCode
727 if (!sm.updateCountryCode(country)) { in setCountryCodeNative()
DSoftApManager.java795 public boolean updateCountryCode(@NonNull String countryCode) { in updateCountryCode() method in SoftApManager
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java616 when(mSoftApManager.updateCountryCode(anyString())).thenReturn(true); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
620 verify(mSoftApManager, never()).updateCountryCode(anyString()); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
626 verify(mSoftApManager, never()).updateCountryCode(anyString()); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
638 verify(mSoftApManager).updateCountryCode(mTelephonyCountryCode); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
648 verify(mSoftApManager, never()).updateCountryCode(anyString()); in testCountryCodeChangedWhenSoftApManagerActive()
650 verify(mSoftApManager).updateCountryCode(mTelephonyCountryCode); in testCountryCodeChangedWhenSoftApManagerActive()
667 verify(mSoftApManager, never()).updateCountryCode(anyString()); in testCountryCodeChangedWhenSoftApManagerActiveAndForceSoftApRestart()
DSoftApManagerTest.java3842 mSoftApManager.updateCountryCode(TEST_COUNTRY_CODE + "TW"); in testUpdateCountryCodeWhenConfigDisabled()
3856 mSoftApManager.updateCountryCode(TEST_COUNTRY_CODE + "TW"); in testUpdateCountryCodeWhenConfigEnabled()
3870 mSoftApManager.updateCountryCode(TEST_COUNTRY_CODE); in testUpdateSameCountryCodeWhenConfigEnabled()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DIwlanNetworkStatusTracker.java277 mCountryDetector.unregisterCountryDetectorCallback(this::updateCountryCode); in onClose()
623 new QnsUtils.QnsExecutor(mNetCbHandler), this::updateCountryCode); in startCountryDetector()
628 private void updateCountryCode(Country country) { in updateCountryCode() method in IwlanNetworkStatusTracker
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java408 mThreadNetworkCountryCode.updateCountryCode(false /* forceUpdate */); in updateCountryCode_noForceUpdateDefaultCountryCode_noCountryCodeIsUpdated()
418 mThreadNetworkCountryCode.updateCountryCode(true /* forceUpdate */); in updateCountryCode_forceUpdateDefaultCountryCode_countryCodeIsUpdated()