Home
last modified time | relevance | path

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

123456

/frameworks/base/cmds/incident_helper/tests/
DProcrankParser_test.cpp81 ProcrankProto::Process* total = expected.mutable_summary()->mutable_total(); in TEST_F() local
82 total->set_pss(1201993); in TEST_F()
83 total->set_uss(935300); in TEST_F()
84 total->set_swap(88164); in TEST_F()
85 total->set_pswap(31069); in TEST_F()
86 total->set_uswap(27612); in TEST_F()
87 total->set_zswap(6826); in TEST_F()
88 total->set_cmdline("TOTAL"); in TEST_F()
125 ProcrankProto::Process* total = expected.mutable_summary()->mutable_total(); in TEST_F() local
126 total->set_pss(1201993); in TEST_F()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Drasterize.rscript38 static int total;
57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z)
59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z)
61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) +
64 p1[total] = f1.xy;
65 p2[total] = f2.xy;
66 p3[total] = f3.xy;
67 d12[total] = p1[total] - p2[total];
68 d23[total] = p2[total] - p3[total];
69 d31[total] = p3[total] - p1[total];
[all …]
/frameworks/base/core/java/android/net/
DTrafficStats.java509 long total = 0; in getMobileTxPackets() local
511 total += addIfSupported(getTxPackets(iface)); in getMobileTxPackets()
513 return total; in getMobileTxPackets()
526 long total = 0; in getMobileRxPackets() local
528 total += addIfSupported(getRxPackets(iface)); in getMobileRxPackets()
530 return total; in getMobileRxPackets()
543 long total = 0; in getMobileTxBytes() local
545 total += addIfSupported(getTxBytes(iface)); in getMobileTxBytes()
547 return total; in getMobileTxBytes()
560 long total = 0; in getMobileRxBytes() local
[all …]
/frameworks/ml/nn/tools/systrace_parser/parser/test/
Domr1.txt6 …reparation Compilation I/O Compute Results Ex. total Termination …
15 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
21 …reparation Compilation I/O Compute Results Ex. total Termination …
30 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
36 …reparation Compilation I/O Compute Results Ex. total Termination …
45 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
51 …reparation Compilation I/O Compute Results Ex. total Termination …
60 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
66 …reparation Compilation I/O Compute Results Ex. total Termination …
75 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
Dunittest.txt6 …reparation Compilation I/O Compute Results Ex. total Termination …
15 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
21 …reparation Compilation I/O Compute Results Ex. total Termination …
31 * This total ignores missing (n/a) values and thus is not necessarily consistent with the rest of t…
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt35 …t0: t_m_w:B|T1|[NN_LR_PP]funcP Add (t1-t0) to total time spent in Layer
45 …t0: t_m_w:B|T1|[NN_LA_PP]funcE1 Add (t3-t0) to total time spent in Layer
48 …t3: t_m_w:E|T1 Add (t2-t1) to total time spent in Layer
53total time in Layer Application - total t…
68 …t0: t_m_w:B|T1|[NN_LC_PTR]funcC1 Add (t1-t0) to total time spent in Layer
71 …t3: t_m_w:E|T1 Add (t2-t1) to total time spent in Layer
82 …t0: t_m_w:B|T1|[NN_LR_PE]funcR2 Add (t2-t1) to total time spent in Layer
84 … t2: t_m_w:E|T1 total time in Phase Exec…
86 … Add (t3-t0) to total time spent in Layer
97 …t0: t_m_w:B|T1|[NN_LR_PE]funcR3 Add (t3-t0) to total time spent in Layer
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DTiffEntryImpl.h97 uint32_t total = getActualSize(); in getSize() local
98 WORD_ALIGN(total) in getSize()
99 return (total <= OFFSET_SIZE) ? 0 : total; in getSize()
104 uint32_t total = sizeof(T) * mCount; in getActualSize() local
107 total <<= 1; in getActualSize()
109 return total; in getActualSize()
196 uint32_t total = 0; in getActualSize() local
198 total += mData[i]->getSize(); in getActualSize()
200 return total; in getActualSize()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DAppItem.java33 public long total; field in AppItem
46 total = parcel.readLong(); in AppItem()
57 dest.writeLong(total); in writeToParcel()
69 comparison = Long.compare(another.total, total); in compareTo()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py167 total = partials[None]
168 assert not _isfinite(total)
172 total = sum(Fraction(n, d) for d, n in sorted(partials.items()))
173 return (T, total, count)
331 T, total, count = _sum(data)
333 return _convert(total/n, T)
503 T, total, count = _sum((x-c)**2 for x in data)
508 total -= total2**2/len(data)
509 assert not total < 0, 'negative sum of square deviations: %f' % total
510 return (T, total)
/frameworks/base/services/core/java/com/android/server/
DRandomBlock.java54 int total = 0; in fromStream() local
55 while(total < BLOCK_SIZE) { in fromStream()
56 int result = in.read(retval.block, total, BLOCK_SIZE - total); in fromStream()
60 total += result; in fromStream()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DUtils.java34 int total = classes.length; in getTargetsFromLegacyJackConfig() local
35 assert requests.length == total; in getTargetsFromLegacyJackConfig() local
36 assert resets.length == total; in getTargetsFromLegacyJackConfig() local
40 for (int i = 0; i < total; i++) { in getTargetsFromLegacyJackConfig()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuProcStringReader.java150 int total = 0; in open() local
158 while ((curr = r.read(mBuf, total, mBuf.length - total)) >= 0) { in open()
159 total += curr; in open()
160 if (total == mBuf.length) { in open()
170 mSize = total; in open()
174 return new ProcFileIterator(total); in open()
/frameworks/av/media/libnbaio/
DNBAIO.cpp64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) in writeVia() argument
78 while (accumulator < total) { in writeVia()
79 size_t count = total - accumulator; in writeVia()
100 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, size_t block) in readVia() argument
114 while (accumulator < total) { in readVia()
115 size_t count = total - accumulator; in readVia()
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp66 uint64_t total = 0; in getTotalSize() local
68 total += sAllocList.valueAt(i).size; in getTotalSize()
70 return total; in getTotalSize()
76 uint64_t total = 0; in dump() local
92 total += rec.size; in dump()
94 …StringAppendF(&result, "Total allocated (estimate): %.2f KB\n", static_cast<double>(total) / 1024.… in dump()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcontrast.cpp34 float total = 0; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() local
41 total += lumArray[i]; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
43 const float avg = total / numPixels; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DResult.java36 float total = 0.0f; in getTotalTime() local
38 total += time; in getTotalTime()
40 return total; in getTotalTime()
/frameworks/base/cmds/incident_helper/testdata/
Dcpuinfo.txt1 Threads: 2038 total, 1 running,2033 sleeping, 0 stopped, 0 zombie
3 Mem: 3842668k total, 3761936k used, 80732k free, 220188k buffers
5 Swap: 524284k total, 25892k used, 498392k free, 1316952k cached
/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp118 struct timespec total; // total elapsed time spent waiting in obtainBuffer() local
119 total.tv_sec = 0; in obtainBuffer()
120 total.tv_nsec = 0; in obtainBuffer()
255 if (!measure || requested->tv_sec < total.tv_sec || in obtainBuffer()
256 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { in obtainBuffer()
260 remaining.tv_sec = requested->tv_sec - total.tv_sec; in obtainBuffer()
261 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { in obtainBuffer()
290 total.tv_sec += after.tv_sec - before.tv_sec; in obtainBuffer()
295 total.tv_sec--; in obtainBuffer()
297 if ((total.tv_nsec += deltaNs) >= 1000000000) { in obtainBuffer()
[all …]
/frameworks/base/cmds/incident_helper/src/parsers/
DProcrankParser.cpp37 string zram, ram, total; in Parse() local
61 total = line; in Parse()
81 if (!total.empty()) { in Parse()
82 record = parseRecord(total); in Parse()
/frameworks/ml/nn/common/operations/
DMultinomial.cpp130 double total = 0; in EvalFloat32() local
135 total += exp(static_cast<double>(input_ptr_batch[j]) - batch_max); in EvalFloat32()
137 cdf[j] = total; in EvalFloat32()
142 const double target = simple_philox.RandDouble() * total; in EvalFloat32()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DTokenBucketTest.java133 int total = 0; in testBurst() local
134 while (total < want) { in testBurst()
138 total += tb.get(tb.available()); in testBurst()
141 assertDuration(total * delta, SystemClock.elapsedRealtime() - start); in testBurst()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleChartDataLoader.java48 final long total = bucket == null ? 0L : bucket.getRxBytes() + bucket.getTxBytes(); in recordUsage() local
49 if (total > 0L) { in recordUsage()
54 .setTotalUsage(total); in recordUsage()
DNetworkCycleData.java57 public Builder setTotalUsage(long total) { in setTotalUsage() argument
58 getObject().mTotalUsage = total; in setTotalUsage()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DColorfulnessFilter.java67 float total = 0; in onProcess() local
73 total += value; in onProcess()
78 float value = hueHistogram[c] / total; in onProcess()
/frameworks/base/proto/src/
Dipconnectivity.proto193 // The total number of getaddrinfo queries.
197 // The total number of gethostbyname queries.
201 // The total number of getaddrinfo errors.
205 // The total number of gethostbyname errors.
358 // The total number of received RAs.
361 // The total number of received RAs that matched a known RA.
364 // The total number of received RAs ignored due to the MAX_RAS limit.
367 // The total number of received RAs with an effective lifetime of 0 seconds.
371 // The total number of received RAs that could not be parsed.
374 // The total number of APF program updates triggered by an RA reception.
[all …]

123456