Home
last modified time | relevance | path

Searched refs:average (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportStats.java77 Locale.US, "%sAverage connection time: %.2f ms", prefix, stats.average)); in dumpStats()
87 (a.average * a.n + b.average * b.n) / (a.n + b.n), in merge()
93 public double average; field in TransportStats.Stats
99 average = 0; in Stats()
104 private Stats(int n, double average, long max, long min) { in Stats() argument
106 this.average = average; in Stats()
112 this(original.n, original.average, original.max, original.min); in Stats()
116 average = (average * n + sample) / (n + 1); in register()
/frameworks/base/core/java/android/net/metrics/
DNetworkMetrics.java151 (int) dnsLatencies.average(), (int) dnsLatencies.max, in toString()
152 100 * dnsErrorRate.average(), dnsErrorRate.count)); in toString()
154 (int) connectLatencies.average(), (int) connectLatencies.max, in toString()
155 100 * connectErrorRate.average(), connectErrorRate.count)); in toString()
157 100 * tcpLossRate.average(), tcpLossRate.count, (int) tcpLossRate.sum)); in toString()
158 j.add(String.format("tcp rtt=%dms", (int) (roundTripTimeUs.average() / 1000))); in toString()
159 j.add(String.format("tcp sent-ack_diff=%dms", (int) sentAckTimeDiffenceMs.average())); in toString()
186 double average() { in average() method in NetworkMetrics.Metrics
/frameworks/base/services/robotests/src/com/android/server/backup/transport/
DTransportStatsTest.java59 assertThat(stats.average).isWithin(TOLERANCE).of(50); in testRegisterConnectionTime()
72 assertThat(stats.average).isWithin(TOLERANCE).of(75); in testRegisterConnectionTime_whenHasAlreadyOneSample()
85 assertThat(stats.average).isWithin(TOLERANCE).of(10); in testGetStatsForTransport()
100 assertThat(stats.average).isWithin(TOLERANCE).of(15); in testMerge()
/frameworks/base/proto/src/
Dgnss.proto37 // Number of top 4 average CN0 processed
40 // Mean of top 4 average CN0 (dB-Hz)
43 // Standard deviation of top 4 average CN0 (dB-Hz)
/frameworks/base/core/java/android/util/proto/
DProtoUtils.java33 long min, long average, long max) { in toAggStatsProto() argument
36 proto.write(AggStats.AVERAGE, average); in toAggStatsProto()
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java322 String average = attributes.getValue("", "average"); in newContentHandler()
323 video.rating = average == null in newContentHandler()
324 ? 0.0f : Float.parseFloat(average); in newContentHandler()
442 String average = attributes.getValue("", "average"); in startElement() local
443 video.rating = average == null in startElement()
444 ? 0.0f : Float.parseFloat(average); in startElement()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp56 T average() { return mAverage; } in average() function in ModifiedMovingAverage
173 printf("Average frametime %.3fms\n", avgMs.average()); in run()
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt9 …n the script several times with some short intervals (a few seconds) and average the performance n…
14 … paste them in the N5.txt file. If you want to take 3 set of numbers and average them, organize 3 …
/frameworks/base/core/proto/android/util/
Dcommon.proto32 optional int64 average = 2; field
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java231 results.putInt(mNameToResultKey.get(appName), average(pssData)); in measureMemory()
234 private int average(List<Integer> pssData) { in average() method in MemoryUsageTest
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp146 double average = (double)m_total_time / m_transactions / 1.0E6; in dump() local
147 cout << "average:" << average << "ms worst:" << worst << "ms best:" << best << "ms" << endl; in dump()
Dschd-dbg.cpp247 double average = (double)m_total_time / m_transactions / 1.0E6; in dump() local
251 << average << ",\"wst\":" << setw(W) << left << worst in dump()
/frameworks/native/cmds/dumpstate/
Dutils.cpp173 int32_t average = floor(((float)total) / runs); in Save() local
174 MYLOGI("Saving stats (total=%d, runs=%d, average=%d) on %s\n", total, runs, average, in Save()
180 std::string content = android::base::StringPrintf("%d %d\n", runs, average); in Save()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dadvs.txt1239 every mark of being an average commonplace British tradesman, obese,
2268 the average story-teller. Take a pinch of snuff, Doctor, and
5884 earn £700 a year--which is less than my average takings--but I had
Dmems.txt1357 average of seven per cent. She had only been six months at Pinner
Dretn.txt2794 preponderance which may be shown in an average of a printed sheet may
/frameworks/base/config/
Dhiddenapi-public-dex.txt70704 Ljava/util/stream/DoubleStream;->average()Ljava/util/OptionalDouble;
70751 Ljava/util/stream/IntStream;->average()Ljava/util/OptionalDouble;
70799 Ljava/util/stream/LongStream;->average()Ljava/util/OptionalDouble;
/frameworks/base/api/
Dcurrent.txt70228 method public abstract java.util.OptionalDouble average();
70278 method public abstract java.util.OptionalDouble average();
70329 method public abstract java.util.OptionalDouble average();