/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 282 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/ |
D | MP4Source.cpp | 71 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/ |
D | RandomBlock.java | 54 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()
|
D | DiskStatsService.java | 92 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/ |
D | NBAIO.cpp | 141 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()
|
D | AudioBufferProviderSource.cpp | 84 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/ |
D | Part.java | 423 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/ |
D | fp_mad.rs | 11 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/ |
D | fp_mad.rs | 11 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/ |
D | fp_mad.rs | 11 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/ |
D | fp_mad.rs | 11 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/ |
D | Caches.cpp | 240 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/ |
D | ByteArrayBuilder.java | 83 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/ |
D | ArrayUtils.java | 169 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/ |
D | index.jd | 9 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/ |
D | GraphicBufferAllocator.cpp | 58 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/ |
D | InstrumentationCoreTestRunner.java | 152 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/ |
D | NBAIO.h | 199 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,
|
D | AudioBufferProviderSource.h | 46 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
|
/frameworks/rs/ |
D | rsElement.cpp | 64 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/ |
D | CameraPreviewActivity.java | 316 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/ |
D | ScaleGestureDetector.java | 183 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/ |
D | AAC_E_SAMPLES.c | 149 int total = 0; in main() local 258 total += t2 - t1; in main()
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | PlaybackGraphs.java | 79 double total = 0, totalCount = 0; 83 total += coverage * (data.isReady ? 100 : 0); 89 return total / totalCount;
|
/frameworks/base/core/java/android/database/ |
D | CursorWindow.java | 740 int total = 0; in printStats() local 765 total += num; in printStats() 769 return "# Open Cursors=" + total + s; in printStats()
|