Home
last modified time | relevance | path

Searched refs:wakeupTime (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java97 private void initTest(int wakeupTime) throws Exception { in initTest() argument
103 if (wakeupTime > 0) { in initTest()
105 mService.scheduleNextWakeupTime(wakeupTime); in initTest()
146 final int wakeupTime = 100; in testShutdownWithProcessing() local
147 initTest(wakeupTime); in testShutdownWithProcessing()
150 PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_LONG_MS, wakeupTime); in testShutdownWithProcessing()
158 final int wakeupTime = 100; in testSleepEntryAndWakeup() local
159 initTest(wakeupTime); in testSleepEntryAndWakeup()
163 PowerHalService.SET_DEEP_SLEEP_ENTRY, WAIT_TIMEOUT_LONG_MS, wakeupTime); in testSleepEntryAndWakeup()
173 final int wakeupTime = 100; in testSleepEntryAndWakeUpForProcessing() local
[all …]
/packages/services/Car/service/src/com/android/car/garagemode/
DWakeupPolicy.java73 for (WakeupInterval wakeupTime : mWakeupIntervals) { in getNextWakeUpInterval()
74 if (index <= wakeupTime.getNumAttempts()) { in getNextWakeUpInterval()
75 return wakeupTime.getWakeupInterval(); in getNextWakeUpInterval()
77 index -= wakeupTime.getNumAttempts(); in getNextWakeUpInterval()
172 WakeupInterval(int wakeupTime, int numAttempts) { in WakeupInterval() argument
173 mWakeupInterval = wakeupTime; in WakeupInterval()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java2595 long wakeupTime = SystemClock.elapsedRealtime() + delayMillis; in setWakeAlarm() local
2602 mAlarmManager.setExact(type, wakeupTime, mPendingAlarm); in setWakeAlarm()