Searched refs:taskScheduleInfo (Results 1 – 4 of 4) sorted by relevance
954 TaskScheduleInfo taskScheduleInfo = toTaskScheduleInfo(scheduleInfo); in scheduleTask() local956 mService.scheduleTask(taskScheduleInfo); in scheduleTask()1066 private static ScheduleInfo fromTaskScheduleInfo(TaskScheduleInfo taskScheduleInfo) { in fromTaskScheduleInfo() argument1067 return new ScheduleInfo.Builder(taskScheduleInfo.scheduleId, in fromTaskScheduleInfo()1068 taskScheduleInfo.taskType, taskScheduleInfo.startTimeInEpochSeconds) in fromTaskScheduleInfo()1069 .setTaskData(taskScheduleInfo.taskData).setCount(taskScheduleInfo.count) in fromTaskScheduleInfo()1070 .setPeriodic(Duration.ofSeconds(taskScheduleInfo.periodicInSeconds)).build(); in fromTaskScheduleInfo()1074 TaskScheduleInfo taskScheduleInfo = new TaskScheduleInfo(); in toTaskScheduleInfo() local1075 taskScheduleInfo.taskType = scheduleInfo.getTaskType(); in toTaskScheduleInfo()1076 taskScheduleInfo.scheduleId = scheduleInfo.getScheduleId(); in toTaskScheduleInfo()[all …]
448 TaskScheduleInfo taskScheduleInfo = new TaskScheduleInfo(); in getTestTaskScheduleInfo() local449 taskScheduleInfo.scheduleId = TEST_SCHEDULE_ID; in getTestTaskScheduleInfo()450 taskScheduleInfo.taskType = TEST_TASK_TYPE; in getTestTaskScheduleInfo()451 taskScheduleInfo.taskData = TEST_TASK_DATA; in getTestTaskScheduleInfo()452 taskScheduleInfo.startTimeInEpochSeconds = TEST_START_TIME; in getTestTaskScheduleInfo()453 taskScheduleInfo.count = TEST_TASK_COUNT; in getTestTaskScheduleInfo()454 taskScheduleInfo.periodicInSeconds = TEST_PERIODIC.getSeconds(); in getTestTaskScheduleInfo()455 return taskScheduleInfo; in getTestTaskScheduleInfo()
957 TaskScheduleInfo taskScheduleInfo = new TaskScheduleInfo(); in getAllPendingScheduledTasks() local958 taskScheduleInfo.scheduleId = halScheduleInfo.scheduleId; in getAllPendingScheduledTasks()959 taskScheduleInfo.taskData = halScheduleInfo.taskData; in getAllPendingScheduledTasks()960 taskScheduleInfo.count = halScheduleInfo.count; in getAllPendingScheduledTasks()961 taskScheduleInfo.startTimeInEpochSeconds = halScheduleInfo.startTimeInEpochSeconds; in getAllPendingScheduledTasks()962 taskScheduleInfo.periodicInSeconds = halScheduleInfo.periodicInSeconds; in getAllPendingScheduledTasks()965 taskScheduleInfo.taskType = TASK_TYPE_CUSTOM; in getAllPendingScheduledTasks()968 taskScheduleInfo.taskType = TASK_TYPE_ENTER_GARAGE_MODE; in getAllPendingScheduledTasks()972 + taskScheduleInfo + ", default to TASK_TYPE_CUSTOM"); in getAllPendingScheduledTasks()973 taskScheduleInfo.taskType = TASK_TYPE_CUSTOM; in getAllPendingScheduledTasks()[all …]
1390 TaskScheduleInfo taskScheduleInfo = new TaskScheduleInfo(); in getTestTaskScheduleInfo() local1391 taskScheduleInfo.taskType = TEST_TASK_TYPE; in getTestTaskScheduleInfo()1392 taskScheduleInfo.scheduleId = TEST_SCHEDULE_ID; in getTestTaskScheduleInfo()1393 taskScheduleInfo.taskData = TEST_TASK_DATA; in getTestTaskScheduleInfo()1394 taskScheduleInfo.count = TEST_TASK_COUNT; in getTestTaskScheduleInfo()1395 taskScheduleInfo.startTimeInEpochSeconds = TEST_START_TIME; in getTestTaskScheduleInfo()1396 taskScheduleInfo.periodicInSeconds = TEST_PERIODIC; in getTestTaskScheduleInfo()1397 return taskScheduleInfo; in getTestTaskScheduleInfo()