Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java141 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()
154 when(mWifiService.startSoftAp(eq(null))).thenReturn(true); in testStartSoftApCallsServiceWithNullConfig()
155 assertTrue(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
157 when(mWifiService.startSoftAp(eq(null))).thenReturn(false); in testStartSoftApCallsServiceWithNullConfig()
158 assertFalse(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java254 private int startSoftAp(WifiConfiguration config) { in startSoftAp() method in SoftApManager
295 if (!mWifiNative.startSoftAp(mApInterfaceName, localConfig, mSoftApListener)) { in startSoftAp()
388 int result = startSoftAp((WifiConfiguration) message.obj); in processMessage()
DActiveModeWarden.java179 startSoftAp(wifiConfig); in enterSoftAPMode()
592 private void startSoftAp(SoftApModeConfiguration softapConfig) { in startSoftAp() method in ActiveModeWarden
DWifiNative.java1577 public boolean startSoftAp( in startSoftAp() method in WifiNative
DWifiServiceImpl.java1079 public boolean startSoftAp(WifiConfiguration wifiConfig) { in startSoftAp() method in WifiServiceImpl
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl138 boolean startSoftAp(in WifiConfiguration wifiConfig); in startSoftAp() method
DWifiManager.java2604 public boolean startSoftAp(@Nullable WifiConfiguration wifiConfig) {
2606 return mService.startSoftAp(wifiConfig);
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java986 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in failingWifiTetheringLegacyApBroadcast()
991 verify(mWifiManager, times(1)).startSoftAp(null); in failingWifiTetheringLegacyApBroadcast()
1014 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in workingWifiTetheringEnrichedApBroadcast()
1019 verify(mWifiManager, times(1)).startSoftAp(null); in workingWifiTetheringEnrichedApBroadcast()
1090 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in failureEnablingIpForwarding()
1096 verify(mWifiManager, times(1)).startSoftAp(null); in failureEnablingIpForwarding()
1383 when(mWifiManager.startSoftAp(any(WifiConfiguration.class))).thenReturn(true); in testRegisterTetheringEventCallback()
/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.java133 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), any())).thenReturn(true); in setUp()
559 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), any())).thenReturn(false); in startSoftApApInterfaceFailedToStart()
1149 order.verify(mWifiNative).startSoftAp(eq(TEST_INTERFACE_NAME), in startSoftApAndVerifyEnabled()
DWifiServiceImplTest.java1169 boolean result = mWifiServiceImpl.startSoftAp(null); in testStartSoftApWithPermissionsAndNullConfig()
1181 boolean result = mWifiServiceImpl.startSoftAp(mApConfig); in testStartSoftApWithPermissionsAndInvalidConfig()
1192 boolean result = mWifiServiceImpl.startSoftAp(config); in testStartSoftApWithPermissionsAndValidConfig()
1207 boolean result = mWifiServiceImpl.startSoftAp(config); in testStartSoftApWhenInCryptDebounce()
1222 mWifiServiceImpl.startSoftAp(null); in testStartSoftApWithoutPermissionThrowsException()
1624 assertTrue(mWifiServiceImpl.startSoftAp(config)); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
1633 assertFalse(mWifiServiceImpl.startSoftAp(createValidSoftApConfiguration())); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
4217 boolean tetheringResult = mWifiServiceImpl.startSoftAp(null); in startLohsAndTethering()
DWifiNativeInterfaceManagementTest.java792 assertTrue(mWifiNative.startSoftAp(IFACE_NAME_0, new WifiConfiguration(), in testStartSoftApAndHostapdDied()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java638 if ((enable && mgr.startSoftAp(null /* use existing wifi config */)) in setWifiTethering()
/frameworks/base/api/
Dsystem-current.txt5392 …id.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public boolean startSoftAp(@Nullable andro…
/frameworks/base/non-updatable-api/
Dsystem-current.txt5298 …id.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public boolean startSoftAp(@Nullable andro…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46417 Landroid/net/wifi/IWifiManager$Stub$Proxy;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z
46544 Landroid/net/wifi/IWifiManager;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z
47444 Landroid/net/wifi/WifiManager;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z