/frameworks/base/core/java/android/animation/ |
H A D | TimeAnimator.java | 24 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 D | app-linux.cpp | 207 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 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; 234 userW = (st.rel_utime*W)/totalTime; 235 systemW = (st.rel_stime*W)/totalTime;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessStats.java | 388 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 D | ProcessCpuTracker.java | 730 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 D | BatteryStatsImpl.java | 313 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 D | ActivityRecord.java | 828 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 D | ActivityStackSupervisor.java | 500 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 D | BatteryStats.java | 1440 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 D | RequestQueue.java | 120 int totalTime = 0; 124 totalTime += rt.mTotalThreadTime; 128 Log.d("Http", "Http thread used " + totalTime + " ms " + " for "
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 218 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;
|
H A D | MediaPlayerService.h | 310 // totalTime[]: total time of audio output devices usage 311 int32_t totalTime[NUM_AUDIO_DEVICES]; // in ms member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 423 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 D | KeyguardActivityLauncher.java | 240 result.result, result.thisTime, result.totalTime, result.who,
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.java | 472 public long totalTime; field in class:IActivityManager.WaitResult 488 dest.writeLong(totalTime); 509 totalTime = source.readLong();
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 3331 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/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 323 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 D | TextLayoutCache.cpp | 148 nsecs_t totalTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; local 155 (totalTime - value->getElapsedTime()) * 0.000001f,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelView.java | 206 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) {
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 752 if (result.totalTime >= 0) { 753 System.out.println("TotalTime: " + result.totalTime);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 2230 long totalTime = nowTime - mFpsStartTime; 2233 if (totalTime > 1000) { 2234 float fps = (float) mFpsNumFrames * 1000 / totalTime;
|