Lines Matching refs:conf
497 static loc_launcher_conf conf; variable
501 {"SGLTE_TARGET", &conf.sglte_target, NULL, 'n'},
506 {"GTP_MODE", &conf.feature_gtp_mode, NULL, 's'},
507 {"SAP", &conf.feature_sap, NULL, 's'},
508 {"ODCPI", &conf.feature_odcpi, NULL, 's'},
509 {"FREE_WIFI_SCAN_INJECT", &conf.feature_free_wifi_scan_inject, NULL, 's'},
510 {"SUPL_WIFI", &conf.feature_supl_wifi, NULL, 's'},
511 {"WIFI_SUPPLICANT_INFO", &conf.feature_wifi_supplicant_info, NULL, 's'},
516 {"PROCESS_NAME", &conf.proc_name, NULL, 's'},
517 {"PROCESS_ARGUMENT", &conf.proc_argument, NULL, 's'},
518 {"PROCESS_STATE", &conf.proc_status, NULL, 's'},
519 {"PROCESS_GROUPS", &conf.group_list, NULL, 's'},
520 {"PREMIUM_FEATURE", &conf.premium_feature, NULL, 'n'},
521 {"IZAT_FEATURE_MASK", &conf.loc_feature_mask, NULL, 'n'},
522 {"PLATFORMS", &conf.platform_list, NULL, 's'},
523 {"BASEBAND", &conf.baseband, NULL, 's'},
524 {"HARDWARE_TYPE", &conf.auto_platform, NULL, 's'},
525 {"VENDOR_ENHANCED_PROCESS", &conf.vendor_enhanced_process, NULL, 'n'},
599 if(strcmp(conf.feature_gtp_mode, "DISABLED") == 0) { in loc_read_process_conf()
602 else if(strcmp(conf.feature_gtp_mode, "LEGACY_WWAN") == 0) { in loc_read_process_conf()
606 else if(strcmp(conf.feature_gtp_mode, "SDK") == 0) { in loc_read_process_conf()
617 if(strcmp(conf.feature_sap, "PREMIUM") == 0) { in loc_read_process_conf()
621 else if(strcmp(conf.feature_sap, "BASIC") == 0) { in loc_read_process_conf()
625 else if(strcmp(conf.feature_sap, "DISABLED") == 0) { in loc_read_process_conf()
635 if(strcmp(conf.feature_odcpi, "BASIC") == 0) { in loc_read_process_conf()
639 else if(strcmp(conf.feature_odcpi, "DISABLED") == 0) { in loc_read_process_conf()
642 else if(strcmp(conf.feature_odcpi, "PREMIUM") == 0) { in loc_read_process_conf()
649 if(strcmp(conf.feature_free_wifi_scan_inject, "BASIC") == 0) { in loc_read_process_conf()
653 else if(strcmp(conf.feature_free_wifi_scan_inject, "DISABLED") == 0) { in loc_read_process_conf()
656 else if(strcmp(conf.feature_free_wifi_scan_inject, "PREMIUM") == 0) { in loc_read_process_conf()
663 if(strcmp(conf.feature_supl_wifi, "BASIC") == 0) { in loc_read_process_conf()
667 else if(strcmp(conf.feature_supl_wifi, "DISABLED") == 0) { in loc_read_process_conf()
670 else if(strcmp(conf.feature_supl_wifi, "PREMIUM") == 0) { in loc_read_process_conf()
677 if(strcmp(conf.feature_wifi_supplicant_info, "BASIC") == 0) { in loc_read_process_conf()
681 else if(strcmp(conf.feature_wifi_supplicant_info, "DISABLED") == 0) { in loc_read_process_conf()
684 else if(strcmp(conf.feature_wifi_supplicant_info, "PREMIUM") == 0) { in loc_read_process_conf()
702 conf.proc_name[0] = 0; in loc_read_process_conf()
714 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
717 LOC_LOGD("Process name:%s", conf.proc_name); in loc_read_process_conf()
745 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
746 group_list_length=(int)strlen(conf.group_list); in loc_read_process_conf()
747 platform_length = (int)strlen(conf.platform_list); in loc_read_process_conf()
748 baseband_length = (int)strlen(conf.baseband); in loc_read_process_conf()
749 status_length = (int)strlen(conf.proc_status); in loc_read_process_conf()
750 auto_platform_length = (int)strlen(conf.auto_platform); in loc_read_process_conf()
759 if (!isVendorEnhanced() && (conf.vendor_enhanced_process != 0)) { in loc_read_process_conf()
761 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
766 if(strcmp(conf.proc_status, "DISABLED") == 0) { in loc_read_process_conf()
768 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
772 else if(strcmp(conf.proc_status, "ENABLED") == 0) { in loc_read_process_conf()
774 __func__, __LINE__, conf.proc_name); 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()
786 ngroups = loc_util_split_string(conf.group_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
796 nstrings = loc_util_split_string(conf.platform_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
824 nstrings = loc_util_split_string(conf.baseband, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
852 else if((strcmp("sglte", split_strings[i]) == 0 ) && conf.sglte_target) { in loc_read_process_conf()
860 nstrings = loc_util_split_string(conf.auto_platform, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
892 if(conf.premium_feature) { in loc_read_process_conf()
893 if(conf.loc_feature_mask & loc_service_mask) { in loc_read_process_conf()
895 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
898 if(conf.loc_feature_mask & in loc_read_process_conf()
920 if(conf.loc_feature_mask & in loc_read_process_conf()
935 if(conf.loc_feature_mask & in loc_read_process_conf()
970 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
981 __func__, conf.proc_argument); in loc_read_process_conf()
982 if(0 != conf.proc_argument[0]) in loc_read_process_conf()
988 strlcpy(child_proc[j].argumentString, conf.proc_argument, in loc_read_process_conf()