Lines Matching refs:j
557 unsigned int j=0; in loc_read_process_conf() local
733 for(j=0; j<proc_list_length; j++) { in loc_read_process_conf()
735 child_proc[j].proc_status = DISABLED; in loc_read_process_conf()
736 memset(child_proc[j].group_list, 0, sizeof(child_proc[j].group_list)); in loc_read_process_conf()
762 child_proc[j].proc_status = DISABLED_VIA_VENDOR_ENHANCED_CHECK; in loc_read_process_conf()
769 child_proc[j].proc_status = DISABLED_FROM_CONF; in loc_read_process_conf()
783 strlcpy(child_proc[j].name[0], conf.proc_name, sizeof (child_proc[j].name[0])); in loc_read_process_conf()
785 child_proc[j].num_groups = 0; in loc_read_process_conf()
790 child_proc[j].group_list[child_proc[j].num_groups] = grp->gr_gid; in loc_read_process_conf()
791 child_proc[j].num_groups++; in loc_read_process_conf()
879 (child_proc[j].proc_status != DISABLED_FROM_CONF) && in loc_read_process_conf()
880 (child_proc[j].proc_status != DISABLED_VIA_VENDOR_ENHANCED_CHECK)) { in loc_read_process_conf()
888 char* temp_arg = ('/' == child_proc[j].name[0][0]) ? in loc_read_process_conf()
889 (strrchr(child_proc[j].name[0], '/') + 1) : child_proc[j].name[0]; in loc_read_process_conf()
890 strlcpy (child_proc[j].args[i++], temp_arg, sizeof (child_proc[j].args[i++])); in loc_read_process_conf()
895 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
896 child_proc[j].proc_status = ENABLED; in loc_read_process_conf()
901 strlcpy(child_proc[j].args[i++], arg_gtp_wifi, in loc_read_process_conf()
903 strlcpy(child_proc[j].args[i++], arg_basic, in loc_read_process_conf()
907 strlcpy(child_proc[j].args[i++], arg_gtp_wifi, in loc_read_process_conf()
909 strlcpy(child_proc[j].args[i++], arg_premium, in loc_read_process_conf()
914 strlcpy(child_proc[j].args[i++], arg_gtp_wifi, in loc_read_process_conf()
916 strlcpy(child_proc[j].args[i++], arg_disabled, in loc_read_process_conf()
923 strlcpy(child_proc[j].args[i++], arg_gtp_modem_cell, in loc_read_process_conf()
925 strlcpy(child_proc[j].args[i++], arg_basic, in loc_read_process_conf()
929 strlcpy(child_proc[j].args[i++], arg_gtp_modem_cell, in loc_read_process_conf()
931 strlcpy(child_proc[j].args[i++], arg_disabled, in loc_read_process_conf()
938 strlcpy(child_proc[j].args[i++], arg_sap, in loc_read_process_conf()
940 strlcpy(child_proc[j].args[i++], arg_basic, in loc_read_process_conf()
944 strlcpy(child_proc[j].args[i++], arg_sap, in loc_read_process_conf()
946 strlcpy(child_proc[j].args[i++], arg_premium, in loc_read_process_conf()
951 strlcpy(child_proc[j].args[i++], arg_sap, in loc_read_process_conf()
953 strlcpy(child_proc[j].args[i++], arg_disabled, in loc_read_process_conf()
958 LOC_LOGD("%s:%d]: %s args\n", __func__, __LINE__, child_proc[j].name[0]); in loc_read_process_conf()
960 if(child_proc[j].args[k][0] != '\0') { in loc_read_process_conf()
962 child_proc[j].args[k]); in loc_read_process_conf()
970 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
975 __func__, __LINE__, child_proc[j].name[0]); in loc_read_process_conf()
976 child_proc[j].proc_status = ENABLED; in loc_read_process_conf()
988 strlcpy(child_proc[j].argumentString, conf.proc_argument, in loc_read_process_conf()
989 sizeof(child_proc[j].argumentString)); in loc_read_process_conf()
992 loc_util_split_string(child_proc[j].argumentString, &temp_args[i], in loc_read_process_conf()
999 strlcpy (child_proc[j].args[index], temp_args[index], in loc_read_process_conf()
1000 sizeof (child_proc[j].args[index])); in loc_read_process_conf()
1006 __func__, __LINE__, child_proc[j].name[0]); in loc_read_process_conf()