*/
package android.app;
+import android.app.AlarmClockInfo;
import android.app.PendingIntent;
+import android.os.WorkSource;
/**
* System private API for talking with the alarm manager service.
* {@hide}
*/
interface IAlarmManager {
- void set(int type, long triggerAtTime, in PendingIntent operation);
- void setRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation);
- void setInexactRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation);
- void setTime(long millis);
+ /** windowLength == 0 means exact; windowLength < 0 means the let the OS decide */
+ void set(int type, long triggerAtTime, long windowLength,
+ long interval, in PendingIntent operation, in WorkSource workSource,
+ in AlarmClockInfo alarmClock);
+ boolean setTime(long millis);
void setTimeZone(String zone);
void remove(in PendingIntent operation);
+ AlarmClockInfo getNextAlarmClock(int userId);
}