Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java700 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in failingWifiTetheringLegacyApBroadcast()
705 verify(mWifiManager, times(1)).startSoftAp(null); in failingWifiTetheringLegacyApBroadcast()
725 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in workingWifiTetheringEnrichedApBroadcast()
730 verify(mWifiManager, times(1)).startSoftAp(null); in workingWifiTetheringEnrichedApBroadcast()
794 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in failureEnablingIpForwarding()
800 verify(mWifiManager, times(1)).startSoftAp(null); in failureEnablingIpForwarding()
975 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in testRegisterTetheringEventCallback()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java245 private int startSoftAp(WifiConfiguration config) { in startSoftAp() method in SoftApManager
286 if (!mWifiNative.startSoftAp(mApInterfaceName, localConfig, mSoftApListener)) { in startSoftAp()
377 int result = startSoftAp((WifiConfiguration) message.obj); in processMessage()
DActiveModeWarden.java177 startSoftAp(wifiConfig); in enterSoftAPMode()
590 private void startSoftAp(SoftApModeConfiguration softapConfig) { in startSoftAp() method in ActiveModeWarden
DWifiNative.java1576 public boolean startSoftAp( in startSoftAp() method in WifiNative
DWifiServiceImpl.java1045 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() method in WifiServiceImpl
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java140 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()
153 when(mWifiService.startSoftAp(eq(null))).thenReturn(true); in testStartSoftApCallsServiceWithNullConfig()
154 assertTrue(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
156 when(mWifiService.startSoftAp(eq(null))).thenReturn(false); in testStartSoftApCallsServiceWithNullConfig()
157 assertFalse(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl138 boolean startSoftAp(in WifiConfiguration wifiConfig); in startSoftAp() method
DWifiManager.java2560 public boolean startSoftAp(@Nullable WifiConfiguration wifiConfig) {
2562 return mService.startSoftAp(wifiConfig);
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java277 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() method in BaseWifiService
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java105 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), any())).thenReturn(true); in setUp()
524 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), any())).thenReturn(false); in startSoftApApInterfaceFailedToStart()
1092 order.verify(mWifiNative).startSoftAp(eq(TEST_INTERFACE_NAME), in startSoftApAndVerifyEnabled()
DWifiServiceImplTest.java1057 boolean result = mWifiServiceImpl.startSoftAp(null); in testStartSoftApWithPermissionsAndNullConfig()
1069 boolean result = mWifiServiceImpl.startSoftAp(mApConfig); in testStartSoftApWithPermissionsAndInvalidConfig()
1080 boolean result = mWifiServiceImpl.startSoftAp(config); in testStartSoftApWithPermissionsAndValidConfig()
1096 mWifiServiceImpl.startSoftAp(null); in testStartSoftApWithoutPermissionThrowsException()
1472 assertTrue(mWifiServiceImpl.startSoftAp(config)); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
1481 assertFalse(mWifiServiceImpl.startSoftAp(createValidSoftApConfiguration())); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
4060 boolean tetheringResult = mWifiServiceImpl.startSoftAp(null); in startLohsAndTethering()
DWifiNativeInterfaceManagementTest.java792 assertTrue(mWifiNative.startSoftAp(IFACE_NAME_0, new WifiConfiguration(), in testStartSoftApAndHostapdDied()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java433 if ((enable && mgr.startSoftAp(null /* use existing wifi config */)) || in setWifiTethering()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt49776 Landroid/net/wifi/IWifiManager$Stub$Proxy;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z
49905 Landroid/net/wifi/IWifiManager;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z
50861 Landroid/net/wifi/WifiManager;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z