/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistory.java | 1215 public void startRecordingHistory(final long elapsedRealtimeMs, final long uptimeMs, in startRecordingHistory() argument 1220 writeHistoryItem(elapsedRealtimeMs, uptimeMs, mHistoryCur, in startRecordingHistory() 1237 final long uptimeMs = mClock.uptimeMillis(); in continueRecordingHistory() local 1238 writeHistoryItem(elapsedRealtimeMs, uptimeMs, mHistoryCur, HistoryItem.CMD_START); in continueRecordingHistory() 1239 startRecordingHistory(elapsedRealtimeMs, uptimeMs, false); in continueRecordingHistory() 1302 public void recordEvent(long elapsedRealtimeMs, long uptimeMs, int code, String name, in recordEvent() argument 1309 writeHistoryItem(elapsedRealtimeMs, uptimeMs); in recordEvent() 1316 public void recordCurrentTimeChange(long elapsedRealtimeMs, long uptimeMs, long currentTimeMs) { in recordCurrentTimeChange() argument 1323 writeHistoryItem(elapsedRealtimeMs, uptimeMs, mHistoryCur, in recordCurrentTimeChange() 1332 public void recordShutdownEvent(long elapsedRealtimeMs, long uptimeMs, long currentTimeMs) { in recordShutdownEvent() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 634 final long uptimeMs = mClock.uptimeMillis(); 636 mHistory.writeHistoryItem(elapsedRealtimeMs, uptimeMs); 696 public void updateProcStateCpuTimesLocked(int uid, long elapsedRealtimeMs, long uptimeMs) { in updateProcStateCpuTimesLocked() argument 782 final long uptimeMs = mClock.uptimeMillis(); in updateCpuTimesForAllUids() local 4531 final long uptimeMs = mClock.uptimeMillis(); in createFakeHistoryEvents() local 4534 elapsedRealtimeMs, uptimeMs); in createFakeHistoryEvents() 4536 elapsedRealtimeMs, uptimeMs); in createFakeHistoryEvents() 4541 public void recordHistoryEventLocked(long elapsedRealtimeMs, long uptimeMs, int code, in recordHistoryEventLocked() argument 4543 mHistory.recordEvent(elapsedRealtimeMs, uptimeMs, code, name, uid); in recordHistoryEventLocked() 4633 public void releaseIsolatedUidLocked(int isolatedUid, long elapsedRealtimeMs, long uptimeMs) { in releaseIsolatedUidLocked() argument [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | UptimeTimer.java | 50 Task createTask(@NonNull Runnable runnable, long uptimeMs) { in createTask() argument 53 mHandler.postDelayed(runnable, token, uptimeMs); in createTask()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsServTest.java | 184 public long getBatteryUptimeLocked(long uptimeMs) { in testStartLaunchedLockedWhileLaunched() 213 public long getBatteryUptimeLocked(long uptimeMs) { in testStartLaunchedLockedWhileNotLaunched() 240 public long getBatteryUptimeLocked(long uptimeMs) { in testStopLaunchedLockedWhileNotLaunched() 270 public long getBatteryUptimeLocked(long uptimeMs) { in testStopLaunchedLockedWhileLaunchedNormal() 322 public long getBatteryUptimeLocked(long uptimeMs) { in testStartRunningLockedWhileRunning() 351 public long getBatteryUptimeLocked(long uptimeMs) { in testStartRunningLockedWhileNotRunning() 380 public long getBatteryUptimeLocked(long uptimeMs) { in testStopRunningLockedWhileRunningNormal()
|
D | ScreenPowerCalculatorTest.java | 397 long uptimeMs) { in setProcState() argument 399 batteryStats.noteUidProcessStateLocked(uid, procState, realtimeMs, uptimeMs); in setProcState() 401 batteryStats.noteActivityResumedLocked(uid, realtimeMs, uptimeMs); in setProcState() 403 batteryStats.noteActivityPausedLocked(uid, realtimeMs, uptimeMs); in setProcState()
|
D | BatteryUsageStatsRule.java | 379 public void setTime(long realtimeMs, long uptimeMs) { 382 mMockClock.uptime = uptimeMs;
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorControlService.java | 213 long latencyMs = SystemClock.uptimeMillis() - mVibrationParamRequest.uptimeMs; in onRequestVibrationParamsComplete() 536 public final long uptimeMs; field in VibratorControlService.VibrationParamRequest 540 uptimeMs = SystemClock.uptimeMillis(); in VibrationParamRequest()
|
/frameworks/av/services/mediametrics/ |
D | AudioAnalytics.cpp | 1550 const float uptimeMs = in onAudioServerStart() local 1560 (long long)mStartCount, (long long)mStopCount, uptimeMs, loadTimeMs); in onAudioServerStart() 1563 (long long)restarts, uptimeMs, loadTimeMs); in onAudioServerStart() 1590 const float uptimeMs = std::chrono::duration_cast<std::chrono::duration<float, std::milli>>( in onAudioServerTimeout() local 1595 (long long)restarts, uptimeMs); in onAudioServerTimeout() 1598 (long long)restarts, uptimeMs); in onAudioServerTimeout()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 352 int64_t uptimeMs = uptimeMillis(); in flush() local 355 if (uptimeMillis() - uptimeMs > 1000) { in flush()
|