Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/net/
DTrafficStats.java282 long total = 0; in getMobileTxPackets() local
284 total += getTxPackets(iface); in getMobileTxPackets()
286 return total; in getMobileTxPackets()
299 long total = 0; in getMobileRxPackets() local
301 total += getRxPackets(iface); in getMobileRxPackets()
303 return total; in getMobileRxPackets()
316 long total = 0; in getMobileTxBytes() local
318 total += getTxBytes(iface); in getMobileTxBytes()
320 return total; in getMobileTxBytes()
333 long total = 0; in getMobileRxBytes() local
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
DMP4Source.cpp71 size_t total = 0; in readAt() local
72 while (total < size) { in readAt()
74 (uint8_t *)data + total, size - total, &extra); in readAt()
82 mPosition += total; in readAt()
86 total += n; in readAt()
91 mPosition += total; in readAt()
93 return total; in readAt()
/frameworks/base/services/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.java92 long total = statfs.getBlockCount(); in reportFreeSpace() local
93 if (bsize <= 0 || total <= 0) { in reportFreeSpace()
95 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); in reportFreeSpace()
102 pw.print(total * bsize / 1024); in reportFreeSpace()
104 pw.print(avail * 100 / total); in reportFreeSpace()
/frameworks/av/media/libnbaio/
DNBAIO.cpp141 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) in writeVia() argument
155 while (accumulator < total) { in writeVia()
156 size_t count = total - accumulator; in writeVia()
177 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, in readVia() argument
192 while (accumulator < total) { in readVia()
193 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.java423 long total = 0; in getLengthOfParts() local
431 total += l; in getLengthOfParts()
433 total += EXTRA_BYTES.length; in getLengthOfParts()
434 total += partBoundary.length; in getLengthOfParts()
435 total += EXTRA_BYTES.length; in getLengthOfParts()
436 total += CRLF_BYTES.length; in getLengthOfParts()
437 return total; in getLengthOfParts()
/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_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/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_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/base/libs/hwui/
DCaches.cpp240 uint32_t total = 0; in dumpMemoryUsage() local
241 total += textureCache.getSize(); in dumpMemoryUsage()
242 total += layerCache.getSize(); in dumpMemoryUsage()
243 total += renderBufferCache.getSize(); in dumpMemoryUsage()
244 total += gradientCache.getSize(); in dumpMemoryUsage()
245 total += pathCache.getSize(); in dumpMemoryUsage()
246 total += dropShadowCache.getSize(); in dumpMemoryUsage()
248 total += fontRenderer->getFontRendererSize(i); in dumpMemoryUsage()
252 log.appendFormat(" %d bytes, %.2f MB\n", total, total / 1024.0f / 1024.0f); in dumpMemoryUsage()
/frameworks/base/core/java/android/webkit/
DByteArrayBuilder.java83 int total = 0; in getByteSize() local
87 total += c.mLength; in getByteSize()
89 return total; in getByteSize()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java169 public static long total(long[] array) { in total() method in ArrayUtils
170 long total = 0; in total() local
172 total += value; in total()
174 return total; in total()
/frameworks/base/docs/html/about/dashboards/
Dindex.jd9 tr .total {
14 tr th.total {
399 $trh.append("<th scope='col' class='total'>Total</th>");
404 $.each(densityTotals, function(i, total) {
416 var total = 0;
421 total += parseFloat(num);
424 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>");
430 var $tr = $("<tr><th class='total'>Total</th></tr>");
431 $.each(densityTotals, function(i, total) {
432 $tr.append("<td class='total'>" + total.toFixed(1) + "%</td>");
/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/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/av/include/media/nbaio/
DNBAIO.h199 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0);
300 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
/frameworks/rs/
DrsElement.cpp64 size_t total = 0; in getSizeBits() local
66 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits()
68 return total; in getSizeBits()
76 size_t total = 0; in getSizeBitsUnpadded() local
78 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; in getSizeBitsUnpadded()
80 return total; in getSizeBitsUnpadded()
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java316 float total = 0; in doInBackground() local
318 total += (float)mTiming[i]; in doInBackground()
320 total /= mTiming.length; in doInBackground()
321 Log.e(TAG, "time + " + total); in doInBackground()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java183 float total = 0; in addTouchHistory() local
197 total += major; in addTouchHistory()
221 final float avg = total / sampleCount; in addTouchHistory()
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c149 int total = 0; in main() local
258 total += t2 - t1; in main()
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DPlaybackGraphs.java79 double total = 0, totalCount = 0;
83 total += coverage * (data.isReady ? 100 : 0);
89 return total / totalCount;
/frameworks/base/core/java/android/database/
DCursorWindow.java740 int total = 0; in printStats() local
765 total += num; in printStats()
769 return "# Open Cursors=" + total + s; in printStats()

1234