powerOffAlarm
2022-06-21 09:44:39 1 举报
1
作者其他创作
大纲/内容
sendBroadcast(intent)
hidl-impl
Return<int32_t> Alarm::setAlarm(int64_t time)Return<int64_t> Alarm::getAlarm()Return<int32_t> Alarm::cancelAlarm()
intent.getAction()
AlarmStateManager
ACTION_SET_POWEROFF_ALARMACTION_CANCEL_POWEROFF_ALARM
PowerOffAlarmBroadcastReceiver
PowerOffAlarmPersistData persistData span style=\"font-size: inherit;\
PowerOffAlarmActivity
private Handler mHandler = new Handler(){@Override public void handleMessage}
protected void onCreate(Bundle savedInstanceState)void onResume()void onStop()
PowerOffAlarmUtils
IAlarm mProxy = IAlarm.getService(true)
long setAlarmToRtc(long alarmTime)long getAlarmFromRtc()int cancelAlarmInRtc()
PowerOffAlarmDialog
KeyguardManager mKeyguardManager;KeyguardManager.KeyguardLock mKeyguardLock;
void onCreate(Bundle icicle)void onResume()void onStop()
PowerOffAlarmPersistData //encoder(JSON)
dataString = PowerOffAlarmUtils.readPowerOffAlarmFile(PERSIST_ALARM_DATA_FILE);
void writeDataToFile()
收藏
0 条评论
下一页
为你推荐
查看更多
抱歉,暂无相关内容