Home
last modified time | relevance | path

Searched refs:getUsableChannels (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java200 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in setUp()
439 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in chooseApChannel2GBandWithAllowedChannels()
457 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in chooseApChannel5GBandWithAllowedChannels()
469 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in chooseApChannel60GBandWithAllowedChannels()
496 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in chooseApChannelWillHighBandPrefer()
517 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in chooseApChannelWithUnsafeChannelsPreferSafe()
556 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in chooseApChannelWithAllSoftUnsafePreferHighBand()
847 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in updateApChannelConfigWithAcsDisabledOemConfigured()
876 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())) in updateApChannelConfigWithAcsEnabled()
1373 when(mWifiNative.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn(null); in testGetAvailableChannelFreqsForBandWithDfsChannelWhenDeviceSupported()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java112 .getUsableChannels(WifiScanner.WIFI_BAND_5_GHZ_WITH_DFS, OP_MODE_SAP); in setUp()
115 .getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP); in setUp()
578 when(mWifiManager.getUsableChannels(WifiScanner.WIFI_BAND_5_GHZ_WITH_DFS, OP_MODE_SAP)) in is5gAvailable_noUsableChannels_returnFalse()
622 when(mWifiManager.getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP)) in is6gAvailable_noUsableChannels_returnFalse()
663 .getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP); in isChannelAvailable_throwIllegalArgumentException_hasUsableChannelsFalse()
674 .getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP); in isChannelAvailable_throwUnsupportedOperationException_hasUsableChannelsFalse()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java1017 doThrow(UnsupportedOperationException.class).when(mWifiService).getUsableChannels( in testGetAllowedChannel()
1025 when(mWifiService.getUsableChannels(eq(WifiScanner.WIFI_BAND_24_5_WITH_DFS_6_GHZ), in testGetAllowedChannel()
1028 doThrow(IllegalArgumentException.class).when(mWifiService).getUsableChannels( in testGetAllowedChannel()
1034 verify(mWifiService, never()).getUsableChannels(eq(WifiScanner.WIFI_BAND_BOTH), in testGetAllowedChannel()
1041 verify(mWifiService, times(6)).getUsableChannels(eq(WifiScanner.WIFI_BAND_BOTH_WITH_DFS), in testGetAllowedChannel()
DWifiNativeInterfaceManagementTest.java179 when(mWifiVendorHal.getUsableChannels(anyInt(), anyInt(), anyInt())).thenReturn( in setUp()
587 mInOrder.verify(mWifiVendorHal).getUsableChannels(anyInt(), anyInt(), anyInt()); in validateSwitchInterfaceToScan()
615 mInOrder.verify(mWifiVendorHal).getUsableChannels(anyInt(), anyInt(), anyInt()); in validateSetupInterfaceForScan()
628 mInOrder.verify(mWifiVendorHal).getUsableChannels(anyInt(), anyInt(), anyInt()); in validateSetupInterfaceForSoftAp()
1383 mInOrder.verify(mWifiVendorHal).getUsableChannels(anyInt(), anyInt(), anyInt()); in executeAndValidateSwitchClientInterfaceToConnectivityMode()
1835 mInOrder.verify(mWifiVendorHal).getUsableChannels(anyInt(), anyInt(), anyInt()); in validateSetupClientInterfaceForScan()
2051 mInOrder.verify(mWifiVendorHal).getUsableChannels(anyInt(), anyInt(), anyInt()); in validateSetupSoftApInterface()
DWifiServiceImplTest.java9926 mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_STA, FILTER_REGULATORY, in testGetUsableChannelsThrowsSecurityExceptionOnMissingPermissions()
9945 mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_STA, FILTER_REGULATORY, in testGetUsableChannelsThrowsSecurityExceptionOnMissingPermissionsAfterU()
9951 () -> mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_STA, in testGetUsableChannelsThrowsSecurityExceptionOnMissingPermissionsAfterU()
9958 mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_STA, FILTER_REGULATORY, in testGetUsableChannelsThrowsSecurityExceptionOnMissingPermissionsAfterU()
9966 () -> mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_STA, in testGetUsableChannelsThrowsSecurityExceptionOnMissingPermissionsAfterU()
10018 mWifiServiceImpl.getUsableChannels(WIFI_BAND_5_GHZ, OP_MODE_STA, FILTER_REGULATORY, in testGetUsableChannelsThrowsIllegalArgumentExceptionOnInValidBand()
10035 mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_STA, FILTER_REGULATORY, in testGetUsableChannels()
10038 verify(mWifiNative).getUsableChannels(anyInt(), anyInt(), anyInt()); in testGetUsableChannels()
10060 assertThat(mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10071 assertThat(mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
[all …]
DWifiNativeTest.java1608 when(mWifiVendorHal.getUsableChannels(WifiScanner.WIFI_BAND_24_5_WITH_DFS_6_60_GHZ, in testGetSupportedBandsFromHal()
1630 when(mWifiVendorHal.getUsableChannels(WifiScanner.WIFI_BAND_24_5_WITH_DFS_6_60_GHZ, in testGetSupportedBands()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiChipHidlImplTest.java685 }).when(mIWifiChipMockV15).getUsableChannels(anyInt(), anyInt(), anyInt(), in testGetUsableChannels()
687 mDut.getUsableChannels( in testGetUsableChannels()
691 verify(mIWifiChipMockV15).getUsableChannels(anyInt(), anyInt(), anyInt(), in testGetUsableChannels()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DIWifiChip.java288 List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band, in getUsableChannels() method
DWifiChip.java781 public List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band, in getUsableChannels() method in WifiChip
784 () -> mWifiChip.getUsableChannels(band, mode, filter)); in getUsableChannels()
DWifiChipAidlImpl.java687 public List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band, in getUsableChannels() method in WifiChipAidlImpl
693 WifiUsableChannel[] halChannels = mWifiChip.getUsableChannels( in getUsableChannels()
DWifiChipHidlImpl.java385 public List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band, in getUsableChannels() method in WifiChipHidlImpl
1058 chip15.getUsableChannels( in getUsableChannelsInternal()
/packages/modules/Wifi/framework/java/android/net/wifi/
DBaseWifiService.java979 public List<WifiAvailableChannel> getUsableChannels( in getUsableChannels() method in BaseWifiService
985 public List<WifiAvailableChannel> getUsableChannels( in getUsableChannels() method in BaseWifiService
DIWifiManager.aidl434 …List<WifiAvailableChannel> getUsableChannels(int band, int mode, int filter, String packageName, i… in getUsableChannels() method
DWifiManager.java11161 return mService.getUsableChannels(band, mode, in getAllowedChannels()
11203 public List<WifiAvailableChannel> getUsableChannels( in getUsableChannels() method in WifiManager
11215 return mService.getUsableChannels(band, mode, in getUsableChannels()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java476 mWifiManager.getUsableChannels(sapBand.band, OP_MODE_SAP); in isChannelAvailable()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java2015 public List<WifiAvailableChannel> getUsableChannels(
2021 return mWifiChip.getUsableChannels(band, mode, filter);
DWifiNative.java3766 public List<WifiAvailableChannel> getUsableChannels(
3770 return mWifiVendorHal.getUsableChannels(band, mode, filter);
3994 mWifiVendorHal.getUsableChannels(WifiScanner.WIFI_BAND_24_5_WITH_DFS_6_60_GHZ,
DWifiShellCommand.java1890 mWifiService.getUsableChannels(WifiScanner.WIFI_BAND_24_5_WITH_DFS_6_GHZ, in onCommand()
1896 mWifiService.getUsableChannels(band, opMode, in onCommand()
DWifiServiceImpl.java7534 public List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band,
7577 () -> mWifiNative.getUsableChannels(band, mode, filter), null,
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java437 List<WifiAvailableChannel> usableChannelList = wifiNative.getUsableChannels( in getHalAvailableChannelsForBand()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java3672 verify(mWifiService).getUsableChannels(eq(band), eq(mode), in testGetAllowedChannels()
3685 mWifiManager.getUsableChannels(band, mode); in testGetUsableChannels()
3686 verify(mWifiService).getUsableChannels(eq(band), eq(mode), in testGetUsableChannels()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java586 () -> mWifiInjector.getWifiNative().getUsableChannels(band, in onCommand()
5737 () -> mWifiInjector.getWifiNative().getUsableChannels(WifiScanner.WIFI_BAND_5_GHZ, in getAwareInstantCommunicationChannel()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java1134 when(mWifiNative.getUsableChannels(WifiScanner.WIFI_BAND_5_GHZ, OP_MODE_WIFI_AWARE, in testPublishSuccessInstantCommunicationMode()
1223 when(mWifiNative.getUsableChannels(WifiScanner.WIFI_BAND_5_GHZ, OP_MODE_WIFI_AWARE, in testSubscribeSuccessInstantCommunicationMode()
/packages/modules/Wifi/framework/api/
Dcurrent.txt473 …_DEVICES) public java.util.List<android.net.wifi.WifiAvailableChannel> getUsableChannels(int, int);