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.java88 private WifiConfiguration mApConfig; field in SoftApManager
131 mApConfig = mWifiApConfigStore.getApConfiguration(); in SoftApManager()
133 mApConfig = config; in SoftApManager()
143 mStateMachine.sendMessage(SoftApStateMachine.CMD_START, mApConfig); in start()
174 if (mApConfig != null) { in dump()
175 pw.println("mApConfig.SSID: " + mApConfig.SSID); in dump()
176 pw.println("mApConfig.apBand: " + mApConfig.apBand); in dump()
177 pw.println("mApConfig.hiddenSSID: " + mApConfig.hiddenSSID); in dump()
539 if (mApConfig.apBand == WifiConfiguration.AP_BAND_2GHZ) { in processMessage()
542 } else if (mApConfig.apBand == WifiConfiguration.AP_BAND_5GHZ) { in processMessage()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java77 @Mock WifiConfiguration mApConfig; field in WifiManagerTest
104 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(true); in testStartSoftApCallsServiceWithWifiConfig()
105 assertTrue(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
107 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(false); in testStartSoftApCallsServiceWithWifiConfig()
108 assertFalse(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
147 callback.onStarted(mWifiManager.new LocalOnlyHotspotReservation(mApConfig)); in testCreationAndCloseOfLocalOnlyHotspotReservation()
149 assertEquals(mApConfig, callback.mRes.getWifiConfiguration()); in testCreationAndCloseOfLocalOnlyHotspotReservation()
165 callback.onStarted(mWifiManager.new LocalOnlyHotspotReservation(mApConfig)); in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources()
168 assertEquals(mApConfig, res.getWifiConfiguration()); in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources()
226 mWifiManager.new LocalOnlyHotspotReservation(mApConfig); in testLocalOnlyHotspotCallback()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java188 @Mock WifiConfiguration mApConfig; field in WifiServiceImplTest
977 boolean result = mWifiServiceImpl.startSoftAp(mApConfig); in testStartSoftApWithPermissionsAndInvalidConfig()