Lines Matching refs:conf

517 static loc_launcher_conf conf;  variable
521 {"SGLTE_TARGET", &conf.sglte_target, NULL, 'n'},
526 {"GTP_MODE", &conf.feature_gtp_mode, NULL, 's'},
527 {"GTP_WAA", &conf.feature_gtp_waa, NULL, 's'},
528 {"SAP", &conf.feature_sap, NULL, 's'},
529 {"ODCPI", &conf.feature_odcpi, NULL, 's'},
530 {"FREE_WIFI_SCAN_INJECT", &conf.feature_free_wifi_scan_inject, NULL, 's'},
531 {"SUPL_WIFI", &conf.feature_supl_wifi, NULL, 's'},
532 {"WIFI_SUPPLICANT_INFO", &conf.feature_wifi_supplicant_info, NULL, 's'},
537 {"PROCESS_NAME", &conf.proc_name, NULL, 's'},
538 {"PROCESS_ARGUMENT", &conf.proc_argument, NULL, 's'},
539 {"PROCESS_STATE", &conf.proc_status, NULL, 's'},
540 {"PROCESS_GROUPS", &conf.group_list, NULL, 's'},
541 {"PREMIUM_FEATURE", &conf.premium_feature, NULL, 'n'},
542 {"IZAT_FEATURE_MASK", &conf.loc_feature_mask, NULL, 'n'},
543 {"PLATFORMS", &conf.platform_list, NULL, 's'},
544 {"SOC_IDS", &conf.soc_id_list, NULL, 's'},
545 {"BASEBAND", &conf.baseband, NULL, 's'},
546 {"LOW_RAM_TARGETS", &conf.low_ram_targets, NULL, 's'},
547 {"HARDWARE_TYPE", &conf.auto_platform, NULL, 's'},
548 {"VENDOR_ENHANCED_PROCESS", &conf.vendor_enhanced_process, NULL, 'n'},
629 if (strcmp(conf.feature_gtp_mode, "DISABLED") == 0) { in loc_read_process_conf()
632 else if (strcmp(conf.feature_gtp_mode, "LEGACY_WWAN") == 0) { in loc_read_process_conf()
636 else if (strcmp(conf.feature_gtp_mode, "SDK") == 0) { in loc_read_process_conf()
640 else if (strcmp(conf.feature_gtp_mode, "SDK_WIFI") == 0) { in loc_read_process_conf()
650 if (strcmp(conf.feature_gtp_waa, "BASIC") == 0) { in loc_read_process_conf()
654 else if (strcmp(conf.feature_gtp_waa, "DISABLED") == 0) { in loc_read_process_conf()
664 if(strcmp(conf.feature_sap, "PREMIUM") == 0 || in loc_read_process_conf()
665 strcmp(conf.feature_sap, "PREMIUM_ENV_AIDING") == 0) { in loc_read_process_conf()
669 else if (strcmp(conf.feature_sap, "BASIC") == 0) { in loc_read_process_conf()
673 else if (strcmp(conf.feature_sap, "MODEM_DEFAULT") == 0) { in loc_read_process_conf()
677 else if (strcmp(conf.feature_sap, "DISABLED") == 0) { in loc_read_process_conf()
692 if (strcmp(conf.feature_odcpi, "BASIC") == 0) { in loc_read_process_conf()
696 else if (strcmp(conf.feature_odcpi, "DISABLED") == 0) { in loc_read_process_conf()
699 else if (strcmp(conf.feature_odcpi, "PREMIUM") == 0) { in loc_read_process_conf()
706 if (strcmp(conf.feature_free_wifi_scan_inject, "BASIC") == 0) { in loc_read_process_conf()
710 else if (strcmp(conf.feature_free_wifi_scan_inject, "DISABLED") == 0) { in loc_read_process_conf()
713 else if (strcmp(conf.feature_free_wifi_scan_inject, "PREMIUM") == 0) { in loc_read_process_conf()
720 if (strcmp(conf.feature_supl_wifi, "BASIC") == 0) { in loc_read_process_conf()
724 else if (strcmp(conf.feature_supl_wifi, "DISABLED") == 0) { in loc_read_process_conf()
727 else if (strcmp(conf.feature_supl_wifi, "PREMIUM") == 0) { in loc_read_process_conf()
734 if (strcmp(conf.feature_wifi_supplicant_info, "BASIC") == 0) { in loc_read_process_conf()
738 else if (strcmp(conf.feature_wifi_supplicant_info, "DISABLED") == 0) { in loc_read_process_conf()
741 else if (strcmp(conf.feature_wifi_supplicant_info, "PREMIUM") == 0) { in loc_read_process_conf()
759 conf.proc_name[0] = 0; in loc_read_process_conf()
771 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
774 LOC_LOGD("Process name:%s", conf.proc_name); in loc_read_process_conf()
802 name_length=(int)strlen(conf.proc_name); in loc_read_process_conf()
803 group_list_length=(int)strlen(conf.group_list); in loc_read_process_conf()
804 platform_length = (int)strlen(conf.platform_list); in loc_read_process_conf()
805 baseband_length = (int)strlen(conf.baseband); in loc_read_process_conf()
806 status_length = (int)strlen(conf.proc_status); in loc_read_process_conf()
807 auto_platform_length = (int)strlen(conf.auto_platform); in loc_read_process_conf()
808 soc_id_list_length = (int)strlen(conf.soc_id_list); in loc_read_process_conf()
817 if (!isVendorEnhanced() && (conf.vendor_enhanced_process != 0)) { in loc_read_process_conf()
819 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
824 if (strcmp(conf.proc_status, "DISABLED") == 0) { in loc_read_process_conf()
826 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
830 else if (strcmp(conf.proc_status, "ENABLED") == 0) { in loc_read_process_conf()
832 __func__, __LINE__, conf.proc_name); in loc_read_process_conf()
841 strlcpy(child_proc[j].name[0], conf.proc_name, sizeof (child_proc[j].name[0])); in loc_read_process_conf()
844 ngroups = loc_util_split_string(conf.group_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
854 nstrings = loc_util_split_string(conf.platform_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
883 nstrings = loc_util_split_string(conf.soc_id_list, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
910 nstrings = loc_util_split_string(conf.baseband, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
938 else if((strcmp("sglte", split_strings[i]) == 0 ) && conf.sglte_target) { in loc_read_process_conf()
946 nstrings = loc_util_split_string(conf.auto_platform, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
962 nstrings = loc_util_split_string(conf.low_ram_targets, split_strings, MAX_NUM_STRINGS, ' '); in loc_read_process_conf()
986 if(conf.premium_feature) { in loc_read_process_conf()
987 if(conf.loc_feature_mask & loc_service_mask) { in loc_read_process_conf()
989 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
992 if(conf.loc_feature_mask & in loc_read_process_conf()
1014 if(conf.loc_feature_mask & in loc_read_process_conf()
1029 if(conf.loc_feature_mask & in loc_read_process_conf()
1052 if(conf.loc_feature_mask & LOC_FEATURE_MASK_GTP_WAA_BASIC) { in loc_read_process_conf()
1080 __func__, __LINE__, child_proc[j].name[0], conf.loc_feature_mask); in loc_read_process_conf()
1091 __func__, conf.proc_argument); in loc_read_process_conf()
1092 if(0 != conf.proc_argument[0]) in loc_read_process_conf()
1098 strlcpy(child_proc[j].argumentString, conf.proc_argument, in loc_read_process_conf()