Home
last modified time | relevance | path

Searched refs:getSoftApConfiguration (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherSecurityPreferenceControllerTest.java72 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()
DWifiTetherMaximizeCompatibilityPreferenceControllerTest.java72 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()
DWifiTetherViewModelTest.java114 mViewModel.getSoftApConfiguration(); in getSoftApConfiguration_getConfigFromRepository()
116 verify(mWifiHotspotRepository).getSoftApConfiguration(); in getSoftApConfiguration_getConfigFromRepository()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java135 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/
DWifiTetherSSIDPreferenceControllerTest.java86 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()
DWifiTetherAutoOffPreferenceControllerTest.java66 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setup()
149 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setAutoOffSetting()
157 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setConfigShutdownSecondarySap()
DWifiTetherPasswordPreferenceControllerTest.java92 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/
DWifiHotspotRepository.java137 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/
DWifiTetherAutoOffPreferenceController.java50 SoftApConfiguration softApConfiguration = mWifiManager.getSoftApConfiguration(); in updateState()
58 SoftApConfiguration softApConfiguration = mWifiManager.getSoftApConfiguration(); in handlePreferenceChanged()
DCarWifiManager.java180 return mWifiManager.getSoftApConfiguration(); in getSoftApConfig()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherAutoOffPreferenceController.java56 SoftApConfiguration softApConfiguration = mWifiManager.getSoftApConfiguration(); in updateState()
66 new SoftApConfiguration.Builder(mWifiManager.getSoftApConfiguration()); in onPreferenceChange()
DWifiTetherViewModel.java134 public SoftApConfiguration getSoftApConfiguration() { in getSoftApConfiguration() method in WifiTetherViewModel
135 return mWifiHotspotRepository.getSoftApConfiguration(); in getSoftApConfiguration()
DWifiTetherMaximizeCompatibilityPreferenceController.java105 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in isMaximizeCompatibilityEnabled()
DWifiTetherSecurityPreferenceController.java102 final int securityType = mWifiManager.getSoftApConfiguration().getSecurityType(); in updateDisplay()
DWifiTetherSSIDPreferenceController.java72 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in updateDisplay()
DWifiTetherPasswordPreferenceController.java72 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in updateDisplay()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherAutoOffPreferenceControllerTest.java62 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setUp()
116 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setAutoOffSetting()
/packages/services/Car/service/src/com/android/car/wifi/
DCarWifiService.java222 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/
DCarProjectionServiceTest.java152 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/
DSoftApModeConfiguration.java68 public SoftApConfiguration getSoftApConfiguration() { in getSoftApConfiguration() method in SoftApModeConfiguration
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionControllerTest.java80 when(mWifiManager.getSoftApConfiguration()).thenReturn(wifiApConfig); in setupSoftApConfiguration()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java681 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/
DHotspotConditionController.java120 final SoftApConfiguration softApConfig = mWifiManager.getSoftApConfiguration(); in getSsid()
/packages/modules/Connectivity/common/
Dflags.aconfig43 …lag controls the access for the parcelable TetheringRequest with getSoftApConfiguration/setSoftApC…
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceController.java166 final SoftApConfiguration config = mWifiManager.getSoftApConfiguration(); in setTetherSsidName()

12