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.java799 WifiMetricsProto.WifiAwareLog.HistogramBucket[] protoArray = in histogramToProtoArray() local
803 protoArray[i] = new WifiMetricsProto.WifiAwareLog.HistogramBucket(); in histogramToProtoArray()
804 protoArray[i].start = buckets[i].start; in histogramToProtoArray()
805 protoArray[i].end = buckets[i].end; in histogramToProtoArray()
806 protoArray[i].count = buckets[i].count; in histogramToProtoArray()
809 return protoArray; in histogramToProtoArray()
827 WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket[] protoArray = in histogramToProtoArray() local
831 protoArray[i] = new WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket(); in histogramToProtoArray()
832 protoArray[i].nanStatusType = histogram.keyAt(i); in histogramToProtoArray()
833 protoArray[i].count = histogram.valueAt(i); in histogramToProtoArray()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java334 WifiMetricsProto.WifiRttLog.HistogramBucket[] protoArray = in consolidateNumPeersPerRequest() local
338 protoArray[i] = new WifiMetricsProto.WifiRttLog.HistogramBucket(); in consolidateNumPeersPerRequest()
339 protoArray[i].start = data.keyAt(i); in consolidateNumPeersPerRequest()
340 protoArray[i].end = data.keyAt(i); in consolidateNumPeersPerRequest()
341 protoArray[i].count = data.valueAt(i); in consolidateNumPeersPerRequest()
344 return protoArray; in consolidateNumPeersPerRequest()