Home
last modified time | relevance | path

Searched refs:frequencyMhz (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DStateChangeResult.java34 int frequencyMhz, SupplicantState state) { in StateChangeResult() argument
49 this.frequencyMhz = frequencyMhz; in StateChangeResult()
55 public final int frequencyMhz; field in StateChangeResult
64 sb.append(" frequencyMhz: ").append(frequencyMhz); in toString()
DWifiMonitor.java633 String bssid, int frequencyMhz, in broadcastSupplicantStateChangeEvent() argument
636 new StateChangeResult(networkId, wifiSsid, bssid, frequencyMhz, in broadcastSupplicantStateChangeEvent()
744 public void broadcastBssFrequencyChanged(String iface, int frequencyMhz) { in broadcastBssFrequencyChanged() argument
745 sendMessage(iface, BSS_FREQUENCY_CHANGED_EVENT, frequencyMhz); in broadcastBssFrequencyChanged()
DSupplicantStaIfaceCallbackAidlImpl.java173 stateChangeData.keyMgmtMask, stateChangeData.frequencyMhz); in onSupplicantStateChanged()
177 byte[] ssid, boolean filsHlpSent, int supplicantKeyMgmtMask, int frequencyMhz) { in handleSupplicantStateChangedEvent() argument
200 + ", frequencyMhz=" + frequencyMhz); in handleSupplicantStateChangedEvent()
222 bssidStr, frequencyMhz, newSupplicantState); in handleSupplicantStateChangedEvent()
1345 public void onBssFrequencyChanged(int frequencyMhz) in onBssFrequencyChanged() argument
1348 mStaIfaceHal.logCallback("onBssFrequencyChanged: frequency " + frequencyMhz); in onBssFrequencyChanged()
1349 mWifiMonitor.broadcastBssFrequencyChanged(mIfaceName, frequencyMhz); in onBssFrequencyChanged()
DWifiLinkLayerStats.java54 public int frequencyMhz; field in WifiLinkLayerStats.LinkSpecificStats
DSupplicantStaIfaceHalAidlImpl.java3180 r.rxBitrateMbps, r.frequencyMhz); in getSignalPollResults()
DClientModeImpl.java3228 if (stateChangeResult.frequencyMhz > 0) { in handleSupplicantStateChange()
3229 mWifiInfo.setFrequency(stateChangeResult.frequencyMhz); in handleSupplicantStateChange()
DWifiMetrics.java7358 inStat.frequencyMhz);
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pDiscoveryConfig.java49 private WifiP2pDiscoveryConfig(@WifiP2pManager.WifiP2pScanType int scanType, int frequencyMhz, in WifiP2pDiscoveryConfig() argument
52 mFrequencyMhz = frequencyMhz; in WifiP2pDiscoveryConfig()
176 public Builder setFrequencyMhz(@IntRange(from = 0) int frequencyMhz) { in setFrequencyMhz()
177 if (frequencyMhz <= 0) { in setFrequencyMhz()
180 mFrequencyMhz = frequencyMhz; in setFrequencyMhz()
DWifiP2pManager.java2214 @NonNull Channel channel, int frequencyMhz, @Nullable ActionListener listener) { in discoverPeersOnSpecificFrequency() argument
2219 if (frequencyMhz <= 0) { in discoverPeersOnSpecificFrequency()
2223 extras.putInt(EXTRA_PARAM_KEY_PEER_DISCOVERY_FREQ, frequencyMhz); in discoverPeersOnSpecificFrequency()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pShellCommandTest.java131 final int frequencyMhz = 2412; in testP2pPeerDiscoveryOnSpecificFrequencyWithPositiveFrequency() local
134 "start-peer-discovery-on-specific-frequency", Integer.toString(frequencyMhz)); in testP2pPeerDiscoveryOnSpecificFrequencyWithPositiveFrequency()
136 eq(mWifiP2pChannel), eq(frequencyMhz), any()); in testP2pPeerDiscoveryOnSpecificFrequencyWithPositiveFrequency()
144 final int frequencyMhz = 0; in testP2pPeerDiscoveryOnSpecificFrequencyWithNonePositiveFrequency() local
147 "start-peer-discovery-on-specific-frequency", Integer.toString(frequencyMhz)); in testP2pPeerDiscoveryOnSpecificFrequencyWithNonePositiveFrequency()
149 eq(mWifiP2pChannel), eq(frequencyMhz), any()); in testP2pPeerDiscoveryOnSpecificFrequencyWithNonePositiveFrequency()
155 final String frequencyMhz = "abcd"; in testP2pPeerDiscoveryOnSpecificFrequencyWithUnformattedFrequency() local
158 "start-peer-discovery-on-specific-frequency", frequencyMhz); in testP2pPeerDiscoveryOnSpecificFrequencyWithUnformattedFrequency()
DWifiP2pServiceImplTest.java528 int frequencyMhz) throws Exception { in sendDiscoverPeersMsg() argument
531 extras.putInt(WifiP2pManager.EXTRA_PARAM_KEY_PEER_DISCOVERY_FREQ, frequencyMhz); in sendDiscoverPeersMsg()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java105 int frequencyMhz; in handleCommand() local
107 frequencyMhz = Integer.parseInt(getNextArgRequired()); in handleCommand()
114 if (frequencyMhz <= 0) { in handleCommand()
120 sWifiP2pChannel, frequencyMhz, actionListener); in handleCommand()
DWifiP2pMetrics.java229 sb.append(event.frequencyMhz); in dump()
434 mCurrentConnectionEvent.frequencyMhz = in startConnectionEvent()
507 mCurrentConnectionEvent.frequencyMhz, in endConnectionEvent()
DSupplicantP2pIfaceHalAidlImpl.java580 halInfo.frequencyMhz = config.getFrequencyMhz(); in findWithParams()
584 if (halInfo.frequencyMhz < 0) { in findWithParams()
585 Log.e(TAG, "Invalid freq value: " + halInfo.frequencyMhz); in findWithParams()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiFrequencyPreferenceControllerTest.java47 connectedInfo.frequencyMhz = WifiEntry.FREQUENCY_2_4_GHZ; in setUpConnectedState()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiFrequencyPreferenceController.java51 int frequency = connectedInfo.frequencyMhz; in updateState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java70 mWifiLinkLayerStats.links[i].frequencyMhz = freqs[i]; in setupLinkStats()
DWifiMonitorTest.java554 assertEquals(2412, result.frequencyMhz); in testBroadcastSupplicantStateChangeEvent()
DWifiMetricsTest.java3928 out.links[i].frequencyMhz = nextRandInt(); in nextRandomStats()
3965 cs.frequency = out.links[i].frequencyMhz; in nextRandomStats()
3968 out.channelStatsMap.put(out.links[i].frequencyMhz, cs); in nextRandomStats()
4777 linkLayerStats.channelStatsMap.get(linkStat.frequencyMhz).ccaBusyTimeMs); in testClientNotification()
4779 linkLayerStats.channelStatsMap.get(linkStat.frequencyMhz).radioOnTimeMs); in testClientNotification()
DSupplicantStaIfaceHalAidlImplTest.java1046 stateChangeData.frequencyMhz = 2412; in testStateChangeToCompleted()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceAidlImpl.java1140 frameworkScanResult.frequency = scanResult.frequencyMhz; in halToFrameworkCachedScanResult()
1366 stats.links[linkIndex].frequencyMhz = aidlStats.frequencyMhz; in setIfaceStatsPerLinkFromAidl()
DWifiStaIfaceHidlImpl.java1011 stats.links[DEFAULT_LINK].frequencyMhz = 0; in setIfaceStats()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java435 if (info != null && info.frequencyMhz != WifiEntry.FREQUENCY_UNKNOWN) { in initWifiConfigController2()
436 final int frequency = info.frequencyMhz; in initWifiConfigController2()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java343 halResult.frequencyMhz = 5260; in testGetCachedScanData()