Home
last modified time | relevance | path

Searched refs:startTetheredHotspot (Results 1 – 15 of 15) sorted by relevance

/packages/modules/NetworkStack/apishim/35/com/android/networkstack/apishim/
DWifiManagerShimImpl.java62 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/
DCarProjectionServiceTest.java539 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/
DWifiManagerShim.java71 default void startTetheredHotspot( in startTetheredHotspot() method
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java1909 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/
DWifiManagerTest.java567 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/
DWifiServiceImplTest.java2305 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 …]
DWifiShellCommandTest.java542 verify(mWifiService).startTetheredHotspot( in testStartSoftAp()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl239 boolean startTetheredHotspot(in SoftApConfiguration softApConfig, String packageName); in startTetheredHotspot() method
DBaseWifiService.java488 public boolean startTetheredHotspot(SoftApConfiguration softApConfig, String packageName) { in startTetheredHotspot() method in BaseWifiService
DWifiManager.java5715 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/
DCarProjectionService.java678 if (!mWifiManager.startTetheredHotspot(null /* use existing config*/)) { in startTetheredApLocked()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java758 if ((enable && mgr.startTetheredHotspot(null /* use existing softap config */)) in setWifiTethering()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java869 if (!mWifiService.startTetheredHotspot(config, SHELL_PACKAGE_NAME)) { in onCommand()
DWifiServiceImpl.java1750 public boolean startTetheredHotspot(@Nullable SoftApConfiguration softApConfig, in startTetheredHotspot() method in WifiServiceImpl
/packages/modules/Wifi/framework/api/
Dsystem-current.txt823 …t.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public boolean startTetheredHotspot(@Nullable a…
824 ….net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void startTetheredHotspot(@NonNull an…