Home
last modified time | relevance | path

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

123

/frameworks/base/libs/hwui/
DCaches.cpp120 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/
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.java90 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()
DEventLogTags.logtags11 # It lets us count the total amount of time between charges and the discharge level
DThrottleService.java550 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/
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/base/tests/RenderScriptTests/tests/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/core/jni/
Dandroid_net_TrafficStats.cpp81 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()
Dandroid_bluetooth_BluetoothSocket.cpp476 int ret, total; in writeNative() local
499 total = 0; in writeNative()
508 total += ret; in writeNative()
513 return (jint)total; in writeNative()
Dcom_android_internal_content_NativeLibraryHelper.cpp148 size_t* total = (size_t*) arg; in sumFiles() local
155 *total += uncompLen; in sumFiles()
/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/libs/ui/
DGraphicBufferAllocator.cpp56 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/
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/tests/TileBenchmark/src/com/test/tilebenchmark/
DPlaybackGraphs.java79 double total = 0, totalCount = 0;
83 total += coverage * (data.isReady ? 1 : 0);
89 return total / totalCount;
/frameworks/base/libs/rs/
DrsContext.cpp144 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()
DrsElement.cpp56 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/
DAAC_E_SAMPLES.c149 int total = 0; in main() local
258 total += t2 - t1; in main()
/frameworks/base/core/java/android/database/
DCursorWindow.java750 int total = 0; in printStats() local
775 total += num; in printStats()
779 return "# Open Cursors=" + total + s; in printStats()
/frameworks/base/opengl/libagl/
Darray.cpp375 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/
DMatroskaExtractor.cpp60 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/
DPaint_Delegate.java1189 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/
DJsonReader.java738 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/
DDatabaseCursorTest.java266 int total; field in DatabaseCursorTest.TestObserver
271 total = total_; in TestObserver()
277 if (total == count) { in onChanged()
/frameworks/base/docs/html/guide/topics/ui/
Ddialogs.jd386 …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/
DEventLogTags.logtags6 2721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6)

123