Lines Matching refs:conf

508 static loc_launcher_conf conf;  variable
512 {"SGLTE_TARGET", &conf.sglte_target, NULL, 'n'},
517 {"GTP_MODE", &conf.feature_gtp_mode, NULL, 's'},
518 {"GTP_WAA", &conf.feature_gtp_waa, NULL, 's'},
519 {"SAP", &conf.feature_sap, NULL, 's'},
520 {"ODCPI", &conf.feature_odcpi, NULL, 's'},
521 {"FREE_WIFI_SCAN_INJECT", &conf.feature_free_wifi_scan_inject, NULL, 's'},
522 {"SUPL_WIFI", &conf.feature_supl_wifi, NULL, 's'},
523 {"WIFI_SUPPLICANT_INFO", &conf.feature_wifi_supplicant_info, NULL, 's'},
528 {"PROCESS_NAME", &conf.proc_name, NULL, 's'},
529 {"PROCESS_ARGUMENT", &conf.proc_argument, NULL, 's'},
530 {"PROCESS_STATE", &conf.proc_status, NULL, 's'},
531 {"PROCESS_GROUPS", &conf.group_list, NULL, 's'},
532 {"PREMIUM_FEATURE", &conf.premium_feature, NULL, 'n'},
533 {"IZAT_FEATURE_MASK", &conf.loc_feature_mask, NULL, 'n'},
534 {"PLATFORMS", &conf.platform_list, NULL, 's'},
535 {"SOC_IDS", &conf.soc_id_list, NULL, 's'},
536 {"BASEBAND", &conf.baseband, NULL, 's'},
537 {"LOW_RAM_TARGETS", &conf.low_ram_targets, NULL, 's'},
538 {"HARDWARE_TYPE", &conf.auto_platform, NULL, 's'},
539 {"VENDOR_ENHANCED_PROCESS", &conf.vendor_enhanced_process, NULL, 'n'},
620 if(strcmp(conf.feature_gtp_mode, "DISABLED") == 0) { in loc_read_process_conf()
623 else if(strcmp(conf.feature_gtp_mode, "LEGACY_WWAN") == 0) { in loc_read_process_conf()
627 else if(strcmp(conf.feature_gtp_mode, "SDK") == 0) { in loc_read_process_conf()
637 if(strcmp(conf.feature_gtp_waa, "BASIC") == 0) { in loc_read_process_conf()
641 else if(strcmp(conf.feature_gtp_waa, "DISABLED") == 0) { in loc_read_process_conf()
651 if(strcmp(conf.feature_sap, "PREMIUM") == 0) { in loc_read_process_conf()
655 else if(strcmp(conf.feature_sap, "BASIC") == 0) { in loc_read_process_conf()
659 else if(strcmp(conf.feature_sap, "MODEM_DEFAULT") == 0) { in loc_read_process_conf()
662 else if(strcmp(conf.feature_sap, "DISABLED") == 0) { in loc_read_process_conf()
672 if(strcmp(conf.feature_odcpi, "BASIC") == 0) { in loc_read_process_conf()
676 else if(strcmp(conf.feature_odcpi, "DISABLED") == 0) { in loc_read_process_conf()
679 else if(strcmp(conf.feature_odcpi, "PREMIUM") == 0) { in loc_read_process_conf()
686 if(strcmp(conf.feature_free_wifi_scan_inject, "BASIC") == 0) { in loc_read_process_conf()
690 else if(strcmp(conf.feature_free_wifi_scan_inject, "DISABLED") == 0) { in loc_read_process_conf()
693 else if(strcmp(conf.feature_free_wifi_scan_inject, "PREMIUM") == 0) { in loc_read_process_conf()
700 if(strcmp(conf.feature_supl_wifi, "BASIC") == 0) { in loc_read_process_conf()
704 else if(strcmp(conf.feature_supl_wifi, "DISABLED") == 0) { in loc_read_process_conf()
707 else if(strcmp(conf.feature_supl_wifi, "PREMIUM") == 0) { in loc_read_process_conf()
714 if(strcmp(conf.feature_wifi_supplicant_info, "BASIC") == 0) { in loc_read_process_conf()
718 else if(strcmp(conf.feature_wifi_supplicant_info, "DISABLED") == 0) { in loc_read_process_conf()
721 else if(strcmp(conf.feature_wifi_supplicant_info, "PREMIUM") == 0) { in loc_read_process_conf()
739 conf.proc_name[0] = 0; in loc_read_process_conf()
751 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
754 LOC_LOGD("Process name:%s", conf.proc_name); in loc_read_process_conf()
782 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
783 group_list_length=(int)strlen(conf.group_list); in loc_read_process_conf()
784 platform_length = (int)strlen(conf.platform_list); in loc_read_process_conf()
785 baseband_length = (int)strlen(conf.baseband); in loc_read_process_conf()
786 status_length = (int)strlen(conf.proc_status); in loc_read_process_conf()
787 auto_platform_length = (int)strlen(conf.auto_platform); in loc_read_process_conf()
788 soc_id_list_length = (int)strlen(conf.soc_id_list); in loc_read_process_conf()
797 if (!isVendorEnhanced() && (conf.vendor_enhanced_process != 0)) { in loc_read_process_conf()
799 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
804 if(strcmp(conf.proc_status, "DISABLED") == 0) { in loc_read_process_conf()
806 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
810 else if(strcmp(conf.proc_status, "ENABLED") == 0) { in loc_read_process_conf()
812 __func__, __LINE__, conf.proc_name); 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()
824 ngroups = loc_util_split_string(conf.group_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
834 nstrings = loc_util_split_string(conf.platform_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
863 nstrings = loc_util_split_string(conf.soc_id_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
890 nstrings = loc_util_split_string(conf.baseband, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
918 else if((strcmp("sglte", split_strings[i]) == 0 ) && conf.sglte_target) { in loc_read_process_conf()
926 nstrings = loc_util_split_string(conf.auto_platform, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
942 nstrings = loc_util_split_string(conf.low_ram_targets, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
966 if(conf.premium_feature) { in loc_read_process_conf()
967 if(conf.loc_feature_mask & loc_service_mask) { in loc_read_process_conf()
969 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
972 if(conf.loc_feature_mask & in loc_read_process_conf()
994 if(conf.loc_feature_mask & in loc_read_process_conf()
1009 if(conf.loc_feature_mask & in loc_read_process_conf()
1032 if(conf.loc_feature_mask & LOC_FEATURE_MASK_GTP_WAA_BASIC) { in loc_read_process_conf()
1060 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
1071 __func__, conf.proc_argument); in loc_read_process_conf()
1072 if(0 != conf.proc_argument[0]) in loc_read_process_conf()
1078 strlcpy(child_proc[j].argumentString, conf.proc_argument, in loc_read_process_conf()