/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | RowInflaterTask.java | 52 private final SystemClock mSystemClock; field in RowInflaterTask 58 mSystemClock = systemClock; in RowInflaterTask() 88 mInflateStartTimeMs = mSystemClock.elapsedRealtime(); in inflate() 93 return new RowAsyncLayoutInflater(entry, mSystemClock, mLogger); in makeRowInflater() 99 private final SystemClock mSystemClock; field in RowInflaterTask.RowAsyncLayoutInflater 105 mSystemClock = systemClock; in RowAsyncLayoutInflater() 117 final long startMs = mSystemClock.elapsedRealtime(); in onCreateView() 120 final long elapsedMs = mSystemClock.elapsedRealtime() - startMs; in onCreateView() 142 final long elapsedMs = mSystemClock.elapsedRealtime() - mInflateStartTimeMs; in onInflateFinished()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | HistoryTrackerTest.java | 39 private FakeSystemClock mSystemClock = new FakeSystemClock(); field in HistoryTrackerTest 46 mHistoryTracker = new HistoryTracker(mSystemClock); in setup() 87 mSystemClock.advanceTime(9999); in testDecay() 96 mSystemClock.advanceTime(1000); in testMultipleResultsDifferentTimestamp() 110 mSystemClock.advanceTime(9999); in testCompleteDecay() 115 mSystemClock.advanceTime(1); in testCompleteDecay() 127 mSystemClock.uptimeMillis()); in addResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | HistoryTracker.java | 52 private final SystemClock mSystemClock; field in HistoryTracker 59 mSystemClock = systemClock; in HistoryTracker() 87 long nowMs = mSystemClock.uptimeMillis(); in falseBelief() 202 return unit.convert(mExpiryMs - mSystemClock.uptimeMillis(), TimeUnit.MILLISECONDS); in getDelay()
|
D | FalsingCollectorImpl.java | 92 private final SystemClock mSystemClock; field in FalsingCollectorImpl 193 mSystemClock = systemClock; in FalsingCollectorImpl() 400 mHistoryTracker.addResults(Collections.singleton(result), mSystemClock.uptimeMillis()); in updateFalseConfidence()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/ |
D | PersistentConnectionManager.java | 50 private final SystemClock mSystemClock; field in PersistentConnectionManager 80 mStartTime = mSystemClock.currentTimeMillis(); 90 if (mSystemClock.currentTimeMillis() - mStartTime > mMinConnectionDuration) { 109 mSystemClock = clock; in PersistentConnectionManager()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/ |
D | BaseHeadsUpManagerTest.java | 97 protected final FakeSystemClock mSystemClock = new FakeSystemClock(); field in BaseHeadsUpManagerTest 98 protected final FakeExecutor mExecutor = new FakeExecutor(mSystemClock); 110 mSystemClock, mAccessibilityMgr, mUiEventLoggerFake, mAvalancheController); in createHeadsUpManager() 228 mSystemClock.advanceTime(TEST_AUTO_DISMISS_TIME * 3 / 2); in testShowNotification_autoDismisses() 346 mSystemClock.advanceTime(TEST_TOUCH_ACCEPTANCE_TIME / 2 + TEST_AUTO_DISMISS_TIME); in testShowNotification_autoDismissesIncludingTouchAcceptanceDelay() 359 mSystemClock.advanceTime(TEST_TOUCH_ACCEPTANCE_TIME in testShowNotification_autoDismissesWithDefaultTimeout() 373 mSystemClock.advanceTime(TEST_TOUCH_ACCEPTANCE_TIME in testShowNotification_stickyForSomeTime_autoDismissesWithStickyTimeout() 387 mSystemClock.advanceTime(TEST_TOUCH_ACCEPTANCE_TIME + 2 * TEST_A11Y_AUTO_DISMISS_TIME); in testShowNotification_sticky_neverAutoDismisses() 400 mSystemClock.advanceTime(TEST_TOUCH_ACCEPTANCE_TIME in testShowNotification_autoDismissesWithAccessibilityTimeout() 414 mSystemClock.advanceTime(TEST_TOUCH_ACCEPTANCE_TIME in testShowNotification_stickyForSomeTime_autoDismissesWithAccessibilityTimeout() [all …]
|
D | AvalancheControllerTest.kt | 64 private val mSystemClock = FakeSystemClock() in <lambda>() constant in com.android.systemui.statusbar.policy.AvalancheControllerTest 65 private val mExecutor = FakeExecutor(mSystemClock) in <lambda>() 89 mSystemClock, in <lambda>()
|
D | HeadsUpManagerPhoneTest.java | 139 mSystemClock, in createHeadsUpManagerPhone() 236 mSystemClock.advanceTime(TEST_AUTO_DISMISS_TIME + hmp.mExtensionTime / 2); in testExtendHeadsUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BaseHeadsUpManager.java | 77 protected final SystemClock mSystemClock; field in BaseHeadsUpManager 112 mSystemClock = systemClock; in BaseHeadsUpManager() 330 return Math.max(0, entry.mEarliestRemovalTime - mSystemClock.elapsedRealtime()); in getEarliestRemovalTime() 483 if (snoozedUntil > mSystemClock.elapsedRealtime()) { in isSnoozed() 504 mSnoozedPackages.put(snoozeKey, mSystemClock.elapsedRealtime() + mSnoozeLengthMs); in snooze() 565 pw.print(" now="); pw.println(mSystemClock.elapsedRealtime()); in dumpInternal() 801 final long now = mSystemClock.elapsedRealtime(); in updateEntry() 819 final long now = mSystemClock.elapsedRealtime(); in updateEntry() 851 return mEarliestRemovalTime < mSystemClock.elapsedRealtime(); in wasShownLongEnough() 997 final long timeLeft = mEarliestRemovalTime - mSystemClock.elapsedRealtime(); in removeAsSoonAsPossible() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WakefulnessLifecycle.java | 71 private final SystemClock mSystemClock; field in WakefulnessLifecycle 101 mSystemClock = systemClock; in WakefulnessLifecycle() 139 mLastWakeTime = mSystemClock.uptimeMillis(); in dispatchStartedWakingUp()
|
D | KeyguardViewMediator.java | 361 private final SystemClock mSystemClock; field in KeyguardViewMediator 855 mPM.wakeUp(mSystemClock.uptimeMillis(), 1488 mSystemClock = systemClock; 1554 mUiBgExecutor.execute(() -> mPM.userActivity(mSystemClock.uptimeMillis(), false)); 1556 mPM.userActivity(mSystemClock.uptimeMillis(), false); 1763 mContext.getSystemService(PowerManager.class).wakeUp(mSystemClock.uptimeMillis(), 1899 long when = mSystemClock.elapsedRealtime() + timeout; 1921 long userWhen = mSystemClock.elapsedRealtime() + userTimeout; 3022 mPM.wakeUp(mSystemClock.uptimeMillis(), PowerManager.WAKE_REASON_GESTURE, 3046 mSystemClock.uptimeMillis() + mHideAnimation.getStartOffset(), [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | FgsManagerControllerTest.java | 81 FakeSystemClock mSystemClock; field in FgsManagerControllerTest 120 mSystemClock = new FakeSystemClock(); in setUp() 121 mMainExecutor = new FakeExecutor(mSystemClock); in setUp() 122 mBackgroundExecutor = new FakeExecutor(mSystemClock); in setUp() 327 mSystemClock, in testShowUserVisibleJobsOnCreation() 354 mSystemClock, in testShowUserVisibleJobsOnCreation() 461 mSystemClock, in createFgsManagerController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | HeadsUpCoordinator.kt | 68 private val mSystemClock: SystemClock, in <lambda>() constant in com.android.systemui.statusbar.notification.collection.coordinator.HeadsUpCoordinator 110 mNow = mSystemClock.currentTimeMillis() in <lambda>() 404 addForFSIReconsideration(entry, mSystemClock.currentTimeMillis()) in <lambda>() 422 setUpdateTime(entry, mSystemClock.currentTimeMillis()) in <lambda>() 467 setUpdateTime(entry, mSystemClock.currentTimeMillis()) in <lambda>() 605 return (mSystemClock.currentTimeMillis() - updateTime) <= MAX_RANKING_UPDATE_DELAY_MS in <lambda>() 615 return (mSystemClock.currentTimeMillis() - addedTime) <= MAX_RANKING_UPDATE_DELAY_MS in <lambda>() 623 val timeThreshold = mSystemClock.currentTimeMillis() - MAX_RANKING_UPDATE_DELAY_MS in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessSliderController.java | 286 private final SystemClock mSystemClock; field in BrightnessSliderController.Factory 300 mSystemClock = clock; in Factory() 319 mSystemClock); in create()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PackageWatchdog.java | 194 private final SystemClock mSystemClock; field in PackageWatchdog 252 mSystemClock = clock; in PackageWatchdog() 413 final long now = mSystemClock.uptimeMillis(); in onPackageFailure() 523 mLastMitigation = mSystemClock.uptimeMillis(); in maybeExecute() 956 mUptimeAtLastStateSync = mSystemClock.uptimeMillis(); in scheduleNextSyncStateLocked() 990 ? 0 : mSystemClock.uptimeMillis() - mUptimeAtLastStateSync; in pruneObserversLocked() 1587 final long now = mSystemClock.uptimeMillis(); in onFailureLocked() 1605 mMitigationCalls.addLast(mSystemClock.uptimeMillis()); in noteMitigationCallLocked() 1617 final long now = mSystemClock.uptimeMillis(); in getMitigationCountLocked() 1637 final long now = mSystemClock.uptimeMillis(); in normalizeMitigationCalls() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationListener.java | 66 private final SystemClock mSystemClock; field in NotificationListener 90 mSystemClock = systemClock; in NotificationListener() 202 final long now = mSystemClock.elapsedRealtime(); in dispatchRankingUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BiometricUnlockController.java | 184 private final SystemClock mSystemClock; field in BiometricUnlockController 324 mSystemClock = systemClock; in BiometricUnlockController() 493 mSystemClock.uptimeMillis(), in startWakeAndUnlock() 747 long currUptimeMillis = mSystemClock.uptimeMillis(); in onBiometricAuthFailed() 869 pw.println(mSystemClock.uptimeMillis() - mLastFpFailureUptimeMillis); in dump()
|
D | HeadsUpManagerPhone.java | 245 return entry != null && mSystemClock.elapsedRealtime() < entry.mPostTime; in shouldSwallowClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImpl.java | 85 private final SystemClock mSystemClock; field in NotificationInterruptStateProviderImpl 152 mSystemClock = systemClock; in NotificationInterruptStateProviderImpl() 634 final long now = mSystemClock.currentTimeMillis(); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsController.java | 166 @NonNull private final SystemClock mSystemClock; field in UdfpsController 522 long sinceLastLog = mSystemClock.elapsedRealtime() - mLastTouchInteractionTime; in logBiometricTouch() 527 mLastTouchInteractionTime = mSystemClock.elapsedRealtime(); in logBiometricTouch() 759 mSystemClock = systemClock; in UdfpsController() 1082 mPowerManager.userActivity(mSystemClock.uptimeMillis(), in onFingerDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationTestHelper.java | 151 private final SystemClock mSystemClock; field in NotificationTestHelper 258 mSystemClock = new SystemClockImpl(); in NotificationTestHelper() 632 inflater.setFactory2(new RowInflaterTask.RowAsyncLayoutInflater(entry, mSystemClock, in generateRow()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediatorTest.java | 214 private FakeSystemClock mSystemClock; field in KeyguardViewMediatorTest 232 mSystemClock = new FakeSystemClock(); in setUp() 733 mSystemClock.setElapsedRealtime(0L); in lockAfterScreenTimeoutUsesValueFromSettings() 1231 mSystemClock, in createAndStartViewMediator()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 133 FakeSystemClock mSystemClock; field in NotificationInterruptStateProviderImplTest 146 mSystemClock = new FakeSystemClock(); in setup() 166 mSystemClock, in setup() 466 return mSystemClock.currentTimeMillis() - (1000 * 60 * 60 * hoursAgo); in makeWhenHoursAgo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | BiometricsUnlockControllerTest.java | 138 private final FakeSystemClock mSystemClock = new FakeSystemClock(); field in BiometricsUnlockControllerTest 170 mSystemClock, in createController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilder.java | 96 private final SystemClock mSystemClock; field in ShadeListBuilder 151 mSystemClock = systemClock; in ShadeListBuilder() 544 final long now = mSystemClock.uptimeMillis(); in filterNotifs() 588 group = new GroupEntry(topLevelKey, mSystemClock.uptimeMillis()); in groupNotifs()
|