Searched refs:totalTime (Results 1 - 25 of 52) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockStats.java29 Entry(int count, long totalTime, int version) { argument
31 mTotalTime = totalTime;
H A DCameraPowerCalculator.java40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
41 app.cameraTimeMs = totalTime;
42 app.cameraPowerMah = (totalTime * mCameraPowerOnAvg) / (1000*60*60);
H A DFlashlightPowerCalculator.java38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
39 app.flashlightTimeMs = totalTime;
40 app.flashlightPowerMah = (totalTime * mFlashlightPowerOnAvg) / (1000*60*60);
H A DCpuPowerCalculator.java38 long totalTime = 0;
43 totalTime += u.getTimeAtCpuSpeed(cluster, speed, statsType);
46 totalTime = Math.max(totalTime, 1);
53 totalTime;
H A DKernelWakelockReader.java42 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 5: totalTime
54 |Process.PROC_OUT_LONG, // 6: totalTime
116 long totalTime;
155 totalTime = wlData[2] * 1000;
158 totalTime = (wlData[2] + 500) / 1000;
163 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime,
169 kwlStats.mTotalTime += totalTime;
172 kwlStats.mTotalTime = totalTime;
H A DProcessCpuTracker.java774 final int totalTime = mRelUserTime + mRelSystemTime + mRelIoWaitTime
777 if (DEBUG) Slog.i(TAG, "totalTime " + totalTime + " over sample time "
798 printProcessCPU(pw, "", -1, "TOTAL", totalTime, mRelUserTime, mRelSystemTime,
819 int totalTime, int user, int system, int iowait, int irq, int softIrq,
822 if (totalTime == 0) totalTime = 1;
823 printRatio(pw, user+system+iowait+irq+softIrq, totalTime);
831 printRatio(pw, user, totalTime);
833 printRatio(pw, system, totalTime);
818 printProcessCPU(PrintWriter pw, String prefix, int pid, String label, int totalTime, int user, int system, int iowait, int irq, int softIrq, int minFaults, int majFaults) argument
[all...]
/frameworks/native/include/gui/
H A DOccupancyTracker.h43 : totalTime(0),
50 : totalTime(_totalTime),
59 nsecs_t totalTime; member in struct:android::OccupancyTracker::Segment
82 totalTime = 0;
87 nsecs_t totalTime; member in struct:android::OccupancyTracker::PendingSegment
/frameworks/base/core/java/android/animation/
H A DTimeAnimator.java42 long totalTime = currentTime - mStartTime;
45 mListener.onTimeUpdate(this, totalTime, deltaTime);
83 * deltaTime will be zero. The same is true for totalTime, unless the animator was
93 * @param totalTime The total time elapsed since the animator started, in milliseconds.
96 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); argument
/frameworks/base/core/java/android/app/
H A DWaitResult.java35 public long totalTime; field in class:WaitResult
51 dest.writeLong(totalTime);
72 totalTime = source.readLong();
81 pw.println(prefix + " totalTime=" + totalTime);
/frameworks/base/core/java/android/os/
H A DCpuUsageInfo.java38 public CpuUsageInfo(long activeTime, long totalTime) { argument
40 mTotal = totalTime;
/frameworks/native/libs/gui/
H A DOccupancyTracker.cpp30 status_t result = parcel->writeInt64(totalTime);
46 status_t result = parcel->readInt64(&totalTime);
70 mPendingSegment.totalTime += delta;
104 mPendingSegment.totalTime;
108 mSegmentHistory.push_front({mPendingSegment.totalTime,
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBlasBenchmark.java93 float totalTime; field in class:BlasBenchmark.Processor.Result
102 return r.totalTime / r.iterations * 1000.f;
118 r.totalTime += (t2 - t) / 1000.f;
120 } while (r.totalTime < minTime);
125 r.totalTime += (t2 - t) / 1000.f;
148 Log.v("rs", "Test: time=" + r.totalTime +"s, iterations=" + r.iterations +
149 ", avg=" + r.totalTime / r.iterations * 1000.f + " " + r.testInfo);
195 mTestResults[ct] = r.totalTime / r.iterations * 1000.f;
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp208 double totalTime = timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec; local
228 totalTime = (timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec) - totalTime;
229 printf("totalTime=%f s, frameCount=%d, %.2f fps\n",
230 totalTime, frameCount, frameCount/totalTime);
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessState.java744 long totalTime = 0;
750 totalTime += getDuration(bucket, now);
754 mTmpTotalTime = totalTime;
755 return totalTime;
760 long now, long totalTime) {
770 procStates, now, totalTime, true);
772 new int[] { STATE_PERSISTENT }, now, totalTime, true);
774 new int[] {STATE_TOP}, now, totalTime, true);
776 new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, true);
778 new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, tru
758 dumpSummary(PrintWriter pw, String prefix, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime) argument
915 dumpProcessSummaryDetails(PrintWriter pw, String prefix, String label, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime, boolean full) argument
[all...]
H A DDumpUtils.java201 long totalTime = 0;
226 totalTime += time;
230 if (totalTime != 0 && pw != null) {
233 TimeUtils.formatDuration(totalTime, pw);
236 return totalTime;
313 long now, long totalTime) {
316 proc.dumpSummary(pw, prefix, screenStates, memStates, procStates, now, totalTime);
311 dumpProcessSummaryLocked(PrintWriter pw, String prefix, ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime) argument
H A DServiceState.java362 long now, long totalTime, boolean dumpSummary, boolean dumpAll) {
365 mRunStartTime, now, totalTime, !dumpSummary || dumpAll);
368 mStartedStartTime, now, totalTime, !dumpSummary || dumpAll);
371 mBoundStartTime, now, totalTime, !dumpSummary || dumpAll);
374 mExecStartTime, now, totalTime, !dumpSummary || dumpAll);
388 int count, int serviceType, int state, long startTime, long now, long totalTime,
400 DumpUtils.printPercent(pw, (double)myTime/(double)totalTime);
408 long totalTime = 0;
431 totalTime += time;
435 if (totalTime !
361 dumpStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, long now, long totalTime, boolean dumpSummary, boolean dumpAll) argument
386 dumpStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, String header, int count, int serviceType, int state, long startTime, long now, long totalTime, boolean dumpAll) argument
[all...]
H A DProcessStats.java333 data.totalTime = 0;
358 data.totalTime += memTime;
1221 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor,
1308 now, totalTime);
1329 now, totalTime, dumpSummary, dumpAll);
1408 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor,
1411 ALL_PROC_STATES, NON_CACHED_PROC_STATES, now, totalTime, reqPackage, activeOnly);
1432 long totalTime, long curTotalMem, int samples) {
1434 long mem = (long)(memWeight * 1024 / totalTime);
1458 totalMem.totalTime, totalPs
1431 printMemoryCategory(PrintWriter pw, String prefix, String label, double memWeight, long totalTime, long curTotalMem, int samples) argument
1513 dumpFilteredSummaryLocked(PrintWriter pw, String header, String prefix, int[] screenStates, int[] memStates, int[] procStates, int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) argument
1738 public long totalTime; field in class:ProcessStats.ProcessDataCollection
1789 public long totalTime; field in class:ProcessStats.TotalMemoryUseCollection
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackFragment.java78 long totalTime = getControlsRow().getDuration();
79 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) {
H A DPlaybackSupportFragment.java81 long totalTime = getControlsRow().getDuration();
82 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) {
H A DPlaybackOverlayFragment.java105 long totalTime = getControlsRow().getDuration();
106 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) {
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackFragment.java78 long totalTime = getControlsRow().getDuration();
79 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) {
H A DPlaybackSupportFragment.java81 long totalTime = getControlsRow().getDuration();
82 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) {
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java278 float totalTime; field in class:ImageProcessingActivity2.Processor.Result
306 mTest.animateBars(r.totalTime);
338 r.totalTime = (t2 - t) / 1000.f;
339 } while (r.totalTime < minTime);
343 r.totalTime = (t2 - t) / 1000.f;
372 Log.v("rs", "Test: time=" + r.totalTime +"s, frames=" + r.iterations +
373 ", avg=" + r.totalTime / r.iterations * 1000.f);
376 return r.totalTime / r.iterations * 1000.f;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DFocusHighlightHelper.java129 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument
131 if (totalTime >= mDuration) {
135 fraction = (float) (totalTime / (double) mDuration);
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyHistogram.java218 long totalTime = ((long)mAverageTimeMs) * mSampleCount + time;
219 mAverageTimeMs = (int)(totalTime/++mSampleCount);

Completed in 2414 milliseconds

123