/frameworks/base/core/java/com/android/internal/os/ |
H A D | KernelWakelockStats.java | 29 Entry(int count, long totalTime, int version) { argument 31 mTotalTime = totalTime;
|
H A D | CameraPowerCalculator.java | 40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; 41 app.cameraTimeMs = totalTime; 42 app.cameraPowerMah = (totalTime * mCameraPowerOnAvg) / (1000*60*60);
|
H A D | FlashlightPowerCalculator.java | 38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; 39 app.flashlightTimeMs = totalTime; 40 app.flashlightPowerMah = (totalTime * mFlashlightPowerOnAvg) / (1000*60*60);
|
H A D | CpuPowerCalculator.java | 38 long totalTime = 0; 43 totalTime += u.getTimeAtCpuSpeed(cluster, speed, statsType); 46 totalTime = Math.max(totalTime, 1); 53 totalTime;
|
H A D | KernelWakelockReader.java | 42 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 D | ProcessCpuTracker.java | 774 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 D | OccupancyTracker.h | 43 : totalTime(0), 48 Segment(nsecs_t totalTime, size_t numFrames, float occupancyAverage, argument 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 D | TimeAnimator.java | 42 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/os/ |
H A D | CpuUsageInfo.java | 38 public CpuUsageInfo(long activeTime, long totalTime) { argument 40 mTotal = totalTime;
|
/frameworks/native/libs/gui/ |
H A D | OccupancyTracker.cpp | 30 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/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 208 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/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BlasBenchmark.java | 98 float totalTime; field in class:BlasBenchmark.Processor.Result 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); 195 mTestResults[ct] = r.totalTime / r.iterations * 1000.f;
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessState.java | 743 long totalTime = 0; 749 totalTime += getDuration(bucket, now); 753 mTmpTotalTime = totalTime; 754 return totalTime; 759 long now, long totalTime) { 769 procStates, now, totalTime, true); 771 new int[] { STATE_PERSISTENT }, now, totalTime, true); 773 new int[] {STATE_TOP}, now, totalTime, true); 775 new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, true); 777 new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, tru 757 dumpSummary(PrintWriter pw, String prefix, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime) argument 914 dumpProcessSummaryDetails(PrintWriter pw, String prefix, String label, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime, boolean full) argument [all...] |
H A D | DumpUtils.java | 201 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 D | ServiceState.java | 362 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 D | ProcessStats.java | 333 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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | ImageProcessingActivity2.java | 278 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/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingActivityJB.java | 244 float totalTime; field in class:ImageProcessingActivityJB.Processor.Result 272 mTest.animateBars(r.totalTime); 294 r.totalTime += (t2 - t) / 1000.f; 296 } while (r.totalTime < minTime); 301 r.totalTime += (t2 - t) / 1000.f; 329 Log.v("rs", "Test: time=" + r.totalTime +"s, frames=" + r.itterations + 330 ", avg=" + r.totalTime / r.itterations * 1000.f); 333 return r.totalTime / r.itterations * 1000.f;
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | PlaybackOverlayFragment.java | 109 int totalTime = getControlsRow().getTotalTime(); 110 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) { 113 return Math.max(16, totalTime / getView().getWidth());
|
H A D | PlaybackOverlaySupportFragment.java | 111 int totalTime = getControlsRow().getTotalTime(); 112 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) { 115 return Math.max(16, totalTime / getView().getWidth());
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | PlaybackOverlayFragment.java | 109 int totalTime = getControlsRow().getTotalTime(); 110 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) { 113 return Math.max(16, totalTime / getView().getWidth());
|
H A D | PlaybackOverlaySupportFragment.java | 111 int totalTime = getControlsRow().getTotalTime(); 112 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) { 115 return Math.max(16, totalTime / getView().getWidth());
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 125 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 127 if (totalTime >= mDuration) { 131 fraction = (float) (totalTime / (double) mDuration);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyHistogram.java | 218 long totalTime = ((long)mAverageTimeMs) * mSampleCount + time; 219 mAverageTimeMs = (int)(totalTime/++mSampleCount);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | RowsFragment.java | 97 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 99 updateSelect(totalTime, deltaTime); 103 void updateSelect(long totalTime, long deltaTime) { argument 105 if (totalTime >= mSelectAnimatorDurationInUse) { 109 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse);
|