Searched refs:getCoexRestrictions (Results 1 – 9 of 9) sorted by relevance
216 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()
531 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()
581 (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) != 0; in chooseApChannel()623 && (coexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) in removeUnavailableBands()
326 public int getCoexRestrictions() { in getCoexRestrictions() method in CoexManager
370 if ((mCoexManager.getCoexRestrictions() & WifiManager.COEX_RESTRICTION_SOFTAP) != 0) { in updateSafeChannelFrequencyList()
884 when(mCoexManager.getCoexRestrictions()).thenReturn(restrictions); in testStartHalUpdatesCoexUnsafeChannels()
3501 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testBridgedModeFallbackToSingleModeDueToCoexIsHardUnsafe()3585 when(mCoexManager.getCoexRestrictions()).thenReturn(WifiManager.COEX_RESTRICTION_SOFTAP); in testBridgedModeShutDownInstanceDueToCoexIsHardUnsafe()
1511 when(mCoexManager.getCoexRestrictions()).thenReturn(0); in setUpWifiP2pServiceImpl()6381 when(mCoexManager.getCoexRestrictions()).thenReturn(restrictionBits); in setupCoexMock()
1921 && (mCoexManager.getCoexRestrictions() in checkCoexUnsafeChannels()