/packages/modules/NetworkStack/apishim/35/com/android/networkstack/apishim/ |
D | WifiManagerShimImpl.java | 62 public void startTetheredHotspot( in startTetheredHotspot() method in WifiManagerShimImpl 91 mWifiManager.startTetheredHotspot(request, executor, callback); in startTetheredHotspot()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarProjectionServiceTest.java | 539 when(mWifiManager.startTetheredHotspot(any())).thenReturn(true); in startProjectionTetheredAccessPoint_ensure2GhzAnd5GhzAdded() 575 when(mWifiManager.startTetheredHotspot(any())).thenReturn(true); in startProjectionTetheredAccessPoint_ensureNotCalled2Ghz5Ghz() 601 when(mWifiManager.startTetheredHotspot(any())).thenReturn(true); in startProjectionTetheredAccessPoint_ensureNotCalled5Ghz() 628 when(mWifiManager.startTetheredHotspot(any())).thenReturn(true); in startProjectionTetheredAccessPoint_ensure5GhzOnlyNoConcurrency() 666 .startTetheredHotspot(null); in startProjectionTethering()
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | WifiManagerShim.java | 71 default void startTetheredHotspot( in startTetheredHotspot() method
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 1909 when(mWifiManager.startTetheredHotspot(any(SoftApConfiguration.class))).thenReturn(true); in failingWifiTetheringLegacyApBroadcast() 1915 verify(mWifiManager, times(1)).startTetheredHotspot(null); in failingWifiTetheringLegacyApBroadcast() 1938 when(mWifiManager.startTetheredHotspot(any(SoftApConfiguration.class))).thenReturn(true); in workingWifiTetheringEnrichedApBroadcast() 1944 verify(mWifiManager, times(1)).startTetheredHotspot(null); in workingWifiTetheringEnrichedApBroadcast() 1987 when(mWifiManager.startTetheredHotspot(any(SoftApConfiguration.class))).thenReturn(true); in failureEnablingIpForwarding() 1994 verify(mWifiManager, times(1)).startTetheredHotspot(null); in failureEnablingIpForwarding() 2331 when(mWifiManager.startTetheredHotspot(any(SoftApConfiguration.class))).thenReturn(true); in testRegisterTetheringEventCallback() 3639 when(mWifiManager.startTetheredHotspot(any())).thenReturn(true); in testWifiTetheringWhenP2pActive() 3644 verify(mWifiManager).startTetheredHotspot(null); in testWifiTetheringWhenP2pActive()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 567 when(mWifiService.startTetheredHotspot(softApConfig, TEST_PACKAGE_NAME)) in testStartTetheredHotspotCallsServiceWithSoftApConfig() 569 assertTrue(mWifiManager.startTetheredHotspot(softApConfig)); in testStartTetheredHotspotCallsServiceWithSoftApConfig() 571 when(mWifiService.startTetheredHotspot(softApConfig, TEST_PACKAGE_NAME)) in testStartTetheredHotspotCallsServiceWithSoftApConfig() 573 assertFalse(mWifiManager.startTetheredHotspot(softApConfig)); in testStartTetheredHotspotCallsServiceWithSoftApConfig() 582 when(mWifiService.startTetheredHotspot(null, TEST_PACKAGE_NAME)).thenReturn(true); in testStartTetheredHotspotCallsServiceWithNullConfig() 583 assertTrue(mWifiManager.startTetheredHotspot(null)); in testStartTetheredHotspotCallsServiceWithNullConfig() 585 when(mWifiService.startTetheredHotspot(null, TEST_PACKAGE_NAME)).thenReturn(false); in testStartTetheredHotspotCallsServiceWithNullConfig() 586 assertFalse(mWifiManager.startTetheredHotspot(null)); in testStartTetheredHotspotCallsServiceWithNullConfig()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 2305 boolean result = mWifiServiceImpl.startTetheredHotspot(null, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithPermissionsAndNullConfig() 2388 boolean result = mWifiServiceImpl.startTetheredHotspot( in testStartTetheredHotspotWithPermissionsAndInvalidConfig() 2400 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithPermissionsAndValidConfig() 2418 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithUserRestriction() 2621 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithSupported24gBand() 2642 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithUnSupported24gBand() 2661 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithUnSupportedSoftAp24gBand() 2679 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithSupported5gBand() 2700 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithUnSupported5gBand() 2720 boolean result = mWifiServiceImpl.startTetheredHotspot(config, TEST_PACKAGE_NAME); in testStartTetheredHotspotWithUnSupportedSoftAp5gBand() [all …]
|
D | WifiShellCommandTest.java | 542 verify(mWifiService).startTetheredHotspot( in testStartSoftAp()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 239 boolean startTetheredHotspot(in SoftApConfiguration softApConfig, String packageName); in startTetheredHotspot() method
|
D | BaseWifiService.java | 488 public boolean startTetheredHotspot(SoftApConfiguration softApConfig, String packageName) { in startTetheredHotspot() method in BaseWifiService
|
D | WifiManager.java | 5715 public boolean startTetheredHotspot(@Nullable SoftApConfiguration softApConfig) { in startTetheredHotspot() method in WifiManager 5717 return mService.startTetheredHotspot(softApConfig, mContext.getOpPackageName()); in startTetheredHotspot() 5739 public void startTetheredHotspot(@NonNull TetheringManager.TetheringRequest request, in startTetheredHotspot() method in WifiManager
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 678 if (!mWifiManager.startTetheredHotspot(null /* use existing config*/)) { in startTetheredApLocked()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 758 if ((enable && mgr.startTetheredHotspot(null /* use existing softap config */)) in setWifiTethering()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 869 if (!mWifiService.startTetheredHotspot(config, SHELL_PACKAGE_NAME)) { in onCommand()
|
D | WifiServiceImpl.java | 1750 public boolean startTetheredHotspot(@Nullable SoftApConfiguration softApConfig, in startTetheredHotspot() method in WifiServiceImpl
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 823 …t.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public boolean startTetheredHotspot(@Nullable a… 824 ….net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void startTetheredHotspot(@NonNull an…
|