Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttNative.java286 for (ResponderConfig responder: request.mRttPeers) { in convertRangingRequestToRttConfigs()
288 if (!responder.supports80211mc) { in convertRangingRequestToRttConfigs()
296 System.arraycopy(responder.macAddress.toByteArray(), 0, config.addr, 0, in convertRangingRequestToRttConfigs()
300 config.type = responder.supports80211mc ? RttType.TWO_SIDED : RttType.ONE_SIDED; in convertRangingRequestToRttConfigs()
306 config.peer = halRttPeerTypeFromResponderType(responder.responderType); in convertRangingRequestToRttConfigs()
308 responder.channelWidth); in convertRangingRequestToRttConfigs()
309 config.channel.centerFreq = responder.frequency; in convertRangingRequestToRttConfigs()
310 config.channel.centerFreq0 = responder.centerFreq0; in convertRangingRequestToRttConfigs()
311 config.channel.centerFreq1 = responder.centerFreq1; in convertRangingRequestToRttConfigs()
312 config.bw = halRttChannelBandwidthFromResponderChannelWidth(responder.channelWidth); in convertRangingRequestToRttConfigs()
[all …]
DRttMetrics.java156 for (ResponderConfig responder : requests.mRttPeers) { in recordResult()
157 requestEntries.put(responder.macAddress, responder); in recordResult()
165 ResponderConfig responder = requestEntries.remove( in recordResult() local
167 if (responder == null) { in recordResult()
174 if (responder.responderType == ResponderConfig.RESPONDER_AP) { in recordResult()
176 } else if (responder.responderType == ResponderConfig.RESPONDER_AWARE) { in recordResult()
179 Log.e(TAG, "recordResult: unexpected peer type in responder: " + responder); in recordResult()
184 for (ResponderConfig responder : requestEntries.values()) { in recordResult()
186 if (responder.responderType == ResponderConfig.RESPONDER_AP) { in recordResult()
188 } else if (responder.responderType == ResponderConfig.RESPONDER_AWARE) { in recordResult()
[all …]
DRttServiceImpl.java428 for (ResponderConfig responder : request.mRttPeers) { in startRanging()
429 if (responder == null) { in startRanging()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingRequest.java230 public Builder addResponder(@NonNull ResponderConfig responder) { in addResponder() argument
231 if (responder == null) { in addResponder()
235 mRttPeers.add(responder); in addResponder()