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

/frameworks/base/core/java/android/animation/
H A DTimeAnimator.java24 long totalTime = currentTime - mStartTime;
27 mListener.onTimeUpdate(this, totalTime, deltaTime);
57 * deltaTime will be zero. The same is true for totalTime, unless the animator was
67 * @param totalTime The total time elapsed since the animator started, in milliseconds.
70 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); argument
/frameworks/native/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;
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java388 long totalTime = 0;
413 totalTime += time;
417 if (totalTime != 0 && pw != null) {
420 TimeUtils.formatDuration(totalTime, pw);
423 return totalTime;
480 data.totalTime = 0;
488 data.totalTime += proc.getDuration(bucket, now);
531 long totalTime = 0;
535 totalTime += proc.mState.getLong(val, 0);
537 totalTime
756 dumpProcessSummaryDetails(PrintWriter pw, ProcessState proc, String prefix, String label, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime, boolean full) argument
776 dumpProcessSummaryLocked(PrintWriter pw, String prefix, ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime) argument
1986 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
2051 dumpFilteredSummaryLocked(PrintWriter pw, String header, String prefix, int[] screenStates, int[] memStates, int[] procStates, int[] sortProcStates, long now, long totalTime, String reqPackage, boolean activeOnly) argument
3200 public long totalTime; field in class:ProcessStats.ProcessDataCollection
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DProcessCpuTracker.java730 final int totalTime = mRelUserTime + mRelSystemTime + mRelIoWaitTime
733 if (DEBUG) Slog.i(TAG, "totalTime " + totalTime + " over sample time "
754 printProcessCPU(pw, "", -1, "TOTAL", totalTime, mRelUserTime, mRelSystemTime,
775 int totalTime, int user, int system, int iowait, int irq, int softIrq,
778 if (totalTime == 0) totalTime = 1;
779 printRatio(pw, user+system+iowait+irq+softIrq, totalTime);
787 printRatio(pw, user, totalTime);
789 printRatio(pw, system, totalTime);
774 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.java313 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 5: totalTime
325 |Process.PROC_OUT_LONG, // 6: totalTime
860 public void updateCurrentReportedTotalTime(long totalTime) { argument
863 mUnpluggedReportedTotalTime = totalTime;
867 mCurrentReportedTotalTime = totalTime;
1299 long totalTime;
1342 totalTime = wlData[2] * 1000;
1345 totalTime = (wlData[2] + 500) / 1000;
1350 m.put(name, new KernelWakelockStats(count, totalTime,
1357 kwlStats.mTotalTime += totalTime;
1387 KernelWakelockStats(int count, long totalTime, int version) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java828 final long totalTime = stack.mFullyDrawnStartTime != 0
834 thisTime, totalTime);
841 if (thisTime != totalTime) {
843 TimeUtils.formatDuration(totalTime, sb);
848 if (totalTime > 0) {
849 service.mUsageStatsService.noteFullyDrawnTime(realActivity, (int) totalTime);
859 final long totalTime = stack.mLaunchStartTime != 0
865 thisTime, totalTime);
872 if (thisTime != totalTime) {
874 TimeUtils.formatDuration(totalTime, s
[all...]
H A DActivityStackSupervisor.java500 w.totalTime = SystemClock.uptimeMillis() - w.thisTime;
501 w.thisTime = w.totalTime;
508 long thisTime, long totalTime) {
516 w.totalTime = totalTime;
775 outResult.totalTime = 0;
507 reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, long thisTime, long totalTime) argument
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1440 long totalTime = (timer.getTotalTimeLocked(batteryRealtime, which) + 500) / 1000;
1442 if (totalTime != 0) {
1443 dumpLine(pw, uid, category, SENSOR_DATA, sensorNumber, totalTime, count);
1452 long totalTime = (vibTimer.getTotalTimeLocked(batteryRealtime, which) + 500) / 1000;
1454 if (totalTime != 0) {
1455 dumpLine(pw, uid, category, VIBRATOR_DATA, totalTime, count);
1462 long totalTime = (fgTimer.getTotalTimeLocked(batteryRealtime, which) + 500) / 1000;
1464 if (totalTime != 0) {
1465 dumpLine(pw, uid, category, FOREGROUND_DATA, totalTime, count);
1988 long totalTime
[all...]
/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/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp218 mBatteryAudio.totalTime[i] = 0;
2062 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i];
2102 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i];
2177 int32_t totalTime; local
2180 totalTime = mBatteryAudio.totalTime[i];
2185 totalTime += tmpTime;
2188 reply->writeInt32(totalTime);
2190 mBatteryAudio.totalTime[i] = 0;
H A DMediaPlayerService.h312 // totalTime[]: total time of audio output devices usage
313 int32_t totalTime[NUM_AUDIO_DEVICES]; // in ms member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp423 uint32_t totalTime = 0;
426 totalTime += kSleepTime;
427 if (totalTime > kMaxSleepTime) {
429 totalTime, mHal2Device->ops->get_in_progress_count(mHal2Device));
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardActivityLauncher.java240 result.result, result.thisTime, result.totalTime, result.who,
/frameworks/base/core/java/android/app/
H A DIActivityManager.java472 public long totalTime; field in class:IActivityManager.WaitResult
488 dest.writeLong(totalTime);
509 totalTime = source.readLong();
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp323 int64_t totalTime = 0; local
327 if (totalTime + se->mDurationUs > position) {
336 info->mDecodingTime = totalTime * info->mMediaTimeScale / 1000000ll;
339 totalTime += se->mDurationUs;
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp149 nsecs_t totalTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; local
156 (totalTime - value->getElapsedTime()) * 0.000001f,
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp3346 int64_t totalTime = 0; local
3350 if (totalTime + se->mDurationUs > seekTimeUs) {
3354 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) {
3357 totalTime += se->mDurationUs;
3362 totalTime += se->mDurationUs;
3369 mCurrentTime = totalTime * mTimescale / 1000000ll;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java206 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) {
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java752 if (result.totalTime >= 0) {
753 System.out.println("TotalTime: " + result.totalTime);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java2226 long totalTime = nowTime - mFpsStartTime;
2229 if (totalTime > 1000) {
2230 float fps = (float) mFpsNumFrames * 1000 / totalTime;

Completed in 636 milliseconds