Home
last modified time | relevance | path

Searched refs:histogram (Results 1 – 25 of 25) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java89 public static int addValueToLogHistogram(long x, SparseIntArray histogram, LogHistParms hp) { in addValueToLogHistogram() argument
117 int newValue = histogram.get(key) + 1; in addValueToLogHistogram()
118 histogram.put(key, newValue); in addValueToLogHistogram()
127 public static GenericBucket[] logHistogramToGenericBuckets(SparseIntArray histogram, in logHistogramToGenericBuckets() argument
129 GenericBucket[] protoArray = new GenericBucket[histogram.size()]; in logHistogramToGenericBuckets()
130 for (int i = 0; i < histogram.size(); ++i) { in logHistogramToGenericBuckets()
131 int key = histogram.keyAt(i); in logHistogramToGenericBuckets()
136 protoArray[i].count = histogram.valueAt(i); in logHistogramToGenericBuckets()
152 public static int addValueToLinearHistogram(int x, SparseIntArray histogram, int[] hp) { in addValueToLinearHistogram() argument
163 int newValue = histogram.get(bucket) + 1; in addValueToLinearHistogram()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java303 SparseIntArray histogram) { in consolidateOverallStatus() argument
305 new WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket[histogram.size()]; in consolidateOverallStatus()
306 for (int i = 0; i < histogram.size(); i++) { in consolidateOverallStatus()
308 h[i].statusType = histogram.keyAt(i); in consolidateOverallStatus()
309 h[i].count = histogram.valueAt(i); in consolidateOverallStatus()
331 consolidateIndividualStatus(SparseIntArray histogram) { in consolidateIndividualStatus() argument
333 new WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket[histogram.size( in consolidateIndividualStatus()
335 for (int i = 0; i < histogram.size(); i++) { in consolidateIndividualStatus()
337 h[i].statusType = histogram.keyAt(i); in consolidateIndividualStatus()
338 h[i].count = histogram.valueAt(i); in consolidateIndividualStatus()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java81 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { in drawHistogram() argument
83 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
84 if (histogram[i] > max) { in drawHistogram()
85 max = histogram[i]; in drawHistogram()
91 float wl = w / histogram.length; in drawHistogram()
114 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
116 float l = histogram[i] * wh; in drawHistogram()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardParams.java171 private static int updateHistogramCounter(final SparseIntArray histogram, final int key) { in updateHistogramCounter() argument
172 final int index = histogram.indexOfKey(key); in updateHistogramCounter()
173 final int count = (index >= 0 ? histogram.get(key) : 0) + 1; in updateHistogramCounter()
174 histogram.put(key, count); in updateHistogramCounter()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java891 public static void addNanHalStatusToHistogram(int halStatus, SparseIntArray histogram) { in addNanHalStatusToHistogram() argument
893 int newValue = histogram.get(protoStatus) + 1; in addNanHalStatusToHistogram()
894 histogram.put(protoStatus, newValue); in addNanHalStatusToHistogram()
902 SparseIntArray histogram) { in histogramToProtoArray() argument
904 new WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket[histogram.size()]; in histogramToProtoArray()
906 for (int i = 0; i < histogram.size(); ++i) { in histogramToProtoArray()
908 protoArray[i].nanStatusType = histogram.keyAt(i); in histogramToProtoArray()
909 protoArray[i].count = histogram.valueAt(i); in histogramToProtoArray()
1034 histogramToNanRequestProtoArray(SparseIntArray histogram) { in histogramToNanRequestProtoArray() argument
1036 new WifiMetricsProto.WifiAwareLog.NdpRequestTypeHistogramBucket[histogram.size()]; in histogramToNanRequestProtoArray()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java367 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { in drawHistogram() argument
369 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
370 if (histogram[i] > max) { in drawHistogram()
371 max = histogram[i]; in drawHistogram()
377 float wl = w / histogram.length; in drawHistogram()
392 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
394 float l = histogram[i] * wh; in drawHistogram()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/logging/
DEventLogImpl.java167 MetricsLogger.histogram( in logShareTargetSelected()
169 MetricsLogger.histogram(null, "app_position_for_smart_sharing", positionPicked); in logShareTargetSelected()
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dobservation.proto132 // IndexHistogram represents a list of counts for each bucket of a histogram
135 // Event vector to which the histogram is associated.
139 // histogram.
Daggregate_value.proto36 // Index into the list the histogram refers to.
Dreport_definition.proto149 // int-range histogram such that in each int range bucket it gives the
190 // int-range histogram such that in each int range bucket it gives the
235 // int-range histogram such that in each int range bucket it gives the
494 // individual histogram bucket over the aggregation period of one hour. For
509 // A specification of integer-range buckets for a histogram.
/packages/modules/StatsD/statsd/src/
Dstats_log.proto131 // Counts for histogram bins.
157 Histogram histogram = 5; field
714 // This is a histogram of sizes of the batched reads. The bins are as follows:
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto645 // WiFi channel utilization histogram of various RF bands
648 // WiFi Tx and Rx throughput histogram at various RF bands
1621 // histogram of attach request results
1642 // histogram of publish request results
1645 // histogram of subscribe request results
1652 // histogram of create ndp request results
1655 // histogram of create ndp out-of-band (OOB) request results
1679 // histogram of durations of Aware being available
1682 // histogram of durations of Aware being enabled
1685 // histogram of duration (in ms) of attach sessions
[all …]
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.tmpl85 // /* index:histogram */ "name",
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyContactsPreference.java215 MetricsLogger.histogram(getContext(), in setEmergencyContacts()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java463 private static List<GetSetValueResult> logAndReturnResults(Histogram histogram, in logAndReturnResults() argument
473 histogram.logSample(systemCurrentTimeMillis in logAndReturnResults()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java4526 final SparseIntArray histogram = entry.getValue(); in dump() local
4529 int count = histogram.get(i); in dump()
5381 SparseIntArray histogram = entry.getValue(); in consolidateProto() local
5382 for (int i = 0; i < histogram.size(); i++) { in consolidateProto()
5384 keyVal.rssi = histogram.keyAt(i); in consolidateProto()
5385 keyVal.count = histogram.valueAt(i); in consolidateProto()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dnb_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dcs_wordlist.combined.gz
Dpl_wordlist.combined.gz
Dsv_wordlist.combined.gz