Home
last modified time | relevance | path

Searched refs:coexUnsafeChannels (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
DCoexUtils.java358 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in getNeighboringCoexUnsafeChannels() local
370 coexUnsafeChannels.add( in getNeighboringCoexUnsafeChannels()
393 coexUnsafeChannels.add( in getNeighboringCoexUnsafeChannels()
402 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_5_GHZ, 34, powerCapDbm)); in getNeighboringCoexUnsafeChannels()
406 return coexUnsafeChannels; in getNeighboringCoexUnsafeChannels()
416 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in get2gHarmonicCoexUnsafeChannels() local
440 coexUnsafeChannels.add( in get2gHarmonicCoexUnsafeChannels()
444 return coexUnsafeChannels; in get2gHarmonicCoexUnsafeChannels()
455 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in get5gHarmonicCoexUnsafeChannels() local
485 coexUnsafeChannels.add( in get5gHarmonicCoexUnsafeChannels()
[all …]
DCoexManager.java340 public void setCoexUnsafeChannels(@NonNull List<CoexUnsafeChannel> coexUnsafeChannels, in setCoexUnsafeChannels() argument
342 if (coexUnsafeChannels == null) { in setCoexUnsafeChannels()
352 if (new HashSet(mCurrentCoexUnsafeChannels).equals(new HashSet(coexUnsafeChannels)) in setCoexUnsafeChannels()
358 mCurrentCoexUnsafeChannels.addAll(coexUnsafeChannels); in setCoexUnsafeChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexUtilsTest.java357 Set<CoexUnsafeChannel> coexUnsafeChannels = new HashSet<>(); in testGet2gIntermodUnsafeChannels_channel3350Example_returnsCorrectWifiChannels() local
359 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_24_GHZ, channel)); in testGet2gIntermodUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()
364 .containsExactlyElementsIn(coexUnsafeChannels); in testGet2gIntermodUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()
378 Set<CoexUnsafeChannel> coexUnsafeChannels = new HashSet<>(); in testGet5gIntermodUnsafeChannels_cellBelowWifiBand_returnsCorrectWifiChannels() local
379 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_5_GHZ, 54)); in testGet5gIntermodUnsafeChannels_cellBelowWifiBand_returnsCorrectWifiChannels()
380 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_5_GHZ, 56)); in testGet5gIntermodUnsafeChannels_cellBelowWifiBand_returnsCorrectWifiChannels()
381 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_5_GHZ, 58)); in testGet5gIntermodUnsafeChannels_cellBelowWifiBand_returnsCorrectWifiChannels()
382 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_5_GHZ, 50)); in testGet5gIntermodUnsafeChannels_cellBelowWifiBand_returnsCorrectWifiChannels()
385 .containsExactlyElementsIn(coexUnsafeChannels); in testGet5gIntermodUnsafeChannels_cellBelowWifiBand_returnsCorrectWifiChannels()
DCoexManagerTest.java509 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels() local
511 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_24_GHZ, channel, -50)); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels()
514 .containsExactlyElementsIn(coexUnsafeChannels); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels()
541 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels() local
543 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_24_GHZ, channel, -50)); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()
546 .containsExactlyElementsIn(coexUnsafeChannels); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()