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.java356 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in getNeighboringCoexUnsafeChannels() local
368 coexUnsafeChannels.add( in getNeighboringCoexUnsafeChannels()
391 coexUnsafeChannels.add( in getNeighboringCoexUnsafeChannels()
400 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_5_GHZ, 34, powerCapDbm)); in getNeighboringCoexUnsafeChannels()
404 return coexUnsafeChannels; in getNeighboringCoexUnsafeChannels()
414 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in get2gHarmonicCoexUnsafeChannels() local
438 coexUnsafeChannels.add( in get2gHarmonicCoexUnsafeChannels()
442 return coexUnsafeChannels; in get2gHarmonicCoexUnsafeChannels()
453 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in get5gHarmonicCoexUnsafeChannels() local
483 coexUnsafeChannels.add( in get5gHarmonicCoexUnsafeChannels()
[all …]
DCoexManager.java301 public void setCoexUnsafeChannels(@NonNull List<CoexUnsafeChannel> coexUnsafeChannels, in setCoexUnsafeChannels() argument
303 if (coexUnsafeChannels == null) { in setCoexUnsafeChannels()
313 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.java507 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels() local
509 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_24_GHZ, channel, -50)); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels()
512 .containsExactlyElementsIn(coexUnsafeChannels); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels()
539 List<CoexUnsafeChannel> coexUnsafeChannels = new ArrayList<>(); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels() local
541 coexUnsafeChannels.add(new CoexUnsafeChannel(WIFI_BAND_24_GHZ, channel, -50)); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()
544 .containsExactlyElementsIn(coexUnsafeChannels); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()