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

/frameworks/base/core/java/android/animation/
H A DTimeAnimator.java30 long totalTime = currentTime - mStartTime;
33 mListener.onTimeUpdate(this, totalTime, deltaTime);
62 * since the last frame. The first time the listener is called, totalTime and
73 * @param totalTime The
75 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); argument
/frameworks/base/opengl/tests/angeles/
H A Dapp-linux.cpp207 double totalTime = timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec; local
227 totalTime = (timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec) - totalTime;
228 printf("totalTime=%f s, frameCount=%d, %.2f fps\n",
229 totalTime, frameCount, frameCount/totalTime);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DLoadAverageService.java190 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;
234 userW = (st.rel_utime*W)/totalTime;
235 systemW = (st.rel_stime*W)/totalTime;
H A DNyandroid.java174 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) {
175 // setRotation(totalTime * 0.01f); // not as cool as you would think
176 // android.util.Log.d("Nyandroid", "t=" + totalTime);
/frameworks/base/core/java/com/android/internal/os/
H A DProcessStats.java710 final int totalTime = mRelUserTime + mRelSystemTime + mRelIoWaitTime
713 if (DEBUG) Slog.i(TAG, "totalTime " + totalTime + " over sample time "
734 printProcessCPU(pw, "", -1, "TOTAL", totalTime, mRelUserTime, mRelSystemTime,
754 int totalTime, int user, int system, int iowait, int irq, int softIrq,
757 if (totalTime == 0) totalTime = 1;
758 printRatio(pw, user+system+iowait+irq+softIrq, totalTime);
766 printRatio(pw, user, totalTime);
768 printRatio(pw, system, totalTime);
753 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 DBatteryStatsImpl.java318 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 5: totalTime
765 public void updateCurrentReportedTotalTime(long totalTime) { argument
768 mUnpluggedReportedTotalTime = totalTime;
772 mCurrentReportedTotalTime = totalTime;
1059 long totalTime;
1098 totalTime = (wlData[2] + 500) / 1000;
1102 m.put(name, new KernelWakelockStats(count, totalTime,
1109 kwlStats.mTotalTime += totalTime;
1112 kwlStats.mTotalTime = totalTime;
1139 KernelWakelockStats(int count, long totalTime, in argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java631 final long totalTime = stack.mInitialStartTime != 0
636 thisTime, totalTime);
643 if (thisTime != totalTime) {
645 TimeUtils.formatDuration(totalTime, sb);
650 stack.reportActivityLaunchedLocked(false, this, thisTime, totalTime);
651 if (totalTime > 0) {
652 service.mUsageStatsService.noteLaunchTime(realActivity, (int)totalTime);
H A DActivityStack.java2987 outResult.totalTime = 0;
3077 long thisTime, long totalTime) {
3085 w.totalTime = totalTime;
3097 w.totalTime = SystemClock.uptimeMillis() - w.thisTime;
3098 w.thisTime = w.totalTime;
3076 reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, long thisTime, long totalTime) argument
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java120 int totalTime = 0;
124 totalTime += rt.mTotalThreadTime;
128 Log.d("Http", "Http thread used " + totalTime + " ms " + " for "
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp225 mBatteryAudio.totalTime[i] = 0;
1744 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i];
1784 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i];
1859 int32_t totalTime; local
1862 totalTime = mBatteryAudio.totalTime[i];
1867 totalTime += tmpTime;
1870 reply->writeInt32(totalTime);
1872 mBatteryAudio.totalTime[i] = 0;
H A DMediaPlayerService.h232 // totalTime[]: total time of audio output devices usage
233 int32_t totalTime[NUM_AUDIO_DEVICES]; // in ms member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
/frameworks/base/core/java/android/app/
H A DIActivityManager.java432 public long totalTime; field in class:IActivityManager.WaitResult
446 dest.writeLong(totalTime);
465 totalTime = source.readLong();
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1383 long totalTime = (timer.getTotalTimeLocked(batteryRealtime, which) + 500) / 1000;
1385 if (totalTime != 0) {
1386 dumpLine(pw, uid, category, SENSOR_DATA, sensorNumber, totalTime, count);
1829 long totalTime = (timer.getTotalTimeLocked(
1833 if (totalTime != 0) {
1834 formatTimeMs(sb, totalTime);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java506 if (result.totalTime >= 0) {
507 System.out.println("TotalTime: " + result.totalTime);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java1468 final long totalTime = Long.parseLong(args[2]);
1491 final long start = end - totalTime;
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java1810 long totalTime = nowTime - mFpsStartTime;
1813 if (totalTime > 1000) {
1814 float fps = (float) mFpsNumFrames * 1000 / totalTime;

Completed in 1576 milliseconds