Home
last modified time | relevance | path

Searched refs:mApConfig (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java86 private WifiConfiguration mApConfig; field in SoftApManager
140 mApConfig = mWifiApConfigStore.getApConfiguration(); in SoftApManager()
142 mApConfig = config; in SoftApManager()
153 mStateMachine.sendMessage(SoftApStateMachine.CMD_START, mApConfig); in start()
192 if (mApConfig != null) { in dump()
193 pw.println("mApConfig.SSID: " + mApConfig.SSID); in dump()
194 pw.println("mApConfig.apBand: " + mApConfig.apBand); in dump()
195 pw.println("mApConfig.hiddenSSID: " + mApConfig.hiddenSSID); in dump()
560 if (mApConfig.apBand == WifiConfiguration.AP_BAND_2GHZ in updateUserBandPreferenceViolationMetricsIfNeeded()
563 } else if (mApConfig.apBand == WifiConfiguration.AP_BAND_5GHZ in updateUserBandPreferenceViolationMetricsIfNeeded()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java107 @Mock WifiConfiguration mApConfig; field in WifiManagerTest
140 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(true); in testStartSoftApCallsServiceWithWifiConfig()
141 assertTrue(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
143 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(false); in testStartSoftApCallsServiceWithWifiConfig()
144 assertFalse(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
183 callback.onStarted(mWifiManager.new LocalOnlyHotspotReservation(mApConfig)); in testCreationAndCloseOfLocalOnlyHotspotReservation()
185 assertEquals(mApConfig, callback.mRes.getWifiConfiguration()); in testCreationAndCloseOfLocalOnlyHotspotReservation()
201 callback.onStarted(mWifiManager.new LocalOnlyHotspotReservation(mApConfig)); in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources()
204 assertEquals(mApConfig, res.getWifiConfiguration()); in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources()
262 mWifiManager.new LocalOnlyHotspotReservation(mApConfig); in testLocalOnlyHotspotCallback()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java238 @Mock WifiConfiguration mApConfig; field in WifiServiceImplTest
1069 boolean result = mWifiServiceImpl.startSoftAp(mApConfig); in testStartSoftApWithPermissionsAndInvalidConfig()