/frameworks/base/libs/hwui/ |
D | Caches.cpp | 120 uint32_t total = 0; in dumpMemoryUsage() local 121 total += textureCache.getSize(); in dumpMemoryUsage() 122 total += layerCache.getSize(); in dumpMemoryUsage() 123 total += gradientCache.getSize(); in dumpMemoryUsage() 124 total += pathCache.getSize(); in dumpMemoryUsage() 125 total += dropShadowCache.getSize(); in dumpMemoryUsage() 126 total += roundRectShapeCache.getSize(); in dumpMemoryUsage() 127 total += circleShapeCache.getSize(); in dumpMemoryUsage() 128 total += ovalShapeCache.getSize(); in dumpMemoryUsage() 129 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 | 90 long total = statfs.getBlockCount(); in reportFreeSpace() local 91 if (bsize <= 0 || total <= 0) { in reportFreeSpace() 93 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total); in reportFreeSpace() 100 pw.print(total * bsize / 1024); in reportFreeSpace() 102 pw.print(avail * 100 / total); in reportFreeSpace()
|
D | EventLogTags.logtags | 11 # It lets us count the total amount of time between charges and the discharge level
|
D | ThrottleService.java | 550 long total = periodRx + periodTx; in onPollAlarm() local 553 ", read =" + incRead + ", written =" + incWrite + ", new total =" + total); in onPollAlarm() 558 checkThrottleAndPostNotification(total); in onPollAlarm()
|
/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/core/jni/ |
D | android_net_TrafficStats.cpp | 81 jlong total = 0; in getAll() local 89 total += number; in getAll() 93 if (supported) return total; in getAll() 109 jlong total = -1; in readTotal() local 116 if (num >= 0) total = total < 0 ? num : total + num; in readTotal() 121 return total; in readTotal()
|
D | android_bluetooth_BluetoothSocket.cpp | 476 int ret, total; in writeNative() local 499 total = 0; in writeNative() 508 total += ret; in writeNative() 513 return (jint)total; in writeNative()
|
D | com_android_internal_content_NativeLibraryHelper.cpp | 148 size_t* total = (size_t*) arg; in sumFiles() local 155 *total += uncompLen; in sumFiles()
|
/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/libs/ui/ |
D | GraphicBufferAllocator.cpp | 56 size_t total = 0; in dump() local 74 total += rec.size; in dump() 76 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/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | PlaybackGraphs.java | 79 double total = 0, totalCount = 0; 83 total += coverage * (data.isReady ? 1 : 0); 89 return total / totalCount;
|
/frameworks/base/libs/rs/ |
D | rsContext.cpp | 144 double total = 0; in timerPrint() local 146 total += mTimers[ct]; in timerPrint() 157 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript, in timerPrint() 158 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap, in timerPrint() 159 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000, in timerPrint() 160 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000, in timerPrint()
|
D | rsElement.cpp | 56 size_t total = 0; in getSizeBits() local 58 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits() 60 return total; in getSizeBits()
|
/frameworks/base/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 | 750 int total = 0; in printStats() local 775 total += num; in printStats() 779 return "# Open Cursors=" + total + s; in printStats()
|
/frameworks/base/opengl/libagl/ |
D | array.cpp | 375 total = 0; in clear() 404 uint32_t hits = total - misses; in dump_stats() 407 case GL_POINTS: prim_count = total; break; in dump_stats() 408 case GL_LINE_STRIP: prim_count = total - 1; break; in dump_stats() 409 case GL_LINE_LOOP: prim_count = total - 1; break; in dump_stats() 410 case GL_LINES: prim_count = total / 2; break; in dump_stats() 411 case GL_TRIANGLE_STRIP: prim_count = total - 2; break; in dump_stats() 412 case GL_TRIANGLE_FAN: prim_count = total - 2; break; in dump_stats() 413 case GL_TRIANGLES: prim_count = total / 3; break; in dump_stats() 418 total, hits, misses, (hits*100)/total, in dump_stats() [all …]
|
/frameworks/base/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 60 virtual int Length(long long* total, long long* available) { in Length() 63 *total = -1; in Length() 69 if (total) { in Length() 70 *total = size; in Length()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 1189 float total = 0f; in measureText() local 1195 return total + mainFont.mMetrics.charsWidth(text, i, lastIndex - i); in measureText() 1197 total += mainFont.mMetrics.charsWidth(text, i, upTo - i); in measureText() 1217 total += fontInfo.mMetrics.charsWidth(text, i, charCount); in measureText() 1228 total += mainFont.mMetrics.charsWidth(text, i, size); in measureText() 1233 return total; in measureText()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 738 int total; in fillBuffer() local 739 while ((total = in.read(buffer, limit, buffer.length - limit)) != -1) { in fillBuffer() 740 limit += total; in fillBuffer()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseCursorTest.java | 266 int total; field in DatabaseCursorTest.TestObserver 271 total = total_; in TestObserver() 277 if (total == count) { in onChanged()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | dialogs.jd | 386 …the total percentage completed so far or {@link android.app.ProgressDialog#incrementProgressBy(int… 387 with an incremental value to add to the total percentage completed so far.</li> 506 int total = msg.arg1; 507 progressDialog.setProgress(total); 508 if (total >= 100){ 521 int total; 529 total = 0; 537 msg.arg1 = total; 539 total++;
|
/frameworks/base/services/java/com/android/server/am/ |
D | EventLogTags.logtags | 6 2721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6)
|