/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 114 * @param nowElapsed The current time, in the elapsedRealtime time base 119 @UserIdInt int userId, long nowElapsed); 118 getAppStandbyBucket(String packageName, @UserIdInt int userId, long nowElapsed) argument
|
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobPackageTracker.java | 315 void dump(PrintWriter pw, String header, String prefix, long now, long nowElapsed, argument 321 TimeUtils.formatDuration(mStartElapsedTime, nowElapsed, pw); 381 void dump(ProtoOutputStream proto, long fieldId, long now, long nowElapsed, int filterUid) { argument 386 proto.write(DataSetProto.ELAPSED_TIME_MS, nowElapsed - mStartElapsedTime); 524 final long nowElapsed = sElapsedRealtimeClock.millis(); 535 mLastDataSets[i].dump(pw, "Historical stats", prefix, now, nowElapsed, filterUid); 539 total.dump(pw, "Current stats", prefix, now, nowElapsed, filterUid); 545 final long nowElapsed = sElapsedRealtimeClock.millis(); 559 now, nowElapsed, filterUid); 563 now, nowElapsed, filterUi [all...] |
H A D | JobStore.java | 518 final long nowElapsed = sElapsedRealtimeClock.millis(); 522 ? nowRTC + (jobStatus.getLatestRunTimeElapsed() - nowElapsed) 528 ? nowRTC + (jobStatus.getEarliestRunTime() - nowElapsed) 557 long nowElapsed) { 560 ? nowElapsed + Math.max(rtcTimes.first - nowWallclock, 0) 563 ? nowElapsed + Math.max(rtcTimes.second - nowWallclock, 0) 990 final long nowElapsed = sElapsedRealtimeClock.millis(); 999 latestRunTimeElapsed = nowElapsed + maxDelayElapsed; 1006 earliestRunTimeElapsed = nowElapsed + minDelayElapsed; 556 convertRtcBoundsToElapsed(Pair<Long, Long> rtcTimes, long nowElapsed) argument
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | AppIdleHistory.java | 276 * @param nowElapsed mark as used time if non-zero 282 int usageReason, long nowElapsed, long timeout) { 284 AppUsageHistory history = getPackageHistory(userHistory, packageName, nowElapsed, true); 285 return reportUsage(history, packageName, newBucket, usageReason, nowElapsed, timeout); 281 reportUsage(String packageName, int userId, int newBucket, int usageReason, long nowElapsed, long timeout) argument
|
H A D | UsageStatsService.java | 1275 long nowElapsed) { 1276 return mAppStandby.getAppStandbyBucket(packageName, userId, nowElapsed, false); 1274 getAppStandbyBucket(String packageName, int userId, long nowElapsed) argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActiveServices.java | 877 boolean foregroundAppShownEnoughLocked(ActiveForegroundApp aa, long nowElapsed) { argument 892 if (nowElapsed >= minTime) { 899 long reportTime = nowElapsed + mAm.mConstants.FGSERVICE_MIN_REPORT_TIME; 901 if (DEBUG_FOREGROUND_SERVICE) Slog.d(TAG, "NO -- wait " + (aa.mHideTime-nowElapsed) 907 if (nowElapsed >= minTime) { 917 if (DEBUG_FOREGROUND_SERVICE) Slog.d(TAG, "NO -- wait " + (aa.mHideTime-nowElapsed) 998 final long nowElapsed = SystemClock.elapsedRealtime(); 999 long oldestStartTime = nowElapsed; 1032 .setShowWhen(oldestStartTime < nowElapsed) 1033 .setWhen(System.currentTimeMillis() - (nowElapsed [all...] |
H A D | ActivityManagerService.java | 24377 applyOomAdjLocked(ProcessRecord app, boolean doingAll, long now, long nowElapsed) argument 24756 maybeUpdateUsageStatsLocked(ProcessRecord app, long nowElapsed) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 635 public void writeToProto(ProtoOutputStream proto, long fieldId, long nowElapsed, argument 643 a.writeToProto(proto, BatchProto.ALARMS, nowElapsed, nowRTC); 856 final long nowElapsed = SystemClock.elapsedRealtime(); 862 reAddAlarmLocked(batch.get(i), nowElapsed, doValidate); 928 void reAddAlarmLocked(Alarm a, long nowElapsed, boolean doValidate) { argument 941 : maxTriggerTime(nowElapsed, whenElapsed, a.repeatInterval); 1098 final long nowElapsed = SystemClock.elapsedRealtime(); 1101 reAddAlarmLocked(a, nowElapsed, false); 1488 final long nowElapsed = SystemClock.elapsedRealtime(); 1491 final long minTrigger = nowElapsed 3340 writeToProto(ProtoOutputStream proto, long fieldId, long nowElapsed, long nowRTC) argument [all...] |