Home
last modified time | relevance | path

Searched refs:OP_MODE_SAP (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java25 import static android.net.wifi.WifiAvailableChannel.OP_MODE_SAP;
111 doReturn(Arrays.asList(new WifiAvailableChannel(FREQ_5GHZ, OP_MODE_SAP))).when(mWifiManager) in setUp()
112 .getUsableChannels(WifiScanner.WIFI_BAND_5_GHZ_WITH_DFS, OP_MODE_SAP); in setUp()
114 doReturn(Arrays.asList(new WifiAvailableChannel(FREQ_6GHZ, OP_MODE_SAP))).when(mWifiManager) in setUp()
115 .getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP); in setUp()
578 when(mWifiManager.getUsableChannels(WifiScanner.WIFI_BAND_5_GHZ_WITH_DFS, OP_MODE_SAP)) in is5gAvailable_noUsableChannels_returnFalse()
622 when(mWifiManager.getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP)) in is6gAvailable_noUsableChannels_returnFalse()
663 .getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP); in isChannelAvailable_throwIllegalArgumentException_hasUsableChannelsFalse()
674 .getUsableChannels(WifiScanner.WIFI_BAND_6_GHZ, OP_MODE_SAP); in isChannelAvailable_throwUnsupportedOperationException_hasUsableChannelsFalse()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiAvailableChannel.java48 public static final int OP_MODE_SAP = 1 << 1; field in WifiAvailableChannel
76 OP_MODE_SAP,
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java26 import static android.net.wifi.WifiAvailableChannel.OP_MODE_SAP;
476 mWifiManager.getUsableChannels(sapBand.band, OP_MODE_SAP); in isChannelAvailable()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChipAidlImpl.java1520 if ((mode & WifiAvailableChannel.OP_MODE_SAP) != 0) { in frameworkToHalIfaceMode()
1544 mode |= WifiAvailableChannel.OP_MODE_SAP; in halToFrameworkIfaceMode()
DWifiChipHidlImpl.java2042 if ((mode & WifiAvailableChannel.OP_MODE_SAP) != 0) { in frameworkToHalIfaceMode()
2106 mode |= WifiAvailableChannel.OP_MODE_SAP; in halToFrameworkIfaceMode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java27 import static android.net.wifi.WifiAvailableChannel.OP_MODE_SAP;
10060 assertThat(mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10071 assertThat(mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_GHZ, OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10079 assertThat(mWifiServiceImpl.getUsableChannels(WIFI_BAND_24_5_WITH_DFS_6_60_GHZ, OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10081 new WifiAvailableChannel(2452, WifiAvailableChannel.OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10083 new WifiAvailableChannel(5180, WifiAvailableChannel.OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10085 new WifiAvailableChannel(5955, WifiAvailableChannel.OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10087 new WifiAvailableChannel(58320, WifiAvailableChannel.OP_MODE_SAP, in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10110 new WifiAvailableChannel(2452, WifiAvailableChannel.OP_MODE_SAP, in testDriverCountryCodeChangedStoresAvailableSoftApChannels()
10114 new WifiAvailableChannel(5180, WifiAvailableChannel.OP_MODE_SAP, in testDriverCountryCodeChangedStoresAvailableSoftApChannels()
[all …]
DWifiShellCommandTest.java1035 eq(WifiAvailableChannel.OP_MODE_SAP), eq(WifiAvailableChannel.FILTER_REGULATORY), in testGetAllowedChannel()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java439 WifiAvailableChannel.OP_MODE_SAP, in getHalAvailableChannelsForBand()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java223 WifiAvailableChannel.OP_MODE_SAP,
477 case WifiAvailableChannel.OP_MODE_SAP: in getOpModeName()
DWifiServiceImpl.java7520 channels.add(new WifiAvailableChannel(freq, WifiAvailableChannel.OP_MODE_SAP,
7566 && mode == WifiAvailableChannel.OP_MODE_SAP
/packages/modules/Wifi/framework/api/
Dcurrent.txt153 field public static final int OP_MODE_SAP = 2; // 0x2