Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/
DCoexUnsafeChannel.java47 private @WifiAnnotations.WifiBandBasic int mBand; field in CoexUnsafeChannel
60 mBand = band; in CoexUnsafeChannel()
76 mBand = band; in CoexUnsafeChannel()
83 return mBand; in getBand()
104 return mBand == that.mBand in equals()
111 return Objects.hash(mBand, mChannel, mPowerCapDbm); in hashCode()
117 if (mBand == WIFI_BAND_24_GHZ) { in toString()
119 } else if (mBand == WIFI_BAND_5_GHZ) { in toString()
121 } else if (mBand == WIFI_BAND_6_GHZ) { in toString()
143 dest.writeInt(mBand); in writeToParcel()
DWifiNetworkAgentSpecifier.java47 @WifiBand private final int mBand; field in WifiNetworkAgentSpecifier
67 mBand = band; in WifiNetworkAgentSpecifier()
99 dest.writeInt(mBand); in writeToParcel()
136 if (mBand == ScanResult.WIFI_BAND_5_GHZ_LOW) { in satisfiesNetworkSpecifier()
139 } else if (mBand == ScanResult.WIFI_BAND_5_GHZ_HIGH) { in satisfiesNetworkSpecifier()
143 return ns.getBand() == mBand; in satisfiesNetworkSpecifier()
146 if (ns.getBand() != ScanResult.UNSPECIFIED && ns.getBand() != mBand) { in satisfiesNetworkSpecifier()
174 mBand, in hashCode()
191 && mBand == lhs.mBand in equals()
201 .append(", band=").append(mBand) in toString()
DMloLink.java98 private @WifiAnnotations.WifiBandBasic int mBand; field in MloLink
120 mBand = WifiScanner.WIFI_BAND_UNSPECIFIED; in MloLink()
137 mBand = source.mBand; in MloLink()
165 return mBand; in getBand()
236 mBand = band; in setBand()
435 return mBand == that.mBand in equals()
457 mBand, in hashCode()
509 if (mBand == WIFI_BAND_24_GHZ) { in toString()
511 } else if (mBand == WIFI_BAND_5_GHZ) { in toString()
513 } else if (mBand == WIFI_BAND_6_GHZ) { in toString()
[all …]
DWifiNetworkSpecifier.java191 @WifiBand private int mBand; field in WifiNetworkSpecifier.Builder
204 mBand = UNSPECIFIED; in Builder()
458 mBand = band; in setBand()
661 if (!hasSetAnyPattern() && mBand == UNSPECIFIED) { in build()
669 if (hasSetMatchAllPattern() && mBand == UNSPECIFIED) { in build()
676 if (mChannels.length != 0 && mBand != UNSPECIFIED) { in build()
685 mBand, in build()
707 @WifiBand private final int mBand; field in WifiNetworkSpecifier
739 this.mBand = band; in WifiNetworkSpecifier()
748 return mBand; in getBand()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherApBandPreferenceController.java56 private int mBand; field in WifiTetherApBandPreferenceController
97 mBand = BAND_2GHZ; in updateState()
103 mBand = BAND_2GHZ; in updateState()
105 mBand = validateSelection(configBand); in updateState()
112 preference.setValue(Integer.toString(mBand)); in updateState()
119 return mHotspotBandMap.getOrDefault(mBand, in getSummary()
130 mBand = validateSelection(Integer.parseInt((String) newValue)); in handlePreferenceChanged()
157 mBand = validateSelection(getBandFromConfig()); in updatePreferenceEntries()
158 getPreference().setValue(Integer.toString(mBand)); in updatePreferenceEntries()
186 if (mBand == BAND_5GHZ) { in updateApBand()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DSubscribeConfig.java111 private final int mBand; field in SubscribeConfig
136 mBand = band; in SubscribeConfig()
160 + ", mBand=" + mBand in toString()
184 dest.writeInt(mBand); in writeToParcel()
242 && mBand == lhs.mBand in equals()
264 mMaxDistanceMmSet, mEnableInstantMode, mBand, mIsSuspendable, mVendorData); in hashCode()
365 return mBand; in getInstantCommunicationBand()
426 private int mBand = WifiScanner.WIFI_BAND_24_GHZ; field in SubscribeConfig.Builder
649 mBand = band; in setInstantCommunicationModeEnabled()
734 mEnableInstantMode, mBand, mPairingConfig, mIsSuspendable, mVendorData); in build()
DPublishConfig.java104 private final int mBand; field in PublishConfig
129 mBand = band; in PublishConfig()
151 + ", mBand=" + mBand in toString()
173 dest.writeInt(mBand); in writeToParcel()
230 && mBand == lhs.mBand in equals()
241 mEnableRanging, mEnableInstantMode, mBand, mSecurityConfig, mPairingConfig, in hashCode()
330 return mBand; in getInstantCommunicationBand()
398 private int mBand = WifiScanner.WIFI_BAND_24_GHZ; field in PublishConfig.Builder
579 mBand = band; in setInstantCommunicationModeEnabled()
694 mBand, mSecurityConfig, mPairingConfig, mIsSuspendable, mVendorData); in build()
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
DCoexUtils.java643 private final int mBand; field in CoexUtils.CoexCellChannel
679 mBand = band; in CoexCellChannel()
706 return mBand; in getBand()
733 + ", band=" + mBand in toString()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java667 private int mBand; field in WifiMetrics.SessionData
677 mBand = band; in SessionData()
2720 mCurrentSession.mBand, in reportNetworkDisconnect()
2734 mCurrentSession.mBand, in reportNetworkDisconnect()