Searched defs:configValue (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp71 ResourceConfigValue* configValue = entry->values[i].get(); local
72 if (configValue->config.sdkVersion >= SDK_LOLLIPOP_MR1) {
78 if (Style* style = valueCast<Style>(configValue->value.get())) {
88 if (sdkLevel > std::max<size_t>(configValue->config.sdkVersion, 1)) {
111 configValue->config,
114 ConfigDescription newConfig(configValue->config);
H A DProductFilter.cpp30 ResourceConfigValue* configValue = iter->get(); local
31 if (mProducts.find(configValue->product) != mProducts.end()) {
34 diag->error(DiagMessage(configValue->value->getSource())
35 << "selection of product '" << configValue->product
49 if (configValue->product.empty() || configValue->product == "default") {
52 diag->error(DiagMessage(configValue->value->getSource())
H A DLink.cpp440 ResourceConfigValue* configValue = entry->values[i].get(); local
442 FileReference* fileRef = valueCast<FileReference>(configValue->value.get());
462 fileDesc.config = configValue->config;
479 configSortedFiles[std::make_pair(configValue->config, entryName)] =
611 for (const auto& configValue : entry->values) {
614 if (valueCast<Id>(configValue->value.get()) &&
617 DiagMessage(configValue->value->getSource())
623 DiagMessage(configValue->value->getSource())
/frameworks/base/tools/aapt2/test/
H A DCommon.h85 ResourceConfigValue* configValue = result.value().entry->findValue(config, product); local
86 if (configValue) {
87 return valueCast<T>(configValue->value.get());
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp125 ResourceConfigValue* configValue = sr.entry->findValue(kDefaultConfig); local
126 if (configValue) {
128 if (Attribute* attr = valueCast<Attribute>(configValue->value.get())) {
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp60 ResourceConfigValue* configValue = entry.first; local
61 if (configValue->config.density == 0 && !entry.second) {
63 if (mDensityIndependentConfigs.find(configValue->config) !=
65 selected.push_back(configValue);
175 for (std::unique_ptr<ResourceConfigValue>& configValue : entry->values) {
176 if (!mConfigFilter->match(configValue->config)) {
179 configValue.reset();
191 for (const std::unique_ptr<ResourceConfigValue>& configValue : entry->values) {
192 if (configValue) {
193 configClaimedMap[configValue
[all...]
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp390 ResourceConfigValue* configValue = entry->findOrCreateValue(config, product); local
391 if (!configValue->value) {
393 configValue->value = std::move(value);
396 int collisionResult = conflictResolver(configValue->value.get(), value.get());
399 configValue->value = std::move(value);
404 diag->error(DiagMessage(configValue->value->getSource())
/frameworks/base/tools/aapt2/proto/
H A DTableProtoDeserializer.cpp136 ResourceConfigValue* configValue = entry->findOrCreateValue(config, local
138 if (configValue->value) {
144 configValue->value = deserializeValueFromPb(pbConfigValue.value(),
146 if (!configValue->value) {

Completed in 1720 milliseconds