Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/net/
DTrafficStats.java295 long total = 0; in getMobileTxPackets() local
297 total += getTxPackets(iface); in getMobileTxPackets()
299 return total; in getMobileTxPackets()
312 long total = 0; in getMobileRxPackets() local
314 total += getRxPackets(iface); in getMobileRxPackets()
316 return total; in getMobileRxPackets()
329 long total = 0; in getMobileTxBytes() local
331 total += getTxBytes(iface); in getMobileTxBytes()
333 return total; in getMobileTxBytes()
346 long total = 0; in getMobileRxBytes() local
[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/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()
DDiskStatsService.java91 long total = statfs.getBlockCount(); in reportFreeSpace() local
92 if (bsize <= 0 || total <= 0) { in reportFreeSpace()
94 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); in reportFreeSpace()
101 pw.print(total * bsize / 1024); in reportFreeSpace()
103 pw.print(avail * 100 / total); in reportFreeSpace()
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp74 struct timespec total; // total elapsed time spent waiting in obtainBuffer() local
75 total.tv_sec = 0; in obtainBuffer()
76 total.tv_nsec = 0; in obtainBuffer()
199 if (!measure || requested->tv_sec < total.tv_sec || in obtainBuffer()
200 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) { in obtainBuffer()
204 remaining.tv_sec = requested->tv_sec - total.tv_sec; in obtainBuffer()
205 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { in obtainBuffer()
233 total.tv_sec += after.tv_sec - before.tv_sec; in obtainBuffer()
237 total.tv_sec--; in obtainBuffer()
239 if ((total.tv_nsec += deltaNs) >= 1000000000) { in obtainBuffer()
[all …]
/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, in readVia() argument
115 while (accumulator < total) { in readVia()
116 size_t count = total - accumulator; in readVia()
DAudioBufferProviderSource.cpp84 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, in readVia() argument
94 ALOG_ASSERT(accumulator <= total); in readVia()
95 size_t count = total - accumulator; in readVia()
/frameworks/base/core/java/com/android/internal/http/multipart/
DPart.java429 long total = 0; in getLengthOfParts() local
437 total += l; in getLengthOfParts()
439 total += EXTRA_BYTES.length; in getLengthOfParts()
440 total += partBoundary.length; in getLengthOfParts()
441 total += EXTRA_BYTES.length; in getLengthOfParts()
442 total += CRLF_BYTES.length; in getLengthOfParts()
443 return total; in getLengthOfParts()
/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/base/libs/hwui/
DCaches.cpp268 uint32_t total = 0; in dumpMemoryUsage() local
287 total += memused; in dumpMemoryUsage()
313 total += textureCache.getSize(); in dumpMemoryUsage()
314 total += renderBufferCache.getSize(); in dumpMemoryUsage()
315 total += gradientCache.getSize(); in dumpMemoryUsage()
316 total += pathCache.getSize(); in dumpMemoryUsage()
317 total += tessellationCache.getSize(); in dumpMemoryUsage()
318 total += dropShadowCache.getSize(); in dumpMemoryUsage()
319 total += patchCache.getSize(); in dumpMemoryUsage()
321 total += fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dfp_mad.rs11 float total = 0;
35 float total = 0;
59 float total = 0;
74 float total = 0;
89 float total = 0;
130 float total = 0;
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dfp_mad.rs11 float total = 0;
35 float total = 0;
59 float total = 0;
74 float total = 0;
89 float total = 0;
130 float total = 0;
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dfp_mad.rs11 float total = 0;
35 float total = 0;
59 float total = 0;
74 float total = 0;
89 float total = 0;
130 float total = 0;
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dfp_mad.rs11 float total = 0;
35 float total = 0;
59 float total = 0;
74 float total = 0;
89 float total = 0;
130 float total = 0;
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dfp_mad.rs11 float total = 0;
35 float total = 0;
59 float total = 0;
74 float total = 0;
89 float total = 0;
130 float total = 0;
/frameworks/av/media/libstagefright/
DClockEstimator.cpp160 LinearFit total; in estimate() local
161 total.combine(mHead); in estimate()
162 total.combine(mMain); in estimate()
163 total.combine(mTail); in estimate()
164 return total.interpolate(x); in estimate()
/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/core/java/android/hardware/camera2/legacy/
DRequestQueue.java142 long total = mCurrentFrameNumber; in calculateLastFrame() local
144 total += b.getNumberOfRequests(); in calculateLastFrame()
146 return total - 1; in calculateLastFrame()
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp155 uint32_t total = calculateIfdSize(size); in getSize() local
156 WORD_ALIGN(total); in getSize()
158 total += mEntries[i]->getSize(); in getSize()
160 return total; in getSize()
356 uint32_t total = 0; in getStripSize() local
358 total += byteCounts[i]; in getStripSize()
360 return total; in getStripSize()
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp58 size_t total = 0; in dump() local
76 total += rec.size; in dump()
78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f); in dump()
/frameworks/base/docs/html/about/dashboards/
Dindex.jd12 tr .total {
17 tr th.total {
416 $trh.append("<th scope='col' class='total'>Total</th>");
421 $.each(densityTotals, function(i, total) {
433 var total = 0;
438 total += parseFloat(num);
441 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>");
447 var $tr = $("<tr><th class='total'>Total</th></tr>");
448 $.each(densityTotals, function(i, total) {
449 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>");
/frameworks/base/test-runner/src/android/test/
DInstrumentationCoreTestRunner.java152 long total = runtime.totalMemory(); in getAndroidTestRunner()
154 long used = total - free; in getAndroidTestRunner()
156 Log.d(TAG, "Total memory : " + total); in getAndroidTestRunner()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java203 public static long total(long[] array) { in total() method in ArrayUtils
204 long total = 0; in total() local
206 total += value; in total()
208 return total; in total()
/frameworks/av/include/media/nbaio/
DNBAIO.h211 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0);
317 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
/frameworks/rs/
DrsElement.cpp76 size_t total = 0; in getSizeBits() local
78 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits()
80 return total; in getSizeBits()
88 size_t total = 0; in getSizeBitsUnpadded() local
90 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; in getSizeBitsUnpadded()
92 return total; in getSizeBitsUnpadded()

12345