/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 1593 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 …]
|
D | ActiveModeWardenTest.java | 399 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()
|
D | WifiNativeInterfaceManagementTest.java | 831 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()
|
D | SoftApManagerTest.java | 240 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/ |
D | WifiManagerTest.java | 464 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/ |
D | SoftApManager.java | 620 private int startSoftAp() { in startSoftAp() method in SoftApManager 660 if (!mWifiNative.startSoftAp(mApInterfaceName, in startSoftAp() 910 int result = startSoftAp(); in processMessage()
|
D | BaseWifiService.java | 385 public boolean startSoftAp(WifiConfiguration wifiConfig, String packageName) { in startSoftAp() method in BaseWifiService
|
D | ActiveModeWarden.java | 586 public void startSoftAp(SoftApModeConfiguration softApConfig, WorkSource requestorWs) { in startSoftAp() method in ActiveModeWarden
|
D | WifiServiceImpl.java | 1132 public boolean startSoftAp(WifiConfiguration wifiConfig, String packageName) { in startSoftAp() method in WifiServiceImpl 1226 mActiveModeWarden.startSoftAp(apConfig, requestorWs); in startSoftApInternal()
|
D | WifiNative.java | 1939 public boolean startSoftAp(
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 174 boolean startSoftAp(in WifiConfiguration wifiConfig, String packageName); in startSoftAp() method
|
D | WifiManager.java | 3988 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/ |
D | hiddenapi-max-target-o-low-priority.txt | 902 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
|