Searched refs:jobName (Results 1 – 10 of 10) sorted by relevance
/base/startup/init/services/init/standard/ |
D | init_jobs.c | 20 static int CheckJobValid(const char *jobName) in CheckJobValid() argument 23 return CheckNodeValid(NODE_TYPE_JOBS, jobName); in CheckJobValid() 31 int DoJobNow(const char *jobName) in DoJobNow() argument 33 DoJobExecNow(jobName); in DoJobNow()
|
D | init.c | 329 char jobName[64] = {0}; // 64 job name in TriggerServices() local 351 … if (sprintf_s(jobName, sizeof(jobName), "boot-service:service-%d-%03d", startMode, jobNum) <= 0) { in TriggerServices() 358 AddCompleteJob(jobName, NULL, cmd); in TriggerServices() 359 INIT_LOGV("Add %s to job %s", service->name, jobName); in TriggerServices() 361 PostTrigger(EVENT_TRIGGER_BOOT, jobName, strlen(jobName)); in TriggerServices() 367 PostTrigger(EVENT_TRIGGER_BOOT, jobName, strlen(jobName)); in TriggerServices()
|
/base/startup/init/services/init/include/ |
D | init_jobs_internal.h | 35 void DoJob(const char *jobName); 39 int DoJobNow(const char *jobName);
|
/base/startup/init/services/init/lite/ |
D | init_jobs.c | 126 void DoJob(const char *jobName) in DoJob() argument 128 if (jobName == NULL) { in DoJob() 133 INIT_LOGV("Call job with name %s", jobName); in DoJob() 135 if (strncmp(jobName, g_jobs[i].name, strlen(g_jobs[i].name)) == 0) { in DoJob() 164 int DoJobNow(const char *jobName) in DoJobNow() argument
|
/base/startup/init/services/modules/reboot/ |
D | reboot.c | 27 static int DoRoot_(const char *jobName, int type) in DoRoot_() argument 30 if (jobName != NULL) { in DoRoot_() 31 DoJobNow(jobName); in DoRoot_()
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
D | init_module_engine.h | 45 int DoJobNow(const char *jobName);
|
D | bootstage.h | 90 const char *jobName; /* job name */ member
|
/base/startup/init/services/include/param/ |
D | init_param.h | 124 int ParseTriggerConfig(const cJSON *fileRoot, int (*checkJobValid)(const char *jobName));
|
/base/startup/init/services/param/trigger/ |
D | trigger_processor.c | 214 context.jobName = name; in ParseJobHookExecute() 221 const cJSON *triggerItem, int (*checkJobValid)(const char *jobName)) in ParseTrigger_() argument 263 int ParseTriggerConfig(const cJSON *fileRoot, int (*checkJobValid)(const char *jobName)) in ParseTriggerConfig() argument
|
/base/startup/init/services/init/ |
D | init_service_manager.c | 613 char *jobName = cJSON_GetStringValue(cJSON_GetObjectItem(json, jobTypes[i])); in GetServiceJobs() local 614 if (jobName != NULL) { in GetServiceJobs() 619 service->serviceJobs.jobsName[i] = strdup(jobName); in GetServiceJobs() 621 AddGroupNode(NODE_TYPE_JOBS, jobName); in GetServiceJobs()
|