Home
last modified time | relevance | path

Searched refs:jobName (Results 1 – 10 of 10) sorted by relevance

/base/startup/init/services/init/standard/
Dinit_jobs.c20 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()
Dinit.c329 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/
Dinit_jobs_internal.h35 void DoJob(const char *jobName);
39 int DoJobNow(const char *jobName);
/base/startup/init/services/init/lite/
Dinit_jobs.c126 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/
Dreboot.c27 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/
Dinit_module_engine.h45 int DoJobNow(const char *jobName);
Dbootstage.h90 const char *jobName; /* job name */ member
/base/startup/init/services/include/param/
Dinit_param.h124 int ParseTriggerConfig(const cJSON *fileRoot, int (*checkJobValid)(const char *jobName));
/base/startup/init/services/param/trigger/
Dtrigger_processor.c214 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/
Dinit_service_manager.c613 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()