/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 269 long total = 0; in getMobileTxPackets() local 271 total += getTxPackets(iface); in getMobileTxPackets() 273 return total; in getMobileTxPackets() 283 long total = 0; in getMobileRxPackets() local 285 total += getRxPackets(iface); in getMobileRxPackets() 287 return total; in getMobileRxPackets() 297 long total = 0; in getMobileTxBytes() local 299 total += getTxBytes(iface); in getMobileTxBytes() 301 return total; in getMobileTxBytes() 311 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/libs/hwui/ |
D | Caches.cpp | 206 uint32_t total = 0; in dumpMemoryUsage() local 207 total += textureCache.getSize(); in dumpMemoryUsage() 208 total += layerCache.getSize(); in dumpMemoryUsage() 209 total += gradientCache.getSize(); in dumpMemoryUsage() 210 total += pathCache.getSize(); in dumpMemoryUsage() 211 total += dropShadowCache.getSize(); in dumpMemoryUsage() 212 total += roundRectShapeCache.getSize(); in dumpMemoryUsage() 213 total += circleShapeCache.getSize(); in dumpMemoryUsage() 214 total += ovalShapeCache.getSize(); in dumpMemoryUsage() 215 total += rectShapeCache.getSize(); in dumpMemoryUsage() [all …]
|
/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 | 95 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) in writeVia() argument 109 while (accumulator < total) { in writeVia() 110 size_t count = total - accumulator; in writeVia() 131 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, in readVia() argument 146 while (accumulator < total) { in readVia() 147 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/base/tests/RenderScriptTests/tests/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/tests/RenderScriptTests/tests_v14/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/tests/RenderScriptTests/tests_v11/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/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 145 public static long total(long[] array) { in total() method in ArrayUtils 146 long total = 0; in total() local 148 total += value; in total() 150 return total; in total()
|
/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/support/renderscript/v8/rs_support/ |
D | rsContext.cpp | 128 double total = 0; in timerPrint() local 130 total += mTimers[ct]; in timerPrint() 141 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript, in timerPrint() 142 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap, in timerPrint() 143 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000, in timerPrint() 144 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000, in timerPrint()
|
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/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/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/av/include/media/nbaio/ |
D | NBAIO.h | 201 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 302 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/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
D | CameraPreviewActivity.java | 313 float total = 0; in doInBackground() local 315 total += (float)mTiming[i]; in doInBackground() 317 total /= mTiming.length; in doInBackground() 318 Log.e(TAG, "time + " + total); in doInBackground()
|
/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/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/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/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/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()
|