Searched defs:totalTime (Results 1 - 12 of 12) 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/av/media/libmediaplayerservice/
H A DMediaPlayerService.h310 // totalTime[]: total time of audio output devices usage
311 int32_t totalTime[NUM_AUDIO_DEVICES]; // in ms member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
H A DMediaPlayerService.cpp218 mBatteryAudio.totalTime[i] = 0;
2048 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i];
2088 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i];
2163 int32_t totalTime; local
2166 totalTime = mBatteryAudio.totalTime[i];
2171 totalTime += tmpTime;
2174 reply->writeInt32(totalTime);
2176 mBatteryAudio.totalTime[i] = 0;
/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/core/jni/android/graphics/
H A DTextLayoutCache.cpp148 nsecs_t totalTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; local
155 (totalTime - value->getElapsedTime()) * 0.000001f,
/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/services/java/com/android/server/am/
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/av/media/libstagefright/
H A DMPEG4Extractor.cpp3331 int64_t totalTime = 0; local
3335 if (totalTime + se->mDurationUs > seekTimeUs) {
3339 (seekTimeUs - totalTime) > (totalTime + se->mDurationUs - seekTimeUs))) {
3342 totalTime += se->mDurationUs;
3347 totalTime += se->mDurationUs;
3354 mCurrentTime = totalTime * mTimescale / 1000000ll;
/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/android/app/
H A DIActivityManager.java472 public long totalTime; field in class:IActivityManager.WaitResult
488 dest.writeLong(totalTime);
509 totalTime = source.readLong();

Completed in 300 milliseconds