Home
last modified time | relevance | path

Searched refs:startSoftAp (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java289 mActiveModeWarden.startSoftAp(softApConfig); in enterSoftApActiveMode()
802 mActiveModeWarden.startSoftAp(softApConfig1); in testStartSoftApModeTwiceWithTwoConfigs()
805 mActiveModeWarden.startSoftAp(softApConfig2); in testStartSoftApModeTwiceWithTwoConfigs()
991 mActiveModeWarden.startSoftAp(tetherConfig); in testStopTetheringButNotLOHS()
994 mActiveModeWarden.startSoftAp(lohsConfig); in testStopTetheringButNotLOHS()
1678 mActiveModeWarden.startSoftAp( in testSoftApModeDoesNotToggleOnWhenInEcm()
1718 mActiveModeWarden.startSoftAp( in testSoftApModeToggleWhenInAirplaneMode()
1794 mActiveModeWarden.startSoftAp( in testReturnToEnabledStateAfterAPModeShutdown()
1826 mActiveModeWarden.startSoftAp( in testReturnToEnabledStateAfterWifiEnabledShutdown()
2020 mActiveModeWarden.startSoftAp(new SoftApModeConfiguration( in testRestartWifiStackFullyStopsWifi()
DWifiServiceImplTest.java1264 boolean result = mWifiServiceImpl.startSoftAp(null); in testStartSoftApWithPermissionsAndNullConfig()
1266 verify(mActiveModeWarden).startSoftAp(mSoftApModeConfigCaptor.capture()); in testStartSoftApWithPermissionsAndNullConfig()
1275 boolean result = mWifiServiceImpl.startSoftAp(mApConfig); in testStartSoftApWithPermissionsAndInvalidConfig()
1277 verify(mActiveModeWarden, never()).startSoftAp(any()); in testStartSoftApWithPermissionsAndInvalidConfig()
1286 boolean result = mWifiServiceImpl.startSoftAp(config); in testStartSoftApWithPermissionsAndValidConfig()
1288 verify(mActiveModeWarden).startSoftAp(mSoftApModeConfigCaptor.capture()); in testStartSoftApWithPermissionsAndValidConfig()
1304 mWifiServiceImpl.startSoftAp(null); in testStartSoftApWithoutPermissionThrowsException()
1316 boolean result = mWifiServiceImpl.startSoftAp(config); in testStartSoftApWithoutNetworkStackWithMainlineNetworkStackSucceeds()
1318 verify(mActiveModeWarden).startSoftAp(mSoftApModeConfigCaptor.capture()); in testStartSoftApWithoutNetworkStackWithMainlineNetworkStackSucceeds()
1332 assertFalse(mWifiServiceImpl.startSoftAp(mApConfig)); in testStartSoftApWithValidConfigSucceedsAfterFailure()
[all …]
DSoftApManagerTest.java151 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), any())).thenReturn(true); in setUp()
621 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), any())).thenReturn(false); in startSoftApApInterfaceFailedToStart()
1955 order.verify(mWifiNative).startSoftAp(eq(TEST_INTERFACE_NAME), in startSoftApAndVerifyEnabled()
DWifiNativeInterfaceManagementTest.java790 assertTrue(mWifiNative.startSoftAp(IFACE_NAME_0, new SoftApConfiguration.Builder().build(), in testStartSoftApAndHostapdDied()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java222 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()
235 when(mWifiService.startSoftAp(eq(null))).thenReturn(true); in testStartSoftApCallsServiceWithNullConfig()
236 assertTrue(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
238 when(mWifiService.startSoftAp(eq(null))).thenReturn(false); in testStartSoftApCallsServiceWithNullConfig()
239 assertFalse(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java395 private int startSoftAp() { in startSoftAp() method in SoftApManager
438 if (!mWifiNative.startSoftAp(mApInterfaceName, in startSoftAp()
593 int result = startSoftAp(); in processMessage()
DBaseWifiService.java338 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() method in BaseWifiService
DActiveModeWarden.java212 public void startSoftAp(SoftApModeConfiguration softApConfig) { in startSoftAp() method in ActiveModeWarden
DWifiServiceImpl.java876 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() method in WifiServiceImpl
989 mActiveModeWarden.startSoftAp(apConfig); in startSoftApInternal()
DWifiNative.java1749 public boolean startSoftAp(
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl147 boolean startSoftAp(in WifiConfiguration wifiConfig); in startSoftAp() method
DWifiManager.java3052 public boolean startSoftAp(@Nullable WifiConfiguration wifiConfig) { in startSoftAp() method in WifiManager
3054 return mService.startSoftAp(wifiConfig); in startSoftAp()