/frameworks/base/tools/aapt2/link/ |
AutoVersioner.cpp | 79 ResourceConfigValue* config_value = entry->values[i].get(); local 80 if (config_value->config.sdkVersion >= SDK_LOLLIPOP_MR1) { 87 if (Style* style = ValueCast<Style>(config_value->value.get())) { 98 if (sdk_level > std::max<ApiVersion>(config_value->config.sdkVersion, 1)) { 121 config_value->config, 124 ConfigDescription new_config(config_value->config);
|
ProductFilter.cpp | 30 ResourceConfigValue* config_value = iter->get(); local 31 if (products_.find(config_value->product) != products_.end()) { 34 diag->Error(DiagMessage(config_value->value->GetSource()) 35 << "selection of product '" << config_value->product 51 if (config_value->product.empty() || config_value->product == "default") { 54 diag->Error(DiagMessage(config_value->value->GetSource())
|
/frameworks/base/tools/aapt2/test/ |
Common.cpp | 51 ResourceConfigValue* config_value = result.value().entry->FindValue(config, product); local 52 if (config_value) { 53 return config_value->value.get();
|
Common.h | 60 ResourceConfigValue* config_value = result.value().entry->FindValue(config, product); local 61 if (config_value) { 62 return ValueCast<T>(config_value->value.get());
|
/hardware/qcom/gps/msm8084/utils/ |
loc_cfg.cpp | 84 config_value: value to store in the entry if the parameter names match 95 int loc_set_config_entry(loc_param_s_type* config_entry, loc_param_v_type* config_value) 98 if(NULL == config_entry || NULL == config_value) 104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 110 if (strcmp(config_value->param_str_value, "NULL") == 0) 116 config_value->param_str_value, 130 *((int *)config_entry->param_ptr) = config_value->param_int_value; 133 config_entry->param_name, config_value->param_int_value); 142 *((double *)config_entry->param_ptr) = config_value->param_double_value; 145 config_entry->param_name, config_value->param_double_value) 190 loc_param_v_type config_value; local 386 loc_param_v_type config_value; local [all...] |
/hardware/qcom/gps/msm8909/utils/ |
loc_cfg.cpp | 84 config_value: value to store in the entry if the parameter names match 95 int loc_set_config_entry(const loc_param_s_type* config_entry, loc_param_v_type* config_value) 98 if(NULL == config_entry || NULL == config_value) 104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 110 if (strcmp(config_value->param_str_value, "NULL") == 0) 116 config_value->param_str_value, 130 *((int *)config_entry->param_ptr) = config_value->param_int_value; 133 config_entry->param_name, config_value->param_int_value); 142 *((double *)config_entry->param_ptr) = config_value->param_double_value; 145 config_entry->param_name, config_value->param_double_value) 190 loc_param_v_type config_value; local 385 loc_param_v_type config_value; local [all...] |
/hardware/qcom/gps/msm8960/utils/ |
loc_cfg.cpp | 128 config_value: value to store in the entry if the parameter names match 139 void loc_set_config_entry(loc_param_s_type* config_entry, loc_param_v_type* config_value) 141 if(NULL == config_entry || NULL == config_value) 147 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 153 if (strcmp(config_value->param_str_value, "NULL") == 0) 159 config_value->param_str_value, 171 *((int *)config_entry->param_ptr) = config_value->param_int_value; 173 LOC_LOGD("%s: PARAM %s = %d", __FUNCTION__, config_entry->param_name, config_value->param_int_value); 181 *((double *)config_entry->param_ptr) = config_value->param_double_value; 183 LOC_LOGD("%s: PARAM %s = %f", __FUNCTION__, config_entry->param_name, config_value->param_double_value) 223 loc_param_v_type config_value; local [all...] |
/hardware/qcom/gps/msm8994/utils/ |
loc_cfg.cpp | 84 config_value: value to store in the entry if the parameter names match 95 int loc_set_config_entry(loc_param_s_type* config_entry, loc_param_v_type* config_value) 98 if(NULL == config_entry || NULL == config_value) 104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 110 if (strcmp(config_value->param_str_value, "NULL") == 0) 116 config_value->param_str_value, 130 *((int *)config_entry->param_ptr) = config_value->param_int_value; 133 config_entry->param_name, config_value->param_int_value); 142 *((double *)config_entry->param_ptr) = config_value->param_double_value; 145 config_entry->param_name, config_value->param_double_value) 190 loc_param_v_type config_value; local 385 loc_param_v_type config_value; local [all...] |
/hardware/qcom/gps/msm8996/utils/ |
loc_cfg.cpp | 84 config_value: value to store in the entry if the parameter names match 95 int loc_set_config_entry(const loc_param_s_type* config_entry, loc_param_v_type* config_value) 98 if(NULL == config_entry || NULL == config_value) 104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 110 if (strcmp(config_value->param_str_value, "NULL") == 0) 116 config_value->param_str_value, 130 *((int *)config_entry->param_ptr) = config_value->param_int_value; 133 config_entry->param_name, config_value->param_int_value); 142 *((double *)config_entry->param_ptr) = config_value->param_double_value; 145 config_entry->param_name, config_value->param_double_value) 190 loc_param_v_type config_value; local 385 loc_param_v_type config_value; local [all...] |
/hardware/qcom/gps/msm8998/utils/ |
loc_cfg.cpp | 84 config_value: value to store in the entry if the parameter names match 95 int loc_set_config_entry(const loc_param_s_type* config_entry, loc_param_v_type* config_value) 98 if(NULL == config_entry || NULL == config_value) 104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 110 if (strcmp(config_value->param_str_value, "NULL") == 0) 116 config_value->param_str_value, 130 *((int *)config_entry->param_ptr) = config_value->param_int_value; 133 config_entry->param_name, config_value->param_int_value); 142 *((double *)config_entry->param_ptr) = config_value->param_double_value; 145 config_entry->param_name, config_value->param_double_value) 190 loc_param_v_type config_value; local 385 loc_param_v_type config_value; local [all...] |
/hardware/qcom/gps/sdm845/utils/ |
loc_cfg.cpp | 84 config_value: value to store in the entry if the parameter names match 95 int loc_set_config_entry(const loc_param_s_type* config_entry, loc_param_v_type* config_value) 98 if(NULL == config_entry || NULL == config_value) 104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 110 if (strcmp(config_value->param_str_value, "NULL") == 0) 116 config_value->param_str_value, 130 *((int *)config_entry->param_ptr) = config_value->param_int_value; 133 config_entry->param_name, config_value->param_int_value); 142 *((double *)config_entry->param_ptr) = config_value->param_double_value; 145 config_entry->param_name, config_value->param_double_value) 190 loc_param_v_type config_value; local 385 loc_param_v_type config_value; local [all...] |
/hardware/qcom/gps/utils/ |
loc_cfg.cpp | 84 config_value: value to store in the entry if the parameter names match 95 int loc_set_config_entry(loc_param_s_type* config_entry, loc_param_v_type* config_value) 98 if(NULL == config_entry || NULL == config_value) 104 if (strcmp(config_entry->param_name, config_value->param_name) == 0 && 110 if (strcmp(config_value->param_str_value, "NULL") == 0) 116 config_value->param_str_value, 130 *((int *)config_entry->param_ptr) = config_value->param_int_value; 133 config_entry->param_name, config_value->param_int_value); 142 *((double *)config_entry->param_ptr) = config_value->param_double_value; 145 config_entry->param_name, config_value->param_double_value) 190 loc_param_v_type config_value; local 385 loc_param_v_type config_value; local [all...] |
/frameworks/base/tools/aapt2/process/ |
SymbolTable.cpp | 200 ResourceConfigValue* config_value = sr.entry->FindValue(kDefaultConfig); local 201 if (config_value) { 203 if (Attribute* attr = ValueCast<Attribute>(config_value->value.get())) {
|
/frameworks/base/tools/aapt2/split/ |
TableSplitter.cpp | 68 ResourceConfigValue* config_value = entry.first; local 69 if (config_value->config.density == 0 && !entry.second) { 71 if (density_independent_configs_.find(config_value->config) != 73 selected.push_back(config_value); 196 for (std::unique_ptr<ResourceConfigValue>& config_value : 198 if (!options_.config_filter->Match(config_value->config)) { 201 config_value.reset(); 216 for (const std::unique_ptr<ResourceConfigValue>& config_value : 218 if (config_value) { 219 config_claimed_map[config_value.get()] = false [all...] |
/frameworks/base/tools/aapt2/ |
ResourceTable.cpp | 411 ResourceConfigValue* config_value = entry->FindOrCreateValue(config, product); local 412 if (!config_value->value) { 414 config_value->value = std::move(value); 417 switch (conflictResolver(config_value->value.get(), value.get())) { 420 config_value->value = std::move(value); 427 diag->Error(DiagMessage(config_value->value->GetSource())
|
/frameworks/base/tools/aapt2/proto/ |
TableProtoDeserializer.cpp | 127 for (const pb::ConfigValue& pb_config_value : pb_entry.config_value()) { 136 ResourceConfigValue* config_value = entry->FindOrCreateValue(config, pb_config.product()); local 137 if (config_value->value) { 143 config_value->value = 145 if (!config_value->value) {
|