/frameworks/base/services/core/java/com/android/server/job/ |
D | JobPackageTracker.java | 95 public long getActiveTime(long now) { in getActiveTime() 103 public long getActiveTopTime(long now) { in getActiveTopTime() 111 public long getPendingTime(long now) { in getPendingTime() 163 long getTotalTime(long now) { in getTotalTime() 170 void incPending(int uid, String pkg, long now) { in incPending() 179 void decPending(int uid, String pkg, long now) { in decPending() 187 void incActive(int uid, String pkg, long now) { in incActive() 196 void decActive(int uid, String pkg, long now, int stopReason) { in decActive() 206 void incActiveTop(int uid, String pkg, long now) { in incActiveTop() 215 void decActiveTop(int uid, String pkg, long now, int stopReason) { in decActiveTop() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleConditionProviderTest.java | 80 Calendar now = getNow(); in testEvaluateSubscription_noAlarmExit_InSchedule() local 104 Calendar now = getNow(); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() local 130 Calendar now = new GregorianCalendar(); in testEvaluateSubscription_noAlarmExit_beforeSchedule() local 158 Calendar now = getNow(); in testEvaluateSubscription_noAlarmExit_endSchedule() local 181 Calendar now = getNow(); in testEvaluateSubscription_alarmSetBeforeInSchedule() local 209 Calendar now = getNow(); in testEvaluateSubscription_alarmSetInSchedule() local 238 Calendar now = getNow(); in testEvaluateSubscription_earlierAlarmSet() local 267 Calendar now = getNow(); in testEvaluateSubscription_laterAlarmSet() local 296 Calendar now = getNow(); in testEvaluateSubscription_alarmCanceled() local 328 Calendar now = new GregorianCalendar(); in getNow() local [all …]
|
D | ScheduleCalendarTest.java | 212 Calendar now = new GregorianCalendar(); in testShouldExitForAlarm_oldAlarm() local 425 Calendar now = getDaylightSavingsDay(); in testIsAlarmInSchedule_alarmAndNowInSchedule_sameScheduleTrigger_daylightSavings() local 458 Calendar now = new GregorianCalendar(); in testIsAlarmInSchedule_alarmAndNowInSchedule_sameScheduleTrigger() local 486 Calendar now = new GregorianCalendar(); in testIsAlarmInSchedule_alarmAndNowInSchedule_differentScheduleTrigger() local
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ServiceState.java | 103 public void setMemFactor(int memFactor, long now) { in setMemFactor() 133 long now = SystemClock.uptimeMillis(); in applyNewOwner() local 168 long now = SystemClock.uptimeMillis(); in clearCurrentOwner() local 223 public void resetSafely(long now) { in resetSafely() 234 public void writeToParcel(Parcel out, long now) { in writeToParcel() 255 public void commitStateTime(long now) { in commitStateTime() 283 private void updateRunning(int memFactor, long now) { in updateRunning() 299 public void setStarted(boolean started, int memFactor, long now) { in setStarted() 307 public void setRestarting(boolean restarting, int memFactor, long now) { in setRestarting() 312 public void updateStartedState(int memFactor, long now) { in updateStartedState() [all …]
|
D | ProcessState.java | 184 long now) { in ProcessState() 200 public ProcessState clone(long now) { in clone() 270 public void resetSafely(long now) { in resetSafely() 293 public void writeToParcel(Parcel out, long now) { in writeToParcel() 374 public void setState(int state, int memFactor, long now, in setState() 398 public void setCombinedState(int state, long now) { in setCombinedState() 424 public void commitStateTime(long now) { in commitStateTime() 467 public void incStartedServices(int memFactor, long now, String serviceName) { in incStartedServices() 483 public void decStartedServices(int memFactor, long now, String serviceName) { in decStartedServices() 670 public long getTotalRunningDuration(long now) { in getTotalRunningDuration() [all …]
|
D | AssociationState.java | 76 public void trackProcState(int procState, int seq, long now) { in trackProcState() 106 void startActive(long now) { in startActive() 133 void stopActive(long now) { in stopActive() 152 void stopTracking(long now) { in stopTracking() 361 public void resetSafely(long now) { in resetSafely() 475 long now, long totalTime, String reqPackage, boolean dumpDetails, boolean dumpAll) { in dumpStats() 561 long now, boolean dumpAll) { in dumpActiveDurationSummary() 581 long dumpTime(PrintWriter pw, String prefix, final SourceState src, long overallTime, long now, in dumpTime() 641 String associationName, long now) { in dumpTimesCheckin() 697 public void writeToProto(ProtoOutputStream proto, long fieldId, long now) { in writeToProto()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | TimeControllerTest.java | 180 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in runTestMaybeStartTrackingJobLocked_DelayInOrder() local 207 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_SomeNotReady() local 256 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in runTestMaybeStartTrackingJobLocked_DelayReverseOrder() local 285 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testMaybeStartTrackingJobLocked_DelayReverseOrder_WithSkipping_SomeNotReady() local 336 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in runTestMaybeStartTrackingJobLocked_DeadlineInOrder() local 363 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testMaybeStartTrackingJobLocked_DeadlineInOrder_WithSkipping_SomeNotReady() local 412 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in runTestMaybeStartTrackingJobLocked_DeadlineReverseOrder() local 444 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testMaybeStartTrackingJobLocked_DeadlineReverseOrder_WithSkipping_SomeNotReady() local 482 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testJobSkipToggling() local 534 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testJobDelayWakeupAlarmToggling() local [all …]
|
D | QuotaControllerTest.java | 334 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testDeleteObsoleteSessionsLocked() local 366 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testOnAppRemovedLocked() local 406 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testOnUserRemovedLocked() local 443 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testUpdateExecutionStatsLocked_NoTimer() local 626 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testGetExecutionStatsLocked_Values() local 897 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testGetExecutionStatsLocked_Caching() local 984 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testGetTimeUntilQuotaConsumedLocked_BucketWindow() local 1032 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testGetTimeUntilQuotaConsumedLocked_MaxExecution() local 1076 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testGetTimeUntilQuotaConsumedLocked_EqualTimeRemaining() local 1133 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount() local [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 171 final long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_minPeriod() local 200 final long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_largePeriod() local 221 final long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_insideWindow() local 270 long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_closeToEndOfWindow() local 434 final long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_insideWindow_flex() local 468 final long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_insideWindow_failedJob() local 517 long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_outsideWindow() local 552 long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_outsideWindow_flex() local 595 long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_outsideWindow_failedJob() local 633 long now = sElapsedRealtimeClock.millis(); in testGetRescheduleJobForPeriodic_outsideWindow_flex_failedJob() local
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RateEstimator.java | 37 public float update(long now) { in update() 52 public float getRate(long now) { in getRate() 60 private double getInterarrivalEstimate(long now) { in getInterarrivalEstimate()
|
D | ScheduleConditionProvider.java | 95 final long now = System.currentTimeMillis(); in dump() local 165 final long now = System.currentTimeMillis(); in evaluateSubscriptions() local 187 long now, long nextUserAlarmTime) { in evaluateSubscriptionLocked() 219 private void updateAlarm(long now, long time) { in updateAlarm()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | TimedQuotaManagerTest.java | 66 long now = mClock.getElapsedSinceBootMillis(); in exhaustQuota_newDay_exhaustQuotaAgain() local 93 long now = mClock.getElapsedSinceBootMillis(); in exhaustQuota_sameDay_stillExhausted() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | TrackedGarbage.java | 87 long now = SystemClock.uptimeMillis(); in dump() local 112 long now = SystemClock.uptimeMillis(); in countOldGarbage() local 123 private boolean isOld(long createdUptimeMillis, long now) { in isOld()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
D | ZoneGetter.java | 97 public static CharSequence getTimeZoneOffsetAndName(Context context, TimeZone tz, Date now) { in getTimeZoneOffsetAndName() 113 final Date now = new Date(); in getZonesList() local 187 final Date now = new Date(); in shouldUseExemplarLocationForLocalNames() local 209 final Date now = new Date(); in getTimeZoneDisplayName() local 240 private static String getZoneLongName(TimeZoneNames names, TimeZone tz, Date now) { in getZoneLongName() 287 TimeZone tz, Date now) { in getGmtOffsetText()
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 65 public void maybeSetNextAlarm(long now, long nextAlarm) { in maybeSetNextAlarm() 100 public long getNextChangeTime(long now) { in getNextChangeTime() 109 private long getNextTime(long now, int hr, int min) { in getNextTime() 142 public boolean isAlarmInSchedule(long alarm, long now) { in isAlarmInSchedule()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTracker.java | 81 final long now = mClock.elapsedRealtime(); in updateConnectedClients() local 147 private static boolean hasExpiredAddress(List<AddressInfo> addresses, long now) { in hasExpiredAddress() 157 private static TetheredClient pruneExpired(TetheredClient client, long now) { in pruneExpired()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowOrientationListener.java | 648 final long now = event.timestamp; in onSensorChanged() local 916 private boolean isPredictedRotationAcceptableLocked(long now) { in isPredictedRotationAcceptableLocked() 954 private void updatePredictedRotationLocked(long now, int rotation) { in updatePredictedRotationLocked() 971 private void addTiltHistoryEntryLocked(long now, float tilt) { in addTiltHistoryEntryLocked() 978 private boolean isFlatLocked(long now) { in isFlatLocked() 991 private boolean isSwingingLocked(long now, float tilt) { in isSwingingLocked() 1014 private float remainingMS(long now, long until) { in remainingMS() 1041 final long now = SystemClock.elapsedRealtimeNanos(); in onTouchEndLocked() local 1095 final long now = SystemClock.elapsedRealtimeNanos(); in evaluateRotationChangeLocked() local 1105 private boolean isDesiredRotationAcceptableLocked(long now) { in isDesiredRotationAcceptableLocked() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoaderTest.java | 120 final ZonedDateTime now = ZonedDateTime.now(); in loadPolicyData_shouldRecordUsageFromPolicyCycle() local 144 final long now = System.currentTimeMillis(); in loadFourWeeksData_shouldRecordUsageForLast4Weeks() local 158 final long now = System.currentTimeMillis(); in loadDataForSpecificCycles_shouldRecordUsageForSpecifiedTime() local
|
/frameworks/base/core/java/android/util/ |
D | TimingLogger.java | 131 long now = SystemClock.elapsedRealtime(); in addSplit() local 145 long now = first; in dumpToLog() local
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | EnableZenModeDialogTest.java | 163 long now = System.currentTimeMillis(); in testNoAlarmWarning() local 179 long now = System.currentTimeMillis(); in testAlarmWarning() local
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | MidiBtleTimeTracker.java | 40 public MidiBtleTimeTracker(long now) { in MidiBtleTimeTracker() 53 public long convertTimestampToNanotime(int timestamp, long now) { in convertTimestampToNanotime()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncLogger.java | 178 final long now = System.currentTimeMillis(); in log() local 182 void logInner(long now, Object[] message) { in logInner() 219 private void openLogLocked(long now) { in openLogLocked() 299 public void log(long now, Object[] message) { in log()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 396 private void assertInstallationOption(int expectedType, long expectedTime, long now, in assertInstallationOption() 418 private void testPrevFreezePeriodSucceeds(String prevStart, String prevEnd, String now, in testPrevFreezePeriodSucceeds() 424 String now, String... dates) throws Exception { in testPrevFreezePeriodFails() 434 private void createPrevFreezePeriod(String prevStart, String prevEnd, String now, in createPrevFreezePeriod()
|
/frameworks/base/core/java/android/text/format/ |
D | RelativeDateTimeFormatter.java | 94 long now, long minResolution, int flags) { in getRelativeTimeSpanString() 105 long now, long minResolution, int flags, DisplayContext displayContext) { in getRelativeTimeSpanString() 119 android.icu.util.TimeZone icuTimeZone, long time, long now, long minResolution, in getRelativeTimeSpanString() 261 long now, long minResolution, long transitionResolution, int flags) { in getRelativeDateTimeString()
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 459 final long now = SystemClock.uptimeMillis(); in postCallbackDelayedInternal() local 624 private void scheduleFrameLocked(long now) { in scheduleFrameLocked() 751 final long now = System.nanoTime(); in doCallbacks() local 820 final long now = SystemClock.uptimeMillis(); in doScheduleCallback() local 930 long now = System.nanoTime(); in onVsync() local 978 public boolean hasDueCallbacksLocked(long now) { in hasDueCallbacksLocked() 982 public CallbackRecord extractDueCallbacksLocked(long now) { in extractDueCallbacksLocked()
|