/frameworks/base/core/java/android/os/ |
H A D | CpuUsageInfo.java | 38 public CpuUsageInfo(long activeTime, long totalTime) { argument 40 mTotal = totalTime;
|
/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 | 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...] |
H A D | BatteryStatsImpl.java | 1530 * the total value of totalTime and count are recorded, starting a new monotonically 1533 * @param totalTime total time of sample in microseconds. 1536 public void update(long totalTime, int count) { argument 1539 mUnpluggedReportedTotalTime = totalTime; 1545 if (totalTime < mCurrentReportedTotalTime || count < mCurrentReportedCount) { 1549 mCurrentReportedTotalTime = totalTime; 2983 final int totalTime = totalUTime + totalSTime; 2986 if (totalTime <= (out.appCpuUTime3+out.appCpuSTime3)) { 2989 if (totalTime <= (out.appCpuUTime2+out.appCpuSTime2)) { 2997 if (totalTime < [all...] |
/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/app/ |
H A D | WaitResult.java | 35 public long totalTime; field in class:WaitResult 51 dest.writeLong(totalTime); 72 totalTime = source.readLong(); 81 pw.println(prefix + " totalTime=" + totalTime);
|
/frameworks/native/include/gui/ |
H A D | OccupancyTracker.h | 43 : 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/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/base/core/java/com/android/internal/app/procstats/ |
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 | ProcessState.java | 744 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 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/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BlasBenchmark.java | 93 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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 129 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 131 if (totalTime >= mDuration) { 135 fraction = (float) (totalTime / (double) mDuration);
|
H A D | PlaybackControlsRow.java | 62 * @param totalTime Total time in milliseconds. 64 public void onDurationChanged(PlaybackControlsRow row, long totalTime) { argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 294 // totalTime[]: total time of audio output devices usage 295 int32_t totalTime[NUM_AUDIO_DEVICES]; // in ms member in struct:android::MediaPlayerService::BatteryTracker::BatteryAudioFlingerUsageInfo
|
H A D | MediaPlayerService.cpp | 2488 mBatteryAudio.totalTime[i] = 0; 2529 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; 2569 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; 2644 int32_t totalTime; local 2647 totalTime = mBatteryAudio.totalTime[i]; 2652 totalTime += tmpTime; 2655 reply->writeInt32(totalTime); 2657 mBatteryAudio.totalTime[i] = 0;
|
/frameworks/rs/tests/java_api/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/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);
|
H A D | RowsSupportFragment.java | 100 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 102 updateSelect(totalTime, deltaTime); 106 void updateSelect(long totalTime, long deltaTime) { argument 108 if (totalTime >= mSelectAnimatorDurationInUse) { 112 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse);
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.h | 724 totalTime(0), 730 nsecs_t totalTime; member in struct:android::SurfaceFlinger::BufferingStats
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 4821 int64_t totalTime = 0; local 4825 if (totalTime + se->mDurationUs > seekTimeUs) { 4827 if ((mode == ReadOptions::SEEK_NEXT_SYNC && seekTimeUs > totalTime) || 4829 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { 4832 totalTime += se->mDurationUs; 4837 totalTime += se->mDurationUs; 4848 mCurrentTime = totalTime * mTimescale / 1000000ll;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 1152 result.totalTime = SystemClock.uptimeMillis() - result.thisTime; 1153 result.thisTime = result.totalTime; 1181 long thisTime, long totalTime) { 1192 w.totalTime = totalTime; 1180 reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, long thisTime, long totalTime) argument
|