作者:念念念念念子-璃_908 | 来源:互联网 | 2023-09-13 11:12
vim framework/base/core/java/android/app/IAlarmManager.aidl
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.os.WorkSource;
/**
* System private API for talking with the alarm manager service.
*
* {@hide}
*/
interface IAlarmManager {
/** windowLength == 0 means exact; windowLength 0 means the let the OS decide */
void set(int type, long triggerAtTime, long windowLength,
long interval, int flags, in PendingIntent operation, in WorkSource workSource,
in AlarmManager.AlarmClockInfo alarmClock);
boolean setTime(long millis);
void setTimeZone(String zone);
void remove(in PendingIntent operation);
long getNextWakeFromIdleTime();
AlarmManager.AlarmClockInfo getNextAlarmClock(int userId);
void rtcset(int type, long when);
void set_deskclock(long time);
void set_schpwronoff(long time);
long get_schpwronoff();
long get_deskclock();
}
这个set具体在哪里实现的? 请看rtc关机闹钟4