/frameworks/base/tools/aapt/ |
D | ConfigDescription.h | 26 struct ConfigDescription : public android::ResTable_config { struct 27 ConfigDescription() { in ConfigDescription() function 32 ConfigDescription(const android::ResTable_config&o) { in ConfigDescription() function 37 ConfigDescription(const ConfigDescription&o) { in ConfigDescription() argument 41 ConfigDescription& operator=(const android::ResTable_config& o) { 47 ConfigDescription& operator=(const ConfigDescription& o) { 52 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; } 53 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; } 54 inline bool operator==(const ConfigDescription& o) const { return compare(o) == 0; } 55 inline bool operator!=(const ConfigDescription& o) const { return compare(o) != 0; } [all …]
|
D | ResourceFilter.h | 52 ConfigDescription mDefault; 54 android::Vector<std::pair<ConfigDescription, uint32_t> > mConfigs; 81 StrongResourceFilter(const std::set<ConfigDescription>& configs) in StrongResourceFilter() 87 std::set<ConfigDescription>::const_iterator iter = mConfigs.begin(); in match() 96 inline const std::set<ConfigDescription>& getConfigs() const { in getConfigs() 101 std::set<ConfigDescription> mConfigs;
|
D | ApkBuilder.cpp | 27 mSplits.add(new ApkSplit(std::set<ConfigDescription>(), mDefaultFilter, true)); in ApkBuilder() 30 status_t ApkBuilder::createSplitForConfigs(const std::set<ConfigDescription>& configs) { in createSplitForConfigs() 33 const std::set<ConfigDescription>& splitConfigs = mSplits[i]->getConfigs(); in createSplitForConfigs() 34 std::set<ConfigDescription>::const_iterator iter = configs.begin(); in createSplitForConfigs() 81 ApkSplit::ApkSplit(const std::set<ConfigDescription>& configs, const sp<ResourceFilter>& filter, bo… in ApkSplit() 83 std::set<ConfigDescription>::const_iterator iter = configs.begin(); in ApkSplit()
|
D | ApkBuilder.h | 44 android::status_t createSplitForConfigs(const std::set<ConfigDescription>& configs); 78 const std::set<ConfigDescription>& getConfigs() const { in getConfigs() 111 …ApkSplit(const std::set<ConfigDescription>& configs, const android::sp<ResourceFilter>& filter, bo… 113 std::set<ConfigDescription> mConfigs;
|
D | Symbol.h | 47 inline SymbolDefinition(const Symbol& s, const ConfigDescription& c, const SourcePos& src); 51 ConfigDescription config; 84 SymbolDefinition::SymbolDefinition(const Symbol& s, const ConfigDescription& c, const SourcePos& sr… in SymbolDefinition()
|
D | AaptConfig.h | 37 bool parse(const android::String8& str, ConfigDescription* out = NULL); 45 bool parseCommaSeparatedList(const android::String8& str, std::set<ConfigDescription>* outSet); 52 void applyVersionForCompatibility(ConfigDescription* config);
|
D | ResourceFilter.cpp | 27 std::pair<ConfigDescription, uint32_t>& entry = mConfigs.editItemAt(i); in parse() 69 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i]; in match() 99 ConfigDescription config; in parse()
|
D | AaptConfig.cpp | 34 bool parse(const String8& str, ConfigDescription* out) { in parse() 37 ConfigDescription config; in parse() 225 bool parseCommaSeparatedList(const String8& str, std::set<ConfigDescription>* outSet) { in parseCommaSeparatedList() 229 ConfigDescription config; in parseCommaSeparatedList() 238 void applyVersionForCompatibility(ConfigDescription* config) { in applyVersionForCompatibility() 813 const ConfigDescription nullConfig; in isDensityOnly()
|
D | ResourceTable.h | 237 const ConfigDescription* config = NULL); 368 const String8* configTypeName, const ConfigDescription* config); 416 … const DefaultKeyedVector<ConfigDescription, sp<Entry> >& getEntries() const { return mEntries; } in getEntries() 425 DefaultKeyedVector<ConfigDescription, sp<Entry> > mEntries; 479 SortedVector<ConfigDescription> getUniqueConfigs() const;
|
D | AaptAssets.h | 108 AaptGroupEntry(const ConfigDescription& config) : mParams(config) {} in AaptGroupEntry() 112 inline const ConfigDescription& toParams() const { return mParams; } in toParams() 128 ConfigDescription mParams;
|
D | ResourceTable.cpp | 2214 const ConfigDescription* config) in stringToValue() 2758 const ConfigDescription nullConfig; in flatten() 2842 ConfigDescription config = c->getEntries().keyAt(ei); in flatten() 2855 ConfigDescription* valueConfig = NULL; in flatten() 3025 const SortedVector<ConfigDescription> uniqueConfigs(t->getUniqueConfigs()); in flatten() 3031 const ConfigDescription& config = uniqueConfigs[ci]; in flatten() 3563 const String8* configTypeName, const ConfigDescription* config) in prepareFlatten() 3803 ConfigDescription cdesc; in getEntry() 3876 SortedVector<ConfigDescription> ResourceTable::Type::getUniqueConfigs() const { in getUniqueConfigs() 3877 SortedVector<ConfigDescription> unique; in getUniqueConfigs() [all …]
|
D | Resource.cpp | 1620 const std::set<ConfigDescription>& splitConfigs = split->getConfigs(); in buildResources() 1621 for (std::set<ConfigDescription>::const_iterator iter = splitConfigs.begin(); in buildResources() 1624 const ConfigDescription& config = *iter; in buildResources()
|
D | AaptAssets.cpp | 566 ConfigDescription withoutVersion = file->getGroupEntry().toParams(); in addFile()
|
D | Command.cpp | 2341 std::set<ConfigDescription> configs; in doPackage()
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceFilter_test.cpp | 34 ConfigDescription config; in TEST() 49 ConfigDescription config; in TEST() 59 ConfigDescription config; in TEST() 70 ConfigDescription config; in TEST() 82 ConfigDescription config; in TEST() 93 ConfigDescription config; in TEST() 104 ConfigDescription config; in TEST() 117 ConfigDescription config; in TEST() 130 ConfigDescription config; in TEST() 146 ConfigDescription config; in TEST() [all …]
|
D | AaptConfig_test.cpp | 26 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { in TestParse() 33 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { in TestParse() 52 ConfigDescription config; in TEST() 66 ConfigDescription config; in TEST() 72 ConfigDescription config; in TEST()
|
/frameworks/base/tools/split-select/ |
D | RuleGenerator_test.cpp | 50 EXPECT_LT(263, (int) ConfigDescription::DENSITY_XHIGH); in TEST() 51 EXPECT_GT(262, (int) ConfigDescription::DENSITY_HIGH); in TEST() 52 EXPECT_LT(363, (int) ConfigDescription::DENSITY_XXHIGH); in TEST() 53 EXPECT_GT(362, (int) ConfigDescription::DENSITY_XHIGH); in TEST() 58 const ssize_t highIndex = densities.add(ConfigDescription::DENSITY_HIGH); in TEST() 59 const ssize_t xhighIndex = densities.add(ConfigDescription::DENSITY_XHIGH); in TEST() 60 const ssize_t xxhighIndex = densities.add(ConfigDescription::DENSITY_XXHIGH); in TEST() 81 const ssize_t highIndex = densities.add(ConfigDescription::DENSITY_HIGH); in TEST() 82 const ssize_t xhighIndex = densities.add(ConfigDescription::DENSITY_XHIGH); in TEST() 83 const ssize_t xxhighIndex = densities.add(ConfigDescription::DENSITY_XXHIGH); in TEST() [all …]
|
D | SplitDescription.h | 31 ConfigDescription config;
|
D | Main.cpp | 108 static void removeRuntimeQualifiers(ConfigDescription* outConfig) { in removeRuntimeQualifiers()
|