Home
last modified time | relevance | path

Searched refs:elapsedMillis (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/android/os/
DBatteryStatsInternal.java99 public abstract void noteCpuWakingNetworkPacket(Network network, long elapsedMillis, int uid); in noteCpuWakingNetworkPacket() argument
117 public abstract void noteWakingSoundTrigger(long elapsedMillis, int uid); in noteWakingSoundTrigger() argument
124 public abstract void noteWakingAlarmBatch(long elapsedMillis, int... uids); in noteWakingAlarmBatch() argument
/frameworks/base/core/java/android/util/
DTimedRemoteCaller.java145 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in getResultTimed() local
146 final long waitMillis = mCallTimeoutMillis - elapsedMillis; in getResultTimed()
/frameworks/base/core/tests/utiltests/src/android/util/
DRemoteIntArray.java127 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in bindLocked() local
128 final long remainingMillis = BIND_REMOTE_SERVICE_TIMEOUT - elapsedMillis; in bindLocked()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderEndToEndTest.java172 final long elapsedMillis = SystemClock.currentThreadTimeMillis() - startTimeMillis; in timedWork() local
173 if (elapsedMillis >= durationMillis) { in timedWork()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java157 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in waitForBindLocked() local
158 final long remainingMillis = BIND_SERVICE_TIMEOUT_MS - elapsedMillis; in waitForBindLocked()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DCpuWakeupStats.java561 private Wakeup(int type, IrqDevice[] devices, long elapsedMillis, long uptimeMillis, in Wakeup() argument
565 mElapsedMillis = elapsedMillis; in Wakeup()
570 static Wakeup parseWakeup(String rawReason, long elapsedMillis, long uptimeMillis, in parseWakeup() argument
628 return new Wakeup(type, Arrays.copyOf(parsedDevices, parsedDeviceCount), elapsedMillis, in parseWakeup()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java723 public void noteCpuWakingNetworkPacket(Network network, long elapsedMillis, int uid) { in noteCpuWakingNetworkPacket() argument
737 noteCpuWakingActivity(subsystem, elapsedMillis, uid); in noteCpuWakingNetworkPacket()
758 public void noteWakingSoundTrigger(long elapsedMillis, int uid) { in noteWakingSoundTrigger() argument
759 noteCpuWakingActivity(CPU_WAKEUP_SUBSYSTEM_SOUND_TRIGGER, elapsedMillis, uid); in noteWakingSoundTrigger()
763 public void noteWakingAlarmBatch(long elapsedMillis, int... uids) { in noteWakingAlarmBatch() argument
764 noteCpuWakingActivity(CPU_WAKEUP_SUBSYSTEM_ALARM, elapsedMillis, uids); in noteWakingAlarmBatch()
781 void noteCpuWakingActivity(@CpuWakeupSubsystem int subsystem, long elapsedMillis, int... uids) { in noteCpuWakingActivity() argument
783 mHandler.post(() -> mCpuWakeupStats.noteWakingActivity(subsystem, elapsedMillis, uids)); in noteCpuWakingActivity()
1526 final long elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos); in noteWakeupSensorEvent() local
1540 noteCpuWakingActivity(BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_SENSOR, elapsedMillis, uid); in noteWakeupSensorEvent()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java631 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in bindLocked() local
632 final long remainingMillis = BIND_SPOOLER_SERVICE_TIMEOUT - elapsedMillis; in bindLocked()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3468 final long elapsedMillis = SystemClock.elapsedRealtime();
3470 ? 0 : elapsedMillis - mDebugElapsedClockPreviousValue;
3473 elapsedMillis,
3475 elapsedMillis, clockDiffMillis, 1 /* always set */));
3479 elapsedMillis,
3481 elapsedMillis, clockDiffMillis, 2 /* set on odd pulls */));
3485 mDebugElapsedClockPreviousValue = elapsedMillis;
3503 final long elapsedMillis = SystemClock.elapsedRealtime();
3506 mDebugFailingElapsedClockPreviousValue = elapsedMillis;
3512 mDebugFailingElapsedClockPullCount, elapsedMillis,
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java2227 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in ensureWindowsAvailableTimedLocked() local
2228 final long remainMillis = WAIT_WINDOWS_TIMEOUT_MILLIS - elapsedMillis; in ensureWindowsAvailableTimedLocked()