Searched defs:elapsedRealtime (Results 1 - 12 of 12) sorted by relevance

/frameworks/volley/src/test/java/com/android/volley/mock/
H A DShadowSystemClock.java8 public static long elapsedRealtime() { method in class:ShadowSystemClock
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DMockClocks.java24 public long elapsedRealtime() { method in class:MockClocks
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DSystemClock_Delegate.java52 /*package*/ static long elapsedRealtime() { method in class:SystemClock_Delegate
97 return elapsedRealtime() * 1000;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DClock.java39 public long elapsedRealtime() { method in class:Clock
40 return SystemClock.elapsedRealtime();
/frameworks/base/core/java/android/os/
H A DSystemClock.java56 * <li> <p> {@link #elapsedRealtime} and {@link #elapsedRealtimeNanos}
90 * {@link #elapsedRealtime} (ELAPSED_REALTIME), and cause an
172 native public static long elapsedRealtime(); method in class:SystemClock
H A DProcess.java795 * Return the {@link SystemClock#elapsedRealtime()} at which this process was started.
809 public static final void setStartTimes(long elapsedRealtime, long uptimeMillis) { argument
810 sStartElapsedRealtime = elapsedRealtime;
H A DBatteryStats.java460 public abstract void noteWifiRunningLocked(long elapsedRealtime); argument
461 public abstract void noteWifiStoppedLocked(long elapsedRealtime); argument
462 public abstract void noteFullWifiLockAcquiredLocked(long elapsedRealtime); argument
463 public abstract void noteFullWifiLockReleasedLocked(long elapsedRealtime); argument
464 public abstract void noteWifiScanStartedLocked(long elapsedRealtime); argument
465 public abstract void noteWifiScanStoppedLocked(long elapsedRealtime); argument
466 public abstract void noteWifiBatchedScanStartedLocked(int csph, long elapsedRealtime); argument
467 public abstract void noteWifiBatchedScanStoppedLocked(long elapsedRealtime); argument
468 public abstract void noteWifiMulticastEnabledLocked(long elapsedRealtime); argument
469 public abstract void noteWifiMulticastDisabledLocked(long elapsedRealtime); argument
470 noteActivityResumedLocked(long elapsedRealtime) argument
471 noteActivityPausedLocked(long elapsedRealtime) argument
976 addLevelSteps(int numStepLevels, long modeBits, long elapsedRealtime) argument
[all...]
/frameworks/base/services/usage/java/com/android/server/usage/
H A DAppIdleHistory.java95 AppIdleHistory(long elapsedRealtime) { argument
96 this(Environment.getDataSystemDirectory(), elapsedRealtime);
100 AppIdleHistory(File storageDir, long elapsedRealtime) { argument
101 mElapsedSnapshot = elapsedRealtime;
102 mScreenOnSnapshot = elapsedRealtime;
112 public void updateDisplayLocked(boolean screenOn, long elapsedRealtime) { argument
117 mScreenOnSnapshot = elapsedRealtime;
119 mScreenOnDuration += elapsedRealtime - mScreenOnSnapshot;
120 mElapsedDuration += elapsedRealtime - mElapsedSnapshot;
121 mElapsedSnapshot = elapsedRealtime;
125 getScreenOnTimeLocked(long elapsedRealtime) argument
177 reportUsageLocked(String packageName, int userId, long elapsedRealtime) argument
190 setIdle(String packageName, int userId, long elapsedRealtime) argument
200 shiftHistoryToNow(ArrayMap<String, PackageHistory> userHistory, long elapsedRealtime) argument
235 getPackageHistoryLocked(ArrayMap<String, PackageHistory> userHistory, String packageName, long elapsedRealtime) argument
251 isIdleLocked(String packageName, int userId, long elapsedRealtime) argument
262 getElapsedTimeLocked(long elapsedRealtime) argument
266 setIdleLocked(String packageName, int userId, boolean idle, long elapsedRealtime) argument
281 hasPassedThresholdsLocked(PackageHistory packageHistory, long elapsedRealtime) argument
[all...]
H A DUsageStatsService.java202 mAppIdleHistory = new AppIdleHistory(SystemClock.elapsedRealtime());
205 mRealTimeSnapshot = SystemClock.elapsedRealtime();
231 mAppIdleHistory.updateDisplayLocked(isDisplayOn(), SystemClock.elapsedRealtime());
308 mAppIdleHistory.updateDisplayLocked(displayOn, SystemClock.elapsedRealtime());
331 final long elapsedRealtime = SystemClock.elapsedRealtime();
340 mAppIdleHistory.reportUsageLocked(packageName, userId, elapsedRealtime);
474 final long elapsedRealtime = SystemClock.elapsedRealtime();
492 userId, elapsedRealtime);
771 isAppIdleUnfiltered(String packageName, int userId, long elapsedRealtime) argument
802 isAppIdleFilteredOrParoled(String packageName, int userId, long elapsedRealtime) argument
815 isAppIdleFiltered(String packageName, int appId, int userId, long elapsedRealtime) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStats.java81 * {@link SystemClock#elapsedRealtime()} timestamp when this data was
84 private long elapsedRealtime; field in class:NetworkStats
190 public NetworkStats(long elapsedRealtime, int initialSize) { argument
191 this.elapsedRealtime = elapsedRealtime;
222 elapsedRealtime = parcel.readLong();
239 dest.writeLong(elapsedRealtime);
256 final NetworkStats clone = new NetworkStats(elapsedRealtime, size);
340 return elapsedRealtime;
344 elapsedRealtime
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java171 long elapsedRealtime; field in class:AlarmManagerService.IdleDispatchEntry
701 when -= System.currentTimeMillis() - SystemClock.elapsedRealtime();
755 final long nowElapsed = SystemClock.elapsedRealtime();
801 ent.elapsedRealtime = SystemClock.elapsedRealtime();
809 final long nowElapsed = SystemClock.elapsedRealtime();
1055 final long nowElapsed = SystemClock.elapsedRealtime();
1115 final long nowElapsed = SystemClock.elapsedRealtime();
1152 ent.elapsedRealtime = SystemClock.elapsedRealtime();
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java199 public long elapsedRealtime(); method in interface:BatteryStatsImpl.Clocks
204 public long elapsedRealtime() { method in class:BatteryStatsImpl.SystemClocks
205 return SystemClock.elapsedRealtime();
606 new NetworkStats(mClocks.elapsedRealtime(), 50),
607 new NetworkStats(mClocks.elapsedRealtime(), 50),
608 new NetworkStats(mClocks.elapsedRealtime(), 50)
611 new NetworkStats(mClocks.elapsedRealtime(), 50),
612 new NetworkStats(mClocks.elapsedRealtime(), 50),
613 new NetworkStats(mClocks.elapsedRealtime(), 50)
618 void onTimeStarted(long elapsedRealtime, lon argument
619 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
855 onTimeStarted(long elapsedRealtime, long baseUptime, long baseRealtime) argument
860 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
959 onTimeStarted(long elapsedRealtime, long baseUptime, long baseRealtime) argument
965 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
1130 onTimeStarted(long elapsedRealtime, long timeBaseUptime, long baseRealtime) argument
1146 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
1364 onTimeStarted(long elapsedRealtime, long baseUptime, long baseRealtime) argument
1374 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
1464 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
1471 onTimeStarted(long elapsedRealtime, long baseUptime, long baseRealtime) argument
1787 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
3360 noteStartWakeLocked(int uid, int pid, String name, String historyName, int type, boolean unimportantForLogging, long elapsedRealtime, long uptime) argument
3413 noteStopWakeLocked(int uid, int pid, String name, String historyName, int type, long elapsedRealtime, long uptime) argument
7041 onTimeStarted(long elapsedRealtime, long baseUptime, long baseRealtime) argument
7050 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
7290 onTimeStarted(long elapsedRealtime, long baseUptime, long baseRealtime) argument
7293 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
7467 onTimeStarted(long elapsedRealtime, long baseUptime, long baseRealtime) argument
7474 onTimeStopped(long elapsedRealtime, long baseUptime, long baseRealtime) argument
[all...]

Completed in 345 milliseconds