Home
last modified time | relevance | path

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

/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmUtil.java54 Calendar alarmTime = Calendar.getInstance(); in scheduleAlarm() local
55 alarmTime.set(Calendar.MONTH, alarm.month); in scheduleAlarm()
56 alarmTime.set(Calendar.DATE, alarm.date); in scheduleAlarm()
57 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); in scheduleAlarm()
58 alarmTime.set(Calendar.MINUTE, alarm.minute); in scheduleAlarm()
61 alarmTime.getTimeInMillis(), in scheduleAlarm()
91 Calendar alarmTime = Calendar.getInstance(); in getNextAlarmTime() local
92 alarmTime.set(Calendar.HOUR_OF_DAY, hour); in getNextAlarmTime()
93 alarmTime.set(Calendar.MINUTE, minute); in getNextAlarmTime()
94 if ((alarmTime.getTimeInMillis() - System.currentTimeMillis()) < 0) { in getNextAlarmTime()
[all …]
DAlarmAdapter.java72 Calendar alarmTime = Calendar.getInstance(); in onBindViewHolder() local
73 alarmTime.set(Calendar.MONTH, alarm.month); in onBindViewHolder()
74 alarmTime.set(Calendar.DATE, alarm.date); in onBindViewHolder()
75 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); in onBindViewHolder()
76 alarmTime.set(Calendar.MINUTE, alarm.minute); in onBindViewHolder()
78 .setText(mTimeFormat.format(alarmTime.getTime())); in onBindViewHolder()
80 .setText(mDateFormat.format(alarmTime.getTime())); in onBindViewHolder()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DTimePickerFragment.java78 Calendar alarmTime = mAlarmUtil in onCreateView()
81 .saveAlarm(alarmTime.get(Calendar.MONTH), alarmTime.get(Calendar.DATE), in onCreateView()
82alarmTime.get(Calendar.HOUR_OF_DAY), alarmTime.get(Calendar.MINUTE)); in onCreateView()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java600 long alarmTime = 0; in handleEvent() local
606 alarmTime = Long.parseLong(args[2]); in handleEvent()
617 MonkeyActivityEvent e = new MonkeyActivityEvent(mApp, alarmTime); in handleEvent()