/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | WifiTetherSecurityPreferenceControllerTest.java | 72 when(mWifiManager.getSoftApConfiguration()).thenReturn(mConfig); in setUp() 127 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_toWpa3Sae_shouldUpdateSecurityValue() 141 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_toWpa3SaeTransition_shouldUpdateSecurityValue() 155 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_toWpa2Psk_shouldUpdateSecurityValue() 168 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_toNone_shouldUpdateSecurityValue() 183 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_toWpa3SaeButNotSupportWpa3_shouldBeDefaultToWpa2() 198 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_toWpa3SaeTransitionButNotSupportWpa3_shouldBeDefaultToWpa2()
|
D | WifiTetherMaximizeCompatibilityPreferenceControllerTest.java | 72 doReturn(mConfig).when(mWifiManager).getSoftApConfiguration(); in setUp() 158 doReturn(config).when(mWifiManager).getSoftApConfiguration(); in isMaximizeCompatibilityEnabled_concurrencySupportedAndDisabled_returnTrue() 169 doReturn(config).when(mWifiManager).getSoftApConfiguration(); in isMaximizeCompatibilityEnabled_noConcurrencyAndGetBand2gOnly_returnFalse() 180 doReturn(config).when(mWifiManager).getSoftApConfiguration(); in isMaximizeCompatibilityEnabled_noConcurrencyAndGetBand5gOnly_returnTrue() 191 doReturn(config).when(mWifiManager).getSoftApConfiguration(); in isMaximizeCompatibilityEnabled_noConcurrencyAndGetBand2gAnd5g_returnTrue()
|
D | WifiTetherViewModelTest.java | 114 mViewModel.getSoftApConfiguration(); in getSoftApConfiguration_getConfigFromRepository() 116 verify(mWifiHotspotRepository).getSoftApConfiguration(); in getSoftApConfiguration_getConfigFromRepository()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/ |
D | WifiHotspotRepositoryTest.java | 135 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in queryLastPasswordIfNeeded_securityTypeIsOpen_queryLastPassword() 148 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in queryLastPasswordIfNeeded_securityTypeIsNotOpen_notQueryLastPassword() 189 mRepository.getSoftApConfiguration(); in getSoftApConfiguration_getConfigFromWifiManager() 191 verify(mWifiManager).getSoftApConfiguration(); in getSoftApConfiguration_getConfigFromWifiManager() 218 verify(mWifiManager, never()).getSoftApConfiguration(); in refresh_liveDataNotUsed_doNothing() 227 verify(mWifiManager, atLeast(1)).getSoftApConfiguration(); in refresh_liveDataIsUsed_getConfigAndUpdateLiveData() 354 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in getSpeedType_shouldNotReturnNull() 363 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateSpeedType_singleBand2g_get2gSpeedType() 375 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateSpeedType_singleBand5gPreferred_get5gSpeedType() 388 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateSpeedType_singleBand5gPreferredBut5gUnavailable_get2gSpeedType() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherSSIDPreferenceControllerTest.java | 86 when(mWifiManager.getSoftApConfiguration()).thenReturn(null); in displayPreference_noWifiConfig_shouldDisplayDefaultSSID() 97 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in displayPreference_hasCustomWifiConfig_shouldDisplayCustomSSID() 142 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_shouldUpdateValue() 156 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in displayPreference_wifiApDisabled_shouldHideQrCodeIcon() 168 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in displayPreference_wifiApEnabled_shouldShowQrCodeIcon()
|
D | WifiTetherAutoOffPreferenceControllerTest.java | 66 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setup() 149 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setAutoOffSetting() 157 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setConfigShutdownSecondarySap()
|
D | WifiTetherPasswordPreferenceControllerTest.java | 92 when(mWifiManager.getSoftApConfiguration()).thenReturn(mConfig); in setUp() 156 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_shouldUpdateValue() 176 when(mWifiManager.getSoftApConfiguration()).thenReturn(config); in updateDisplay_shouldSetInputType()
|
/packages/apps/Settings/src/com/android/settings/wifi/repository/ |
D | WifiHotspotRepository.java | 137 SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in queryLastPasswordIfNeeded() 179 public SoftApConfiguration getSoftApConfiguration() { in getSoftApConfiguration() method in WifiHotspotRepository 180 return mWifiManager.getSoftApConfiguration(); in getSoftApConfiguration() 238 SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in updateSecurityType() 259 SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in setSecurityType() 291 SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in updateSpeedType() 333 SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in setSpeedType()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherAutoOffPreferenceController.java | 50 SoftApConfiguration softApConfiguration = mWifiManager.getSoftApConfiguration(); in updateState() 58 SoftApConfiguration softApConfiguration = mWifiManager.getSoftApConfiguration(); in handlePreferenceChanged()
|
D | CarWifiManager.java | 180 return mWifiManager.getSoftApConfiguration(); in getSoftApConfig()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherAutoOffPreferenceController.java | 56 SoftApConfiguration softApConfiguration = mWifiManager.getSoftApConfiguration(); in updateState() 66 new SoftApConfiguration.Builder(mWifiManager.getSoftApConfiguration()); in onPreferenceChange()
|
D | WifiTetherViewModel.java | 134 public SoftApConfiguration getSoftApConfiguration() { in getSoftApConfiguration() method in WifiTetherViewModel 135 return mWifiHotspotRepository.getSoftApConfiguration(); in getSoftApConfiguration()
|
D | WifiTetherMaximizeCompatibilityPreferenceController.java | 105 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in isMaximizeCompatibilityEnabled()
|
D | WifiTetherSecurityPreferenceController.java | 102 final int securityType = mWifiManager.getSoftApConfiguration().getSecurityType(); in updateDisplay()
|
D | WifiTetherSSIDPreferenceController.java | 72 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in updateDisplay()
|
D | WifiTetherPasswordPreferenceController.java | 72 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in updateDisplay()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiTetherAutoOffPreferenceControllerTest.java | 62 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setUp() 116 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setAutoOffSetting()
|
/packages/services/Car/service/src/com/android/car/wifi/ |
D | CarWifiService.java | 222 mWifiManager.getSoftApConfiguration().isAutoShutdownEnabled()); in dumpProto() 236 + mWifiManager.getSoftApConfiguration().isAutoShutdownEnabled()); in dump() 305 mWifiManager.getSoftApConfiguration()) in setSoftApAutoShutdownEnabled()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarProjectionServiceTest.java | 152 when(mLohsReservation.getSoftApConfiguration()).thenReturn(AP_CONFIG); in setUp() 562 when(mWifiManager.getSoftApConfiguration()).thenReturn(softApConfig_2g); in startProjectionTetheredAccessPoint_ensure2GhzAnd5GhzAdded() 589 when(mWifiManager.getSoftApConfiguration()).thenReturn(softApConfig_2g5g); in startProjectionTetheredAccessPoint_ensureNotCalled2Ghz5Ghz() 615 when(mWifiManager.getSoftApConfiguration()).thenReturn(softApConfig_5g); in startProjectionTetheredAccessPoint_ensureNotCalled5Ghz() 651 when(mWifiManager.getSoftApConfiguration()).thenReturn(softApConfig_2g5g); in startProjectionTetheredAccessPoint_ensure5GhzOnlyNoConcurrency()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SoftApModeConfiguration.java | 68 public SoftApConfiguration getSoftApConfiguration() { in getSoftApConfiguration() method in SoftApModeConfiguration
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | HotspotConditionControllerTest.java | 80 when(mWifiManager.getSoftApConfiguration()).thenReturn(wifiApConfig); in setupSoftApConfiguration()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 681 sendApStarted(mWifiManager.getSoftApConfiguration()); in startTetheredApLocked() 727 sendApStarted(mLocalOnlyHotspotReservation.getSoftApConfiguration()); in startLocalOnlyApLocked() 1063 SoftApConfiguration apConfig = mWifiManager.getSoftApConfiguration(); in ensureApConfiguration() 1103 sendApStarted(mWifiManager.getSoftApConfiguration()); in onStateChanged() 1223 new SoftApConfiguration.Builder(reservation.getSoftApConfiguration()) in onStarted()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | HotspotConditionController.java | 120 final SoftApConfiguration softApConfig = mWifiManager.getSoftApConfiguration(); in getSsid()
|
/packages/modules/Connectivity/common/ |
D | flags.aconfig | 43 …lag controls the access for the parcelable TetheringRequest with getSoftApConfiguration/setSoftApC…
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceController.java | 166 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in setTetherSsidName()
|