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.java91 private WifiConfiguration mApConfig; field in SoftApManager
148 mApConfig = mWifiApConfigStore.getApConfiguration(); in SoftApManager()
150 mApConfig = config; in SoftApManager()
162 mStateMachine.sendMessage(SoftApStateMachine.CMD_START, mApConfig); in start()
201 if (mApConfig != null) { in dump()
202 pw.println("mApConfig.SSID: " + mApConfig.SSID); in dump()
203 pw.println("mApConfig.apBand: " + mApConfig.apBand); in dump()
204 pw.println("mApConfig.hiddenSSID: " + mApConfig.hiddenSSID); in dump()
596 if (mApConfig.apBand == WifiConfiguration.AP_BAND_2GHZ in updateUserBandPreferenceViolationMetricsIfNeeded()
599 } 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
141 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(true); in testStartSoftApCallsServiceWithWifiConfig()
142 assertTrue(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
144 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(false); in testStartSoftApCallsServiceWithWifiConfig()
145 assertFalse(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
184 callback.onStarted(mWifiManager.new LocalOnlyHotspotReservation(mApConfig)); in testCreationAndCloseOfLocalOnlyHotspotReservation()
186 assertEquals(mApConfig, callback.mRes.getWifiConfiguration()); in testCreationAndCloseOfLocalOnlyHotspotReservation()
202 callback.onStarted(mWifiManager.new LocalOnlyHotspotReservation(mApConfig)); in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources()
205 assertEquals(mApConfig, res.getWifiConfiguration()); in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources()
263 mWifiManager.new LocalOnlyHotspotReservation(mApConfig); in testLocalOnlyHotspotCallback()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java244 @Mock WifiConfiguration mApConfig; field in WifiServiceImplTest
1181 boolean result = mWifiServiceImpl.startSoftAp(mApConfig); in testStartSoftApWithPermissionsAndInvalidConfig()