Home
last modified time | relevance | path

Searched refs:protoArray (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java125 GenericBucket[] protoArray = new GenericBucket[histogram.size()]; in logHistogramToGenericBuckets() local
129 protoArray[i] = new GenericBucket(); in logHistogramToGenericBuckets()
130 protoArray[i].start = (long) (hp.bb[key / hp.s] + hp.sbw[key / hp.s] * (key % hp.s)); in logHistogramToGenericBuckets()
131 protoArray[i].end = (long) (protoArray[i].start + hp.sbw[key / hp.s]); in logHistogramToGenericBuckets()
132 protoArray[i].count = histogram.valueAt(i); in logHistogramToGenericBuckets()
135 return protoArray; in logHistogramToGenericBuckets()
171 GenericBucket[] protoArray = new GenericBucket[histogram.size()]; in linearHistogramToGenericBuckets() local
175 protoArray[i] = new GenericBucket(); in linearHistogramToGenericBuckets()
177 protoArray[i].start = Integer.MIN_VALUE; in linearHistogramToGenericBuckets()
178 protoArray[i].end = linearHistParams[0]; in linearHistogramToGenericBuckets()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java801 WifiMetricsProto.WifiAwareLog.HistogramBucket[] protoArray = in histogramToProtoArray() local
805 protoArray[i] = new WifiMetricsProto.WifiAwareLog.HistogramBucket(); in histogramToProtoArray()
806 protoArray[i].start = buckets[i].start; in histogramToProtoArray()
807 protoArray[i].end = buckets[i].end; in histogramToProtoArray()
808 protoArray[i].count = buckets[i].count; in histogramToProtoArray()
811 return protoArray; in histogramToProtoArray()
829 WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket[] protoArray = in histogramToProtoArray() local
833 protoArray[i] = new WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket(); in histogramToProtoArray()
834 protoArray[i].nanStatusType = histogram.keyAt(i); in histogramToProtoArray()
835 protoArray[i].count = histogram.valueAt(i); in histogramToProtoArray()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java307 WifiMetricsProto.WifiRttLog.HistogramBucket[] protoArray = in consolidateNumPeersPerRequest() local
311 protoArray[i] = new WifiMetricsProto.WifiRttLog.HistogramBucket(); in consolidateNumPeersPerRequest()
312 protoArray[i].start = data.keyAt(i); in consolidateNumPeersPerRequest()
313 protoArray[i].end = data.keyAt(i); in consolidateNumPeersPerRequest()
314 protoArray[i].count = data.valueAt(i); in consolidateNumPeersPerRequest()
317 return protoArray; in consolidateNumPeersPerRequest()