Home
last modified time | relevance | path

Searched refs:capa (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DDeviceWiphyCapabilitiesTest.java43 DeviceWiphyCapabilities capa = new DeviceWiphyCapabilities(); in canSerializeAndDeserialize() local
45 capa.setWifiStandardSupport(ScanResult.WIFI_STANDARD_11N, true); in canSerializeAndDeserialize()
46 capa.setWifiStandardSupport(ScanResult.WIFI_STANDARD_11AC, true); in canSerializeAndDeserialize()
47 capa.setWifiStandardSupport(ScanResult.WIFI_STANDARD_11AX, false); in canSerializeAndDeserialize()
48 capa.setChannelWidthSupported(ScanResult.CHANNEL_WIDTH_160MHZ, true); in canSerializeAndDeserialize()
49 capa.setChannelWidthSupported(ScanResult.CHANNEL_WIDTH_80MHZ_PLUS_MHZ, false); in canSerializeAndDeserialize()
50 capa.setMaxNumberTxSpatialStreams(2); in canSerializeAndDeserialize()
51 capa.setMaxNumberRxSpatialStreams(1); in canSerializeAndDeserialize()
54 capa.writeToParcel(parcel, 0); in canSerializeAndDeserialize()
60 assertEquals(capa, capaDeserialized); in canSerializeAndDeserialize()
[all …]
/frameworks/base/wifi/java/android/net/wifi/nl80211/
DDeviceWiphyCapabilities.java203 DeviceWiphyCapabilities capa = (DeviceWiphyCapabilities) rhs; in equals() local
205 return m80211nSupported == capa.m80211nSupported in equals()
206 && m80211acSupported == capa.m80211acSupported in equals()
207 && m80211axSupported == capa.m80211axSupported in equals()
208 && mChannelWidth160MhzSupported == capa.mChannelWidth160MhzSupported in equals()
209 && mChannelWidth80p80MhzSupported == capa.mChannelWidth80p80MhzSupported in equals()
210 && mMaxNumberTxSpatialStreams == capa.mMaxNumberTxSpatialStreams in equals()
211 && mMaxNumberRxSpatialStreams == capa.mMaxNumberRxSpatialStreams; in equals()
/frameworks/wilhelm/tests/mimeUri/
DslesTestSlowDownUri.cpp72 SLuint32 capa; in PlayEventCallback() local
76 res = (*pRateItf)->GetRateRange(pRateItf, 0, &minRate, &maxRate, &stepSize, &capa); in PlayEventCallback()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java2955 private @WifiStandard int getWifiStandardFromCap(ConnectionCapabilities capa) { in getWifiStandardFromCap() argument
2956 switch(capa.technology) { in getWifiStandardFromCap()