Lines Matching refs:child_proc
569 loc_process_info_s_type *child_proc = nullptr; in loc_read_process_conf() local
759 … child_proc = (loc_process_info_s_type *)calloc(proc_list_length, sizeof(loc_process_info_s_type)); in loc_read_process_conf()
760 if(child_proc == NULL) { in loc_read_process_conf()
772 child_proc[j].proc_status = DISABLED; in loc_read_process_conf()
773 memset(child_proc[j].group_list, 0, sizeof(child_proc[j].group_list)); in loc_read_process_conf()
800 child_proc[j].proc_status = DISABLED_VIA_VENDOR_ENHANCED_CHECK; in loc_read_process_conf()
807 child_proc[j].proc_status = DISABLED_FROM_CONF; in loc_read_process_conf()
821 strlcpy(child_proc[j].name[0], conf.proc_name, sizeof (child_proc[j].name[0])); in loc_read_process_conf()
823 child_proc[j].num_groups = 0; in loc_read_process_conf()
828 child_proc[j].group_list[child_proc[j].num_groups] = grp->gr_gid; in loc_read_process_conf()
829 child_proc[j].num_groups++; in loc_read_process_conf()
945 child_proc[j].proc_status = DISABLED; in loc_read_process_conf()
953 (child_proc[j].proc_status != DISABLED_FROM_CONF) && in loc_read_process_conf()
954 (child_proc[j].proc_status != DISABLED_VIA_VENDOR_ENHANCED_CHECK)) { in loc_read_process_conf()
962 char* temp_arg = ('/' == child_proc[j].name[0][0]) ? in loc_read_process_conf()
963 (strrchr(child_proc[j].name[0], '/') + 1) : child_proc[j].name[0]; in loc_read_process_conf()
964 strlcpy (child_proc[j].args[i++], temp_arg, sizeof (child_proc[j].args[i++])); in loc_read_process_conf()
969 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
970 child_proc[j].proc_status = ENABLED; in loc_read_process_conf()
975 strlcpy(child_proc[j].args[i++], arg_gtp_wifi, in loc_read_process_conf()
977 strlcpy(child_proc[j].args[i++], arg_basic, in loc_read_process_conf()
981 strlcpy(child_proc[j].args[i++], arg_gtp_wifi, in loc_read_process_conf()
983 strlcpy(child_proc[j].args[i++], arg_premium, in loc_read_process_conf()
988 strlcpy(child_proc[j].args[i++], arg_gtp_wifi, in loc_read_process_conf()
990 strlcpy(child_proc[j].args[i++], arg_disabled, in loc_read_process_conf()
997 strlcpy(child_proc[j].args[i++], arg_gtp_modem_cell, in loc_read_process_conf()
999 strlcpy(child_proc[j].args[i++], arg_basic, in loc_read_process_conf()
1003 strlcpy(child_proc[j].args[i++], arg_gtp_modem_cell, in loc_read_process_conf()
1005 strlcpy(child_proc[j].args[i++], arg_disabled, in loc_read_process_conf()
1012 strlcpy(child_proc[j].args[i++], arg_sap, in loc_read_process_conf()
1014 strlcpy(child_proc[j].args[i++], arg_basic, in loc_read_process_conf()
1018 strlcpy(child_proc[j].args[i++], arg_sap, in loc_read_process_conf()
1020 strlcpy(child_proc[j].args[i++], arg_premium, in loc_read_process_conf()
1025 strlcpy(child_proc[j].args[i++], arg_sap, in loc_read_process_conf()
1027 strlcpy(child_proc[j].args[i++], arg_disabled, in loc_read_process_conf()
1034 strlcpy(child_proc[j].args[i++], arg_gtp_waa, in loc_read_process_conf()
1036 strlcpy(child_proc[j].args[i++], arg_basic, in loc_read_process_conf()
1041 strlcpy(child_proc[j].args[i++], arg_gtp_waa, in loc_read_process_conf()
1043 strlcpy(child_proc[j].args[i++], arg_disabled, in loc_read_process_conf()
1048 LOC_LOGD("%s:%d]: %s args\n", __func__, __LINE__, child_proc[j].name[0]); in loc_read_process_conf()
1050 if(child_proc[j].args[k][0] != '\0') { in loc_read_process_conf()
1052 child_proc[j].args[k]); in loc_read_process_conf()
1060 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
1065 __func__, __LINE__, child_proc[j].name[0]); in loc_read_process_conf()
1066 child_proc[j].proc_status = ENABLED; in loc_read_process_conf()
1078 strlcpy(child_proc[j].argumentString, conf.proc_argument, in loc_read_process_conf()
1079 sizeof(child_proc[j].argumentString)); in loc_read_process_conf()
1082 loc_util_split_string(child_proc[j].argumentString, &temp_args[i], in loc_read_process_conf()
1089 strlcpy (child_proc[j].args[index], temp_args[index], in loc_read_process_conf()
1090 sizeof (child_proc[j].args[index])); in loc_read_process_conf()
1096 __func__, __LINE__, child_proc[j].name[0]); in loc_read_process_conf()
1106 if (child_proc) { in loc_read_process_conf()
1107 free (child_proc); in loc_read_process_conf()
1108 child_proc = nullptr; in loc_read_process_conf()
1116 *process_info_table_ptr = child_proc; in loc_read_process_conf()