/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 200 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/ |
D | WifiHotspotRepositoryTest.java | 112 .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/ |
D | WifiShellCommandTest.java | 1017 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()
|
D | WifiNativeInterfaceManagementTest.java | 179 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()
|
D | WifiServiceImplTest.java | 9926 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 …]
|
D | WifiNativeTest.java | 1608 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/ |
D | WifiChipHidlImplTest.java | 685 }).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/ |
D | IWifiChip.java | 288 List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band, in getUsableChannels() method
|
D | WifiChip.java | 781 public List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band, in getUsableChannels() method in WifiChip 784 () -> mWifiChip.getUsableChannels(band, mode, filter)); in getUsableChannels()
|
D | WifiChipAidlImpl.java | 687 public List<WifiAvailableChannel> getUsableChannels(@WifiScanner.WifiBand int band, in getUsableChannels() method in WifiChipAidlImpl 693 WifiUsableChannel[] halChannels = mWifiChip.getUsableChannels( in getUsableChannels()
|
D | WifiChipHidlImpl.java | 385 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/ |
D | BaseWifiService.java | 979 public List<WifiAvailableChannel> getUsableChannels( in getUsableChannels() method in BaseWifiService 985 public List<WifiAvailableChannel> getUsableChannels( in getUsableChannels() method in BaseWifiService
|
D | IWifiManager.aidl | 434 …List<WifiAvailableChannel> getUsableChannels(int band, int mode, int filter, String packageName, i… in getUsableChannels() method
|
D | WifiManager.java | 11161 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/ |
D | WifiHotspotRepository.java | 476 mWifiManager.getUsableChannels(sapBand.band, OP_MODE_SAP); in isChannelAvailable()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiVendorHal.java | 2015 public List<WifiAvailableChannel> getUsableChannels( 2021 return mWifiChip.getUsableChannels(band, mode, filter);
|
D | WifiNative.java | 3766 public List<WifiAvailableChannel> getUsableChannels( 3770 return mWifiVendorHal.getUsableChannels(band, mode, filter); 3994 mWifiVendorHal.getUsableChannels(WifiScanner.WIFI_BAND_24_5_WITH_DFS_6_60_GHZ,
|
D | WifiShellCommand.java | 1890 mWifiService.getUsableChannels(WifiScanner.WIFI_BAND_24_5_WITH_DFS_6_GHZ, in onCommand() 1896 mWifiService.getUsableChannels(band, opMode, in onCommand()
|
D | WifiServiceImpl.java | 7534 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/ |
D | ApConfigUtil.java | 437 List<WifiAvailableChannel> usableChannelList = wifiNative.getUsableChannels( in getHalAvailableChannelsForBand()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 3672 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/ |
D | WifiAwareStateManager.java | 586 () -> 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/ |
D | WifiAwareStateManagerTest.java | 1134 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/ |
D | current.txt | 473 …_DEVICES) public java.util.List<android.net.wifi.WifiAvailableChannel> getUsableChannels(int, int);
|