Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1593 boolean result = mWifiServiceImpl.startSoftAp(null, TEST_PACKAGE_NAME); in testStartSoftApWithPermissionsAndNullConfig()
1596 verify(mActiveModeWarden).startSoftAp(mSoftApModeConfigCaptor.capture(), in testStartSoftApWithPermissionsAndNullConfig()
1607 boolean result = mWifiServiceImpl.startSoftAp(mApConfig, TEST_PACKAGE_NAME); in testStartSoftApWithPermissionsAndInvalidConfig()
1610 verify(mActiveModeWarden, never()).startSoftAp(any(), in testStartSoftApWithPermissionsAndInvalidConfig()
1621 boolean result = mWifiServiceImpl.startSoftAp(config, TEST_PACKAGE_NAME); in testStartSoftApWithPermissionsAndValidConfig()
1624 verify(mActiveModeWarden).startSoftAp( in testStartSoftApWithPermissionsAndValidConfig()
1645 mWifiServiceImpl.startSoftAp(null, TEST_PACKAGE_NAME); in testStartSoftApWithoutPermissionThrowsException()
1659 boolean result = mWifiServiceImpl.startSoftAp(config, TEST_PACKAGE_NAME); in testStartSoftApWithoutNetworkStackWithMainlineNetworkStackSucceeds()
1662 verify(mActiveModeWarden).startSoftAp(mSoftApModeConfigCaptor.capture(), in testStartSoftApWithoutNetworkStackWithMainlineNetworkStackSucceeds()
1678 assertFalse(mWifiServiceImpl.startSoftAp(mApConfig, TEST_PACKAGE_NAME)); in testStartSoftApWithValidConfigSucceedsAfterFailure()
[all …]
DActiveModeWardenTest.java399 mActiveModeWarden.startSoftAp(softApConfig, TEST_WORKSOURCE); in enterSoftApActiveMode()
941 mActiveModeWarden.startSoftAp(softApConfig1, TEST_WORKSOURCE); in testStartSoftApModeTwiceWithTwoConfigs()
944 mActiveModeWarden.startSoftAp(softApConfig2, TEST_WORKSOURCE); in testStartSoftApModeTwiceWithTwoConfigs()
1132 mActiveModeWarden.startSoftAp(tetherConfig, TEST_WORKSOURCE); in testStopTetheringButNotLOHS()
1135 mActiveModeWarden.startSoftAp(lohsConfig, TEST_WORKSOURCE); in testStopTetheringButNotLOHS()
1938 mActiveModeWarden.startSoftAp( in testSoftApModeDoesNotToggleOnWhenInEcm()
1952 mActiveModeWarden.startSoftAp( in testSoftApModeDoesNotToggleOnWhenInEcm()
1997 mActiveModeWarden.startSoftAp( in testSoftApModeToggleWhenInAirplaneMode()
2075 mActiveModeWarden.startSoftAp( in testReturnToEnabledStateAfterAPModeShutdown()
2111 mActiveModeWarden.startSoftAp( in testReturnToEnabledStateAfterWifiEnabledShutdown()
DWifiNativeInterfaceManagementTest.java831 assertTrue(mWifiNative.startSoftAp(IFACE_NAME_0, new SoftApConfiguration.Builder().build(), in testStartSoftApAndHostapdDied()
858 assertTrue(mWifiNative.startSoftAp(IFACE_NAME_0, new SoftApConfiguration.Builder().build(), in testStartSoftApWithWifiCondCallbackAndHostapdDied()
DSoftApManagerTest.java240 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), anyBoolean(), in setUp()
656 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), anyBoolean(), in startSoftApApInterfaceFailedToStart()
1949 order.verify(mWifiNative).startSoftAp(eq(TEST_INTERFACE_NAME), in startSoftApAndVerifyEnabled()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java464 when(mWifiService.startSoftAp(mApConfig, TEST_PACKAGE_NAME)).thenReturn(true); in testStartSoftApCallsServiceWithWifiConfig()
465 assertTrue(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
467 when(mWifiService.startSoftAp(mApConfig, TEST_PACKAGE_NAME)).thenReturn(false); in testStartSoftApCallsServiceWithWifiConfig()
468 assertFalse(mWifiManager.startSoftAp(mApConfig)); in testStartSoftApCallsServiceWithWifiConfig()
477 when(mWifiService.startSoftAp(null, TEST_PACKAGE_NAME)).thenReturn(true); in testStartSoftApCallsServiceWithNullConfig()
478 assertTrue(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
480 when(mWifiService.startSoftAp(null, TEST_PACKAGE_NAME)).thenReturn(false); in testStartSoftApCallsServiceWithNullConfig()
481 assertFalse(mWifiManager.startSoftAp(null)); in testStartSoftApCallsServiceWithNullConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApManager.java620 private int startSoftAp() { in startSoftAp() method in SoftApManager
660 if (!mWifiNative.startSoftAp(mApInterfaceName, in startSoftAp()
910 int result = startSoftAp(); in processMessage()
DBaseWifiService.java385 public boolean startSoftAp(WifiConfiguration wifiConfig, String packageName) { in startSoftAp() method in BaseWifiService
DActiveModeWarden.java586 public void startSoftAp(SoftApModeConfiguration softApConfig, WorkSource requestorWs) { in startSoftAp() method in ActiveModeWarden
DWifiServiceImpl.java1132 public boolean startSoftAp(WifiConfiguration wifiConfig, String packageName) { in startSoftAp() method in WifiServiceImpl
1226 mActiveModeWarden.startSoftAp(apConfig, requestorWs); in startSoftApInternal()
DWifiNative.java1939 public boolean startSoftAp(
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl174 boolean startSoftAp(in WifiConfiguration wifiConfig, String packageName); in startSoftAp() method
DWifiManager.java3988 public boolean startSoftAp(@Nullable WifiConfiguration wifiConfig) { in startSoftAp() method in WifiManager
3990 return mService.startSoftAp(wifiConfig, mContext.getOpPackageName()); in startSoftAp()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt902 Landroid/net/wifi/IWifiManager$Stub$Proxy;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z
1029 Landroid/net/wifi/IWifiManager;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z
1891 Landroid/net/wifi/WifiManager;->startSoftAp(Landroid/net/wifi/WifiConfiguration;)Z