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.java103 private SoftApModeConfiguration mApConfig; field in SoftApManager
194 mApConfig = new SoftApModeConfiguration(apConfig.getTargetMode(), in SoftApManager()
286 pw.println("mApConfig.targetMode: " + mApConfig.getTargetMode()); in dump()
287 SoftApConfiguration softApConfig = mApConfig.getSoftApConfiguration(); in dump()
329 intent.putExtra(WifiManager.EXTRA_WIFI_AP_MODE, mApConfig.getTargetMode()); in updateApState()
334 MacAddress mac = mApConfig.getSoftApConfiguration().getBssid(); in setMacAddress()
366 int band = mApConfig.getSoftApConfiguration().getBand(); in setCountryCode()
396 SoftApConfiguration config = mApConfig.getSoftApConfiguration(); in startSoftAp()
615 if (mApConfig.getTargetMode() == WifiManager.IFACE_IP_MODE_TETHERED) { in processMessage()
623 mApConfig = new SoftApModeConfiguration(mApConfig.getTargetMode(), in processMessage()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java132 @Mock WifiConfiguration mApConfig; field in WifiManagerTest
222 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(true); in testStartSoftApCallsServiceWithWifiConfig()
223 assertTrue(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
225 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(false); in testStartSoftApCallsServiceWithWifiConfig()
226 assertFalse(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java285 @Mock WifiConfiguration mApConfig; field in WifiServiceImplTest
1275 boolean result = mWifiServiceImpl.startSoftAp(mApConfig); in testStartSoftApWithPermissionsAndInvalidConfig()
1332 assertFalse(mWifiServiceImpl.startSoftAp(mApConfig)); in testStartSoftApWithValidConfigSucceedsAfterFailure()