Home
last modified time | relevance | path

Searched refs:triggerTime (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/
DAlarmTileMapperTest.kt79 val triggerTime = fakeClock.currentTimeMillis() + oneMinute in nextAlarmSet24HourFormat() constant
81 AlarmTileModel.NextAlarmSet(true, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSet24HourFormat()
87 Instant.ofEpochMilli(triggerTime), in nextAlarmSet24HourFormat()
98 val triggerTime = fakeClock.currentTimeMillis() + oneMinute in nextAlarmSet12HourFormat() constant
100 AlarmTileModel.NextAlarmSet(false, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSet12HourFormat()
106 Instant.ofEpochMilli(triggerTime), in nextAlarmSet12HourFormat()
118 val triggerTime = fakeClock.currentTimeMillis() + oneWeekAndOneMinute in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly() constant
120 AlarmTileModel.NextAlarmSet(false, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
126 Instant.ofEpochMilli(triggerTime), in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
138 val triggerTime = fakeClock.currentTimeMillis() + oneWeekMinusOneMinute in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime() constant
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java132 long triggerTime = now + event.mPeriod; in insertEvent() local
133 if (firstEvent.mTriggerTime < triggerTime) { in insertEvent()
137 event.mTriggerTime = triggerTime; in insertEvent()
163 long triggerTime = event.mTriggerTime; in set() local
166 + showTime(triggerTime) + " at " + showTime(now) in set()
231 long triggerTime = intent.getLongExtra(TRIGGER_TIME, -1L); in onReceive() local
232 execute(triggerTime); in onReceive()
253 private void execute(long triggerTime) { in execute() argument
255 + showTime(triggerTime) + ": " + mEventQueue.size()); in execute()
259 if (event.mTriggerTime != triggerTime) continue; in execute()
[all …]
/frameworks/native/services/inputflinger/tests/
DTimerProvider_test.cpp44 stime_t pushTimeOntoVector(stime_t triggerTime, void* data) { in pushTimeOntoVector() argument
46 times->push_back(triggerTime); in pushTimeOntoVector()
50 stime_t copyTimeToVariable(stime_t triggerTime, void* data) { in copyTimeToVariable() argument
52 *time = triggerTime; in copyTimeToVariable()
56 stime_t incrementInt(stime_t triggerTime, void* data) { in incrementInt() argument
115 auto callback = [](stime_t triggerTime, void* callbackData) { in TEST_F() argument
117 times->push_back(triggerTime); in TEST_F()
/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java242 long triggerTime = beforeTrigger - 10000000; in testClockRollbackScenario() local
243 scheduler.setTriggerTimeMillis(triggerTime); in testClockRollbackScenario()
244 assertEquals(triggerTime, scheduler.getNextTimeMillis(options)); in testClockRollbackScenario()
249 scheduler.setTriggerTimeMillis(triggerTime); in testClockRollbackScenario()
274 assertEquals(triggerTime, scheduler.getNextTimeMillis(options)); in testClockRollbackScenario()
278 scheduler.timeMillis = triggerTime + 5000000; in testClockRollbackScenario()
279 assertEquals(triggerTime, scheduler.getNextTimeMillis(options)); in testClockRollbackScenario()
/frameworks/native/services/surfaceflinger/Scheduler/
DOneShotTimer.cpp118 auto triggerTime = mClock->now() + mInterval.load(); in loop() local
137 if (const auto triggerInterval = triggerTime - mClock->now(); triggerInterval > 0ns) { in loop()
155 if (!mPaused && state == TimerState::WAITING && (triggerTime - mClock->now()) <= 0ns) { in loop()
162 triggerTime = mLastResetTime.load() + mInterval.load(); in loop()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DTimerProvider.cpp114 std::function<void(nsecs_t)> wrappedCallback = [=, this](nsecs_t triggerTime) { in setDeadlineWithoutRequestingTimeout() argument
115 stime_t nextDelay = callback(nsecsToStime(triggerTime), callbackData); in setDeadlineWithoutRequestingTimeout()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java591 private void setTestAlarm(int type, long triggerTime, PendingIntent operation) { in setTestAlarm() argument
592 setTestAlarm(type, triggerTime, operation, 0, FLAG_STANDALONE, TEST_CALLING_UID); in setTestAlarm()
600 private void setIdleUntilAlarm(int type, long triggerTime, PendingIntent pi) { in setIdleUntilAlarm() argument
601 setTestAlarm(type, triggerTime, pi, 0, FLAG_IDLE_UNTIL | FLAG_STANDALONE, TEST_CALLING_UID); in setIdleUntilAlarm()
604 private void setWakeFromIdle(int type, long triggerTime, PendingIntent pi) { in setWakeFromIdle() argument
607 setTestAlarm(type, triggerTime, pi, 0, FLAG_WAKE_FROM_IDLE | FLAG_STANDALONE, in setWakeFromIdle()
611 private void setPrioritizedAlarm(int type, long triggerTime, long windowLength, in setPrioritizedAlarm() argument
613 mService.setImpl(type, triggerTime, windowLength, 0, null, listener, "test", in setPrioritizedAlarm()
618 private void setAllowWhileIdleAlarm(int type, long triggerTime, PendingIntent pi, in setAllowWhileIdleAlarm() argument
629 setTestAlarm(type, triggerTime, pi, 0, flags, TEST_CALLING_UID); in setAllowWhileIdleAlarm()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/
DAlarmTileMapper.kt56 Instant.ofEpochMilli(data.alarmClockInfo.triggerTime), in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAlarmTile.kt110 return DateFormat.format(pattern, info.triggerTime).toString() in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
DAlarmTileDataInteractorTest.kt77 val actualTriggerTime = actualAlarmClockInfo.triggerTime in <lambda>()
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DAlarmManager.java1586 public AlarmClockInfo(long triggerTime, PendingIntent showIntent) { in AlarmClockInfo() argument
1587 mTriggerTime = triggerTime; in AlarmClockInfo()
/frameworks/base/config/
Dboot-image-profile.txt29309 HSPLjava/util/concurrent/ScheduledThreadPoolExecutor;->triggerTime(J)J
29310 HSPLjava/util/concurrent/ScheduledThreadPoolExecutor;->triggerTime(JLjava/util/concurrent/TimeUnit;…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...