Searched refs:coexManager (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/ |
D | CoexManagerTest.java | 140 final CoexManager coexManager = new CoexManager(mMockContext, mMockWifiNative, in createCoexManager() local 143 coexManager.enableVerboseLogging(true); in createCoexManager() 144 return coexManager; in createCoexManager() 206 CoexManager coexManager = createCoexManager(); in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters() local 213 coexManager.setCoexUnsafeChannels(unsafeChannels, restrictions); in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters() 215 assertThat(coexManager.getCoexUnsafeChannels()).containsExactlyElementsIn(unsafeChannels); in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters() 216 assertThat(coexManager.getCoexRestrictions()).isEqualTo(restrictions); in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters() 225 CoexManager coexManager = createCoexManager(); in testSetCoexUnsafeChannels_nullChannels_setsEmptySet() local 231 coexManager.setCoexUnsafeChannels(unsafeChannels, restrictions); in testSetCoexUnsafeChannels_nullChannels_setsEmptySet() 233 coexManager.setCoexUnsafeChannels(null, 0); in testSetCoexUnsafeChannels_nullChannels_setsEmptySet() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 369 public static Set<Integer> getUnsafeChannelFreqsFromCoex(@NonNull CoexManager coexManager) { in getUnsafeChannelFreqsFromCoex() argument 372 for (CoexUnsafeChannel unsafeChannel : coexManager.getCoexUnsafeChannels()) { in getUnsafeChannelFreqsFromCoex() 529 public static int chooseApChannel(int apBand, @NonNull CoexManager coexManager, in chooseApChannel() argument 538 unsafeFreqs = getUnsafeChannelFreqsFromCoex(coexManager); in chooseApChannel() 581 (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) != 0; in chooseApChannel() 613 @NonNull int targetBand, CoexManager coexManager) { in removeUnavailableBands() argument 623 && (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) in removeUnavailableBands() 625 availableChannelFreqsList.removeAll(getUnsafeChannelFreqsFromCoex(coexManager)); in removeUnavailableBands() 647 SoftApConfiguration config, SoftApCapability capability, CoexManager coexManager, in removeUnavailableBandsFromConfig() argument 656 configuredBand, coexManager); in removeUnavailableBandsFromConfig() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SoftApManager.java | 428 @NonNull CoexManager coexManager, in SoftApManager() argument 449 mCoexManager = coexManager; in SoftApManager()
|