Home
last modified time | relevance | path

Searched refs:getCoexRestrictions (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java216 assertThat(coexManager.getCoexRestrictions()).isEqualTo(restrictions); in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters()
236 assertThat(coexManager.getCoexRestrictions()).isEqualTo(restrictions); in testSetCoexUnsafeChannels_nullChannels_setsEmptySet()
256 assertThat(coexManager.getCoexRestrictions()).isEqualTo(restrictions); in testSetCoexUnsafeChannels_undefinedRestrictions_setsEmptySet()
722 assertThat(coexManager.getCoexRestrictions()).isEqualTo(0); in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
736 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_SOFTAP) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
738 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_WIFI_DIRECT) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
777 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_SOFTAP) in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
779 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_WIFI_DIRECT) in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java531 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in chooseApChannelWithUnsafeChannelsPreferSafe()
540 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in chooseApChannelWithUnsafeChannelsPreferSafe()
572 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in chooseApChannelWithAllSoftUnsafePreferHighBand()
602 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in chooseApChannelWithAllHardUnsafeSelectDefault()
1080 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in testIsAvailableChannelsOnTargetBands()
1090 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testIsAvailableChannelsOnTargetBands()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java581 (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) != 0; in chooseApChannel()
623 && (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) in removeUnavailableBands()
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
DCoexManager.java326 public int getCoexRestrictions() { in getCoexRestrictions() method in CoexManager
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApManager.java370 if ((mCoexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) != 0) { in updateSafeChannelFrequencyList()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java884 when(mCoexManager.getCoexRestrictions()).thenReturn(restrictions); in testStartHalUpdatesCoexUnsafeChannels()
DSoftApManagerTest.java3501 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testBridgedModeFallbackToSingleModeDueToCoexIsHardUnsafe()
3585 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testBridgedModeShutDownInstanceDueToCoexIsHardUnsafe()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1511 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in setUpWifiP2pServiceImpl()
6381 when(mCoexManager.getCoexRestrictions()).thenReturn(restrictionBits); in setupCoexMock()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1921 && (mCoexManager.getCoexRestrictions() in checkCoexUnsafeChannels()