Home
last modified time | relevance | path

Searched refs:uptimeMs (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java1215 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/
DBatteryStatsImpl.java634 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/
DUptimeTimer.java50 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/
DBatteryStatsServTest.java184 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()
DScreenPowerCalculatorTest.java397 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()
DBatteryUsageStatsRule.java379 public void setTime(long realtimeMs, long uptimeMs) {
382 mMockClock.uptime = uptimeMs;
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorControlService.java213 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/
DAudioAnalytics.cpp1550 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/
DNuPlayerRenderer.cpp352 int64_t uptimeMs = uptimeMillis(); in flush() local
355 if (uptimeMillis() - uptimeMs > 1000) { in flush()