Home
last modified time | relevance | path

Searched refs:alarmTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDiscoverableTimeoutReceiver.java35 public static void setDiscoverableAlarm(Context context, long alarmTime) { in setDiscoverableAlarm() argument
36 Log.d(TAG, "setDiscoverableAlarm(): alarmTime = " + alarmTime); in setDiscoverableAlarm()
52 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pending); in setDiscoverableAlarm()
/frameworks/base/core/java/android/provider/
DCalendarContract.java2490 long begin, long end, long alarmTime, int minutes) { in insert() argument
2495 values.put(CalendarAlerts.ALARM_TIME, alarmTime); in insert()
2527 long alarmTime = -1; in findNextAlarmTime() local
2530 alarmTime = cursor.getLong(0); in findNextAlarmTime()
2537 return alarmTime; in findNextAlarmTime()
2577 long alarmTime = -1; in rescheduleMissedAlarms() local
2581 if (alarmTime != newAlarmTime) { in rescheduleMissedAlarms()
2586 alarmTime = newAlarmTime; in rescheduleMissedAlarms()
2609 public static void scheduleAlarm(Context context, AlarmManager manager, long alarmTime) { in scheduleAlarm() argument
2611 String schedTime = TimeMigrationUtils.formatMillisWithFixedFormat(alarmTime); in scheduleAlarm()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DUserWakeupStoreTest.java119 final long alarmTime = mUserWakeupStore.getWakeupTimeForUser(USER_ID_1) in testAddMultipleWakeupsForUser_ensureOnlyLastWakeupRemains() local
121 assertTrue(finalAlarmTime + USER_START_TIME_DEVIATION_LIMIT_MS >= alarmTime); in testAddMultipleWakeupsForUser_ensureOnlyLastWakeupRemains()
122 assertTrue(finalAlarmTime - USER_START_TIME_DEVIATION_LIMIT_MS <= alarmTime); in testAddMultipleWakeupsForUser_ensureOnlyLastWakeupRemains()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DUserWakeupStore.java125 public void addUserWakeup(int userId, long alarmTime) { in addUserWakeup() argument
130 mUserStarts.put(userId, alarmTime - BUFFER_TIME_MS + getUserWakeupOffset()); in addUserWakeup()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2768 final long alarmTime; in setExpirationAlarmCheckLocked() local
2771 alarmTime = 0; in setExpirationAlarmCheckLocked()
2774 alarmTime = now + MS_PER_DAY; in setExpirationAlarmCheckLocked()
2782 alarmTime = now + alarmInterval; in setExpirationAlarmCheckLocked()
2795 if (alarmTime != 0) { in setExpirationAlarmCheckLocked()
2796 am.set(AlarmManager.RTC, alarmTime, pi); in setExpirationAlarmCheckLocked()
20960 final long alarmTime;
20963 alarmTime = 0;
20967 alarmTime = profileOwner.mProfileOffDeadline;
20972 alarmTime = profileOwner.mProfileOffDeadline - MANAGED_PROFILE_OFF_WARNING_PERIOD;
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23340 field public static final java.lang.String ALARM_TIME = "alarmTime";
/frameworks/base/core/api/
Dcurrent.txt35487 field public static final String ALARM_TIME = "alarmTime";