/frameworks/base/core/java/android/animation/ |
H A D | TimeAnimator.java | 42 long totalTime = currentTime - mStartTime; 45 mListener.onTimeUpdate(this, totalTime, deltaTime); 82 * deltaTime will be zero. The same is true for totalTime, unless the animator was 92 * @param totalTime The total time elapsed since the animator started, in milliseconds. 95 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); argument
|
/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/packages/SystemUI/src/com/android/systemui/ |
H A D | LoadAverageService.java | 190 final int totalTime = userTime+systemTime+iowaitTime+irqTime+softIrqTime+idleTime; 191 if (totalTime == 0) { 194 int userW = (userTime*W)/totalTime; 195 int systemW = (systemTime*W)/totalTime; 196 int irqW = ((iowaitTime+irqTime+softIrqTime)*W)/totalTime; 235 userW = (st.rel_utime*W)/totalTime; 236 systemW = (st.rel_stime*W)/totalTime;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessStats.java | 492 long totalTime = 0; 517 totalTime += time; 521 if (totalTime != 0 && pw != null) { 524 TimeUtils.formatDuration(totalTime, pw); 527 return totalTime; 586 data.totalTime = 0; 594 data.totalTime += proc.getDuration(bucket, now); 637 long totalTime = 0; 641 totalTime += proc.mState.getLong(val, 0); 643 totalTime 1076 dumpProcessSummaryDetails(PrintWriter pw, ProcessState proc, String prefix, String label, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime, boolean full) argument 1098 dumpProcessSummaryLocked(PrintWriter pw, String prefix, ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, boolean inclUidVers, long now, long totalTime) argument 2402 dumpServiceStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, String header, ServiceState service, int count, int serviceType, int state, long startTime, long now, long totalTime, boolean dumpAll) argument 2433 printMemoryCategory(PrintWriter pw, String prefix, String label, double memWeight, long totalTime, long curTotalMem, int samples) argument 2512 dumpFilteredSummaryLocked(PrintWriter pw, String header, String prefix, int[] screenStates, int[] memStates, int[] procStates, int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) argument 3762 public long totalTime; field in class:ProcessStats.ProcessDataCollection 3813 public long totalTime; field in class:ProcessStats.TotalMemoryUseCollection [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingActivityJB.java | 243 float totalTime; field in class:ImageProcessingActivityJB.Processor.Result 271 mTest.animateBars(r.totalTime); 293 r.totalTime += (t2 - t) / 1000.f; 295 } while (r.totalTime < minTime); 300 r.totalTime += (t2 - t) / 1000.f; 328 Log.v("rs", "Test: time=" + r.totalTime +"s, frames=" + r.itterations + 329 ", avg=" + r.totalTime / r.itterations * 1000.f); 332 return r.totalTime / r.itterations * 1000.f;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessCpuTracker.java | 743 final int totalTime = mRelUserTime + mRelSystemTime + mRelIoWaitTime 746 if (DEBUG) Slog.i(TAG, "totalTime " + totalTime + " over sample time " 767 printProcessCPU(pw, "", -1, "TOTAL", totalTime, mRelUserTime, mRelSystemTime, 788 int totalTime, int user, int system, int iowait, int irq, int softIrq, 791 if (totalTime == 0) totalTime = 1; 792 printRatio(pw, user+system+iowait+irq+softIrq, totalTime); 800 printRatio(pw, user, totalTime); 802 printRatio(pw, system, totalTime); 787 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 | 408 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 5: totalTime 420 |Process.PROC_OUT_LONG, // 6: totalTime 1144 public void updateCurrentReportedTotalTime(long totalTime) { argument 1147 mUnpluggedReportedTotalTime = totalTime; 1151 mCurrentReportedTotalTime = totalTime; 1756 long totalTime; 1799 totalTime = wlData[2] * 1000; 1802 totalTime = (wlData[2] + 500) / 1000; 1807 m.put(name, new KernelWakelockStats(count, totalTime, 1814 kwlStats.mTotalTime += totalTime; 1844 KernelWakelockStats(int count, long totalTime, int version) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 97 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 99 if (totalTime >= mDuration) { 103 fraction = (float) (totalTime / (double) mDuration);
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 2223 long totalTime = (timer.getTotalTimeLocked(rawRealtime, which) + 500) / 1000; 2225 if (totalTime != 0) { 2226 dumpLine(pw, uid, category, SYNC_DATA, ent.getKey(), totalTime, count); 2236 long totalTime = (timer.getTotalTimeLocked(rawRealtime, which) + 500) / 1000; 2238 if (totalTime != 0) { 2239 dumpLine(pw, uid, category, JOB_DATA, ent.getKey(), totalTime, count); 2252 long totalTime = (timer.getTotalTimeLocked(rawRealtime, which) + 500) / 1000; 2254 if (totalTime != 0) { 2255 dumpLine(pw, uid, category, SENSOR_DATA, sensorNumber, totalTime, count); 2263 long totalTime [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityRecord.java | 868 final long totalTime = stack.mFullyDrawnStartTime != 0 874 thisTime, totalTime); 881 if (thisTime != totalTime) { 883 TimeUtils.formatDuration(totalTime, sb); 888 if (totalTime > 0) { 889 //service.mUsageStatsService.noteFullyDrawnTime(realActivity, (int) totalTime); 899 final long totalTime = stack.mLaunchStartTime != 0 905 thisTime, totalTime); 912 if (thisTime != totalTime) { 914 TimeUtils.formatDuration(totalTime, s [all...] |
H A D | ActivityStackSupervisor.java | 696 w.totalTime = SystemClock.uptimeMillis() - w.thisTime; 697 w.thisTime = w.totalTime; 706 long thisTime, long totalTime) { 717 w.totalTime = totalTime; 987 outResult.totalTime = 0; 705 reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, long thisTime, long totalTime) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | RowsFragment.java | 70 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 72 updateSelect(totalTime, deltaTime); 76 void updateSelect(long totalTime, long deltaTime) { argument 78 if (totalTime >= mSelectAnimatorDurationInUse) { 82 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse);
|
H A D | RowsSupportFragment.java | 72 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { argument 74 updateSelect(totalTime, deltaTime); 78 void updateSelect(long totalTime, long deltaTime) { argument 80 if (totalTime >= mSelectAnimatorDurationInUse) { 84 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse);
|
/frameworks/base/core/java/android/net/http/ |
H A D | RequestQueue.java | 116 int totalTime = 0; 120 totalTime += rt.mTotalThreadTime; 124 Log.d("Http", "Http thread used " + totalTime + " ms " + " for "
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 679 long totalTime = SystemClock.elapsedRealtimeNanos() - startTime; 680 Log.d(TAG, "Configure took " + totalTime + " ns"); 888 long totalTime = SystemClock.elapsedRealtimeNanos() - startTime; 889 Log.d(TAG, "Capture request took " + totalTime + " ns");
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 279 mBatteryAudio.totalTime[i] = 0; 2227 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; 2267 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; 2342 int32_t totalTime; local 2345 totalTime = mBatteryAudio.totalTime[i]; 2350 totalTime += tmpTime; 2353 reply->writeInt32(totalTime); 2355 mBatteryAudio.totalTime[i] = 0;
|
H A D | MediaPlayerService.h | 323 // totalTime[]: total time of audio output devices usage 324 int32_t totalTime[NUM_AUDIO_DEVICES]; // in ms member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UserUsageStatsService.java | 386 final long totalTime = SystemClock.elapsedRealtime() - startTime; 387 Slog.i(TAG, mLogPrefix + "Rolling over usage stats complete. Took " + totalTime 502 pw.printPair("totalTime", formatElapsedTime(usageStats.mTotalTimeInForeground, prettyDates)); 516 pw.printPair("totalTime", formatElapsedTime(config.mTotalTimeActive, prettyDates));
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardActivityLauncher.java | 249 result.result, result.thisTime, result.totalTime, result.who,
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.java | 534 public long totalTime; field in class:IActivityManager.WaitResult 550 dest.writeLong(totalTime); 571 totalTime = source.readLong();
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 453 uint32_t totalTime = 0; 456 totalTime += kSleepTime; 457 if (totalTime > kMaxSleepTime) { 459 totalTime, mHal2Device->ops->get_in_progress_count(mHal2Device));
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 3960 int64_t totalTime = 0; local 3964 if (totalTime + se->mDurationUs > seekTimeUs) { 3966 if ((mode == ReadOptions::SEEK_NEXT_SYNC && seekTimeUs > totalTime) || 3968 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) { 3971 totalTime += se->mDurationUs; 3976 totalTime += se->mDurationUs; 3983 mCurrentTime = totalTime * mTimescale / 1000000ll;
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 844 if (result.totalTime >= 0) { 845 System.out.println("TotalTime: " + result.totalTime);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 2329 long totalTime = nowTime - mFpsStartTime; 2332 if (totalTime > 1000) { 2333 float fps = (float) mFpsNumFrames * 1000 / totalTime;
|