List of usage examples for android.os RemoteCallbackList RemoteCallbackList
RemoteCallbackList
From source file:com.sentaroh.android.TaskAutomation.TaskManager.java
static final public void initTaskMgrParms(EnvironmentParms envParms, TaskManagerParms taskMgrParms, Context appContext, CommonUtilities util) { taskMgrParms.resourceCleanupTime = System.currentTimeMillis() + RESOURCE_CLEANUP_INTERVAL; taskMgrParms.activeTaskList = TaskManager.buildActiveTaskList(); taskMgrParms.blockActionList = TaskManager.buildBlockActionList(); taskMgrParms.taskHistoryList = TaskManager.buildTaskHistoryList(taskMgrParms); taskMgrParms.taskQueueList = TaskManager.buildTaskQueueList(); taskMgrParms.wifiNotifyEventList = new ArrayList<ThreadCtrl>(); taskMgrParms.bluetoothNotifyEventList = new ArrayList<ThreadCtrl>(); taskMgrParms.context = appContext;//w ww . j ava 2 s.c o m taskMgrParms.callBackList = new RemoteCallbackList<ISchedulerCallback>(); taskMgrParms.teMsgs.loadString(appContext); taskMgrParms.svcHandler = new Handler(); buildTaskExecThreadPool(envParms, taskMgrParms, util); buildTaskCtrlThreadPool(envParms, taskMgrParms, util); }