/frameworks/base/tools/aapt2/ |
D | DominatorTree_test.cpp | 76 std::vector<std::unique_ptr<ResourceConfigValue>> configs; in TEST() 77 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 78 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); in TEST() 79 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "")); in TEST() 96 std::vector<std::unique_ptr<ResourceConfigValue>> configs; in TEST() 97 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 98 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); in TEST() 99 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "phablet")); in TEST() 100 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "phablet")); in TEST() 125 std::vector<std::unique_ptr<ResourceConfigValue>> configs; in TEST() [all …]
|
D | ResourceTable.h | 97 class ResourceConfigValue { 108 ResourceConfigValue(const android::ConfigDescription& config, const android::StringPiece& product) in ResourceConfigValue() function 112 DISALLOW_COPY_AND_ASSIGN(ResourceConfigValue); 137 std::vector<std::unique_ptr<ResourceConfigValue>> values; 141 ResourceConfigValue* FindValue(const android::ConfigDescription& config, 143 const ResourceConfigValue* FindValue(const android::ConfigDescription& config, 146 ResourceConfigValue* FindOrCreateValue(const android::ConfigDescription& config, 148 std::vector<ResourceConfigValue*> FindAllValues(const android::ConfigDescription& config); 151 std::vector<ResourceConfigValue*> FindValuesIf(Func f) { in FindValuesIf() 152 std::vector<ResourceConfigValue*> results; in FindValuesIf() [all …]
|
D | DominatorTree.h | 51 const std::vector<std::unique_ptr<ResourceConfigValue>>& configs); 55 explicit Node(ResourceConfigValue* value = nullptr, Node* parent = nullptr) 58 inline ResourceConfigValue* value() const { return value_; } in value() 74 ResourceConfigValue* value_;
|
D | ResourceTable.cpp | 151 ResourceConfigValue* ResourceEntry::FindValue(const ConfigDescription& config, in FindValue() 154 lt_config_key_ref<std::unique_ptr<ResourceConfigValue>>); in FindValue() 156 ResourceConfigValue* value = iter->get(); in FindValue() 164 const ResourceConfigValue* ResourceEntry::FindValue(const android::ConfigDescription& config, in FindValue() 167 lt_config_key_ref<std::unique_ptr<ResourceConfigValue>>); in FindValue() 169 ResourceConfigValue* value = iter->get(); in FindValue() 177 ResourceConfigValue* ResourceEntry::FindOrCreateValue(const ConfigDescription& config, in FindOrCreateValue() 180 lt_config_key_ref<std::unique_ptr<ResourceConfigValue>>); in FindOrCreateValue() 182 ResourceConfigValue* value = iter->get(); in FindOrCreateValue() 187 ResourceConfigValue* newValue = in FindOrCreateValue() [all …]
|
D | DominatorTree.cpp | 29 const std::vector<std::unique_ptr<ResourceConfigValue>>& configs) { in DominatorTree()
|
D | ResourceTable_test.cpp | 168 std::vector<ResourceConfigValue*> values = in TEST()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 37 using ConfigClaimedMap = std::unordered_map<ResourceConfigValue*, bool>; 38 using ConfigDensityGroups = std::map<ConfigDescription, std::vector<ResourceConfigValue*>>; 61 std::vector<ResourceConfigValue*> SelectValues( in SelectValues() 64 std::vector<ResourceConfigValue*> selected; in SelectValues() 69 ResourceConfigValue* config_value = entry.first; in SelectValues() 87 const std::vector<ResourceConfigValue*>& related_values = entry.second; in SelectValues() 96 ResourceConfigValue* best_value = nullptr; in SelectValues() 97 for (ResourceConfigValue* this_value : related_values) { in SelectValues() 130 const std::vector<ResourceConfigValue*>& related_values = entry.second; in MarkNonPreferredDensitiesAsClaimed() 133 std::unordered_set<ResourceConfigValue*> best_values; in MarkNonPreferredDensitiesAsClaimed() [all …]
|
/frameworks/base/tools/aapt2/optimize/ |
D | VersionCollapser.cpp | 89 auto pred = [&](const std::unique_ptr<ResourceConfigValue>& val) -> bool { in CollapseVersions() 113 [](const std::unique_ptr<ResourceConfigValue>& val) in CollapseVersions() 121 for (std::unique_ptr<ResourceConfigValue>& config_value : entry->values) { in CollapseVersions() 125 std::unique_ptr<ResourceConfigValue> new_value = in CollapseVersions() 126 util::make_unique<ResourceConfigValue>( in CollapseVersions() 140 [](const std::unique_ptr<ResourceConfigValue>& a, in CollapseVersions() 141 const std::unique_ptr<ResourceConfigValue>& b) -> bool { in CollapseVersions()
|
D | ResourceDeduper.cpp | 54 ResourceConfigValue* node_value = node->value(); in VisitConfig() 55 ResourceConfigValue* parent_value = parent->value(); in VisitConfig() 67 ResourceConfigValue* sibling_value = sibling->value(); in VisitConfig() 106 [](const std::unique_ptr<ResourceConfigValue>& val) -> bool { in DedupeEntry()
|
/frameworks/base/tools/aapt2/link/ |
D | AutoVersioner_test.cpp | 33 …entry.values.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), … in TEST() 34 entry.values.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); in TEST() 35 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "")); in TEST() 46 …entry.values.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), … in TEST() 47 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dp_v13_config, "")); in TEST() 48 entry.values.push_back(util::make_unique<ResourceConfigValue>(v21_config, "")); in TEST()
|
D | ProductFilter.cpp | 31 ResourceConfigValue* config_value = iter->get(); in SelectProductToKeep() 39 ResourceConfigValue* previously_selected_config_value = in SelectProductToKeep() 59 ResourceConfigValue* previously_default_config_value = in SelectProductToKeep() 90 std::vector<std::unique_ptr<ResourceConfigValue>> new_values; in Consume()
|
D | ResourceExcluder.cpp | 34 ResourceConfigValue* value) { in RemoveIfExcluded() 81 [](const std::unique_ptr<ResourceConfigValue>& val) -> bool { in Consume()
|
D | Linkers.h | 95 class ResourceConfigValue; variable 99 using ResourceConfigValueIter = std::vector<std::unique_ptr<ResourceConfigValue>>::iterator;
|
D | TableMerger.cpp | 201 ResourceConfigValue* dst_config_value, in MergeConfigValue() 202 ResourceConfigValue* src_config_value, in MergeConfigValue() 277 ResourceConfigValue* dst_config_value = dst_entry->FindValue( in DoMerge()
|
D | AutoVersioner.cpp | 84 ResourceConfigValue* config_value = entry->values[i].get(); in Consume()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 316 ResourceConfigValue* original_value, in PseudolocalizeIfNeeded() 335 ResourceConfigValue* new_config_value = in PseudolocalizeIfNeeded() 345 static bool IsPseudolocalizable(ResourceConfigValue* config_value) { in IsPseudolocalizable() 359 std::vector<ResourceConfigValue*> values = entry->FindValuesIf(IsPseudolocalizable); in Consume() 360 for (ResourceConfigValue* value : values) { in Consume()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Diff.cpp | 101 const ResourceConfigValue* config_value_a, LoadedApk* apk_b, in EmitResourceConfigValueDiff() 103 const ResourceTableEntryView& entry_b, const ResourceConfigValue* config_value_b) { in EmitResourceConfigValueDiff() 127 for (const ResourceConfigValue* config_value_a : entry_a.values) { in EmitResourceEntryDiff() 142 for (const ResourceConfigValue* config_value_b : entry_b.values) { in EmitResourceEntryDiff()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.cpp | 53 ResourceConfigValue* config_value = result.value().entry->FindValue(config, product); in GetValueForConfigAndProduct()
|
D | Common.h | 60 ResourceConfigValue* config_value = result.value().entry->FindValue(config, product); in GetValueForConfigAndProduct()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 208 ResourceConfigValue* config_value = sr.entry->FindValue(kDefaultConfig); in FindByName()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 790 ResourceConfigValue* config_value = entry->FindValue({}); in TEST() 872 ResourceConfigValue* config_value = entry->FindValue({}); in TEST()
|
D | ProtoSerialize.cpp | 412 for (const ResourceConfigValue* config_value : entry.values) { in SerializeTableToPb()
|
D | ProtoDeserialize.cpp | 529 ResourceConfigValue* config_value = entry->FindOrCreateValue(config, pb_config.product()); in DeserializePackageFromPb()
|
/frameworks/base/tools/aapt2/dump/ |
D | DumpManifest.cpp | 173 ResourceConfigValue* best_value = nullptr; in BestConfigValue()
|