Lines Matching refs:conf
499 static loc_launcher_conf conf; variable
503 {"SGLTE_TARGET", &conf.sglte_target, NULL, 'n'},
508 {"GTP_MODE", &conf.feature_gtp_mode, NULL, 's'},
509 {"GTP_WAA", &conf.feature_gtp_waa, NULL, 's'},
510 {"SAP", &conf.feature_sap, NULL, 's'},
511 {"ODCPI", &conf.feature_odcpi, NULL, 's'},
512 {"FREE_WIFI_SCAN_INJECT", &conf.feature_free_wifi_scan_inject, NULL, 's'},
513 {"SUPL_WIFI", &conf.feature_supl_wifi, NULL, 's'},
514 {"WIFI_SUPPLICANT_INFO", &conf.feature_wifi_supplicant_info, NULL, 's'},
519 {"PROCESS_NAME", &conf.proc_name, NULL, 's'},
520 {"PROCESS_ARGUMENT", &conf.proc_argument, NULL, 's'},
521 {"PROCESS_STATE", &conf.proc_status, NULL, 's'},
522 {"PROCESS_GROUPS", &conf.group_list, NULL, 's'},
523 {"PREMIUM_FEATURE", &conf.premium_feature, NULL, 'n'},
524 {"IZAT_FEATURE_MASK", &conf.loc_feature_mask, NULL, 'n'},
525 {"PLATFORMS", &conf.platform_list, NULL, 's'},
526 {"BASEBAND", &conf.baseband, NULL, 's'},
527 {"HARDWARE_TYPE", &conf.auto_platform, NULL, 's'},
528 {"VENDOR_ENHANCED_PROCESS", &conf.vendor_enhanced_process, NULL, 'n'},
604 if(strcmp(conf.feature_gtp_mode, "DISABLED") == 0) { in loc_read_process_conf()
607 else if(strcmp(conf.feature_gtp_mode, "LEGACY_WWAN") == 0) { in loc_read_process_conf()
611 else if(strcmp(conf.feature_gtp_mode, "SDK") == 0) { in loc_read_process_conf()
621 if(strcmp(conf.feature_gtp_waa, "BASIC") == 0) { in loc_read_process_conf()
625 else if(strcmp(conf.feature_gtp_waa, "DISABLED") == 0) { in loc_read_process_conf()
635 if(strcmp(conf.feature_sap, "PREMIUM") == 0) { in loc_read_process_conf()
639 else if(strcmp(conf.feature_sap, "BASIC") == 0) { in loc_read_process_conf()
643 else if(strcmp(conf.feature_sap, "MODEM_DEFAULT") == 0) { in loc_read_process_conf()
646 else if(strcmp(conf.feature_sap, "DISABLED") == 0) { in loc_read_process_conf()
656 if(strcmp(conf.feature_odcpi, "BASIC") == 0) { in loc_read_process_conf()
660 else if(strcmp(conf.feature_odcpi, "DISABLED") == 0) { in loc_read_process_conf()
663 else if(strcmp(conf.feature_odcpi, "PREMIUM") == 0) { in loc_read_process_conf()
670 if(strcmp(conf.feature_free_wifi_scan_inject, "BASIC") == 0) { in loc_read_process_conf()
674 else if(strcmp(conf.feature_free_wifi_scan_inject, "DISABLED") == 0) { in loc_read_process_conf()
677 else if(strcmp(conf.feature_free_wifi_scan_inject, "PREMIUM") == 0) { in loc_read_process_conf()
684 if(strcmp(conf.feature_supl_wifi, "BASIC") == 0) { in loc_read_process_conf()
688 else if(strcmp(conf.feature_supl_wifi, "DISABLED") == 0) { in loc_read_process_conf()
691 else if(strcmp(conf.feature_supl_wifi, "PREMIUM") == 0) { in loc_read_process_conf()
698 if(strcmp(conf.feature_wifi_supplicant_info, "BASIC") == 0) { in loc_read_process_conf()
702 else if(strcmp(conf.feature_wifi_supplicant_info, "DISABLED") == 0) { in loc_read_process_conf()
705 else if(strcmp(conf.feature_wifi_supplicant_info, "PREMIUM") == 0) { in loc_read_process_conf()
723 conf.proc_name[0] = 0; in loc_read_process_conf()
735 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
738 LOC_LOGD("Process name:%s", conf.proc_name); in loc_read_process_conf()
766 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
767 group_list_length=(int)strlen(conf.group_list); in loc_read_process_conf()
768 platform_length = (int)strlen(conf.platform_list); in loc_read_process_conf()
769 baseband_length = (int)strlen(conf.baseband); in loc_read_process_conf()
770 status_length = (int)strlen(conf.proc_status); in loc_read_process_conf()
771 auto_platform_length = (int)strlen(conf.auto_platform); in loc_read_process_conf()
780 if (!isVendorEnhanced() && (conf.vendor_enhanced_process != 0)) { in loc_read_process_conf()
782 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
787 if(strcmp(conf.proc_status, "DISABLED") == 0) { in loc_read_process_conf()
789 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
793 else if(strcmp(conf.proc_status, "ENABLED") == 0) { in loc_read_process_conf()
795 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
804 strlcpy(child_proc[j].name[0], conf.proc_name, sizeof (child_proc[j].name[0])); in loc_read_process_conf()
807 ngroups = loc_util_split_string(conf.group_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
817 nstrings = loc_util_split_string(conf.platform_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
845 nstrings = loc_util_split_string(conf.baseband, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
873 else if((strcmp("sglte", split_strings[i]) == 0 ) && conf.sglte_target) { in loc_read_process_conf()
881 nstrings = loc_util_split_string(conf.auto_platform, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
913 if(conf.premium_feature) { in loc_read_process_conf()
914 if(conf.loc_feature_mask & loc_service_mask) { in loc_read_process_conf()
916 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
919 if(conf.loc_feature_mask & in loc_read_process_conf()
941 if(conf.loc_feature_mask & in loc_read_process_conf()
956 if(conf.loc_feature_mask & in loc_read_process_conf()
979 if(conf.loc_feature_mask & LOC_FEATURE_MASK_GTP_WAA_BASIC) { in loc_read_process_conf()
1007 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
1018 __func__, conf.proc_argument); in loc_read_process_conf()
1019 if(0 != conf.proc_argument[0]) in loc_read_process_conf()
1025 strlcpy(child_proc[j].argumentString, conf.proc_argument, in loc_read_process_conf()