Searched refs:child_proc (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | loc_cfg.cpp | 531 loc_process_info_s_type *child_proc = nullptr; in loc_read_process_conf() local 763 … child_proc = (loc_process_info_s_type *)calloc(proc_list_length, sizeof(loc_process_info_s_type)); in loc_read_process_conf() 764 if(child_proc == NULL) { in loc_read_process_conf() 776 child_proc[j].proc_status = DISABLED; in loc_read_process_conf() 777 memset(child_proc[j].group_list, 0, sizeof(child_proc[j].group_list)); in loc_read_process_conf() 803 child_proc[j].proc_status = DISABLED_FROM_CONF; in loc_read_process_conf() 817 strlcpy(child_proc[j].name[0], conf.proc_name, sizeof (child_proc[j].name[0])); in loc_read_process_conf() 819 child_proc[j].num_groups = 0; in loc_read_process_conf() 825 child_proc[j].group_list[i] = pwd->pw_gid; in loc_read_process_conf() 826 child_proc[j].num_groups++; in loc_read_process_conf() [all …]
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_cfg.cpp | 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() [all …]
|
/hardware/qcom/sm7150/gps/utils/ |
D | loc_cfg.cpp | 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() [all …]
|