ActiveServices
来源:互联网 发布:苹果c语言编程软件 编辑:程序博客网 时间:2024/06/08 03:21
mPendingServices 启动等待队列
mRestartingServices 重启队列
realStartServiceLocked 进程已启动 app.thread.scheduleCreateService (onCreate) requestServiceBindingsLocked (onBind) sendServiceArgsLocked (onStartCommand)
bringDownServiceLocked r.app.thread.scheduleUnbindService (onUnbind) r.app.thread.scheduleStopService (onDestroy)
Service (bind基于intent)public abstract IBinder onBind(Intent intent);public boolean onUnbind(Intent intent);public void onRebind(Intent intent);
0 0