Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
H A DCoexManagerTest.java214 assertThat(coexManager.getCoexRestrictions()).isEqualTo(restrictions); in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters()
234 assertThat(coexManager.getCoexRestrictions()).isEqualTo(restrictions); in testSetCoexUnsafeChannels_nullChannels_setsEmptySet()
254 assertThat(coexManager.getCoexRestrictions()).isEqualTo(restrictions); in testSetCoexUnsafeChannels_undefinedRestrictions_setsEmptySet()
718 assertThat(coexManager.getCoexRestrictions()).isEqualTo(0); in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
732 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_SOFTAP) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
734 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_WIFI_DIRECT) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
773 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_SOFTAP) in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
775 assertThat(coexManager.getCoexRestrictions() & COEX_RESTRICTION_WIFI_DIRECT) in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
H A DApConfigUtilTest.java397 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in chooseApChannelWithUnsafeChannelsPreferSafe()
406 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in chooseApChannelWithUnsafeChannelsPreferSafe()
436 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in chooseApChannelWithAllSoftUnsafePreferHighBand()
466 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in chooseApChannelWithAllHardUnsafeSelectDefault()
747 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in testIsAvailableChannelsOnTargetBands()
757 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testIsAvailableChannelsOnTargetBands()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A DApConfigUtil.java452 (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) != 0; in chooseApChannel()
494 && (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) in removeUnavailableBands()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
H A DCoexManager.java287 public int getCoexRestrictions() { in getCoexRestrictions() method in CoexManager
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DSoftApManager.java259 if ((mCoexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) != 0) { in updateSafeChannelFrequencyList()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiNativeTest.java735 when(mCoexManager.getCoexRestrictions()).thenReturn(restrictions); in testStartHalUpdatesCoexUnsafeChannels()
H A DSoftApManagerTest.java2874 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testBridgedModeFallbackToSingleModeDueToCoexIsHardUnsafe()
2961 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testBridgedModeShutDownInstanceDueToCoexIsHardUnsafe()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
H A DWifiP2pServiceImplTest.java891 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in setUpWifiP2pServiceImpl()
4306 when(mCoexManager.getCoexRestrictions()).thenReturn(restrictionBits); in setupCoexMock()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java1001 && (mCoexManager.getCoexRestrictions() in checkCoexUnsafeChannels()