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

/frameworks/base/tools/split-select/
H A DGrouper.cpp31 groupByMutualExclusivity(const Vector<SplitDescription>& splits) { argument
34 // Find mutually exclusive splits and group them.
37 const size_t splitCount = splits.size();
39 const SplitDescription& split = splits[i];
H A DSplitSelector_test.cpp29 static ::testing::AssertionResult addSplit(Vector<SplitDescription>& splits, const char* str) { argument
34 splits.add(split);
39 Vector<SplitDescription> splits; local
40 ASSERT_TRUE(addSplit(splits, "hdpi"));
41 ASSERT_TRUE(addSplit(splits, "xhdpi"));
42 ASSERT_TRUE(addSplit(splits, "xxhdpi"));
43 ASSERT_TRUE(addSplit(splits, "mdpi"));
48 SplitSelector selector(splits);
H A DGrouper_test.cpp32 Vector<SplitDescription> splits; local
33 addSplit(splits, "en-rUS-sw600dp-hdpi");
34 addSplit(splits, "fr-rFR-sw600dp-hdpi");
35 addSplit(splits, "fr-rFR-sw600dp-xhdpi");
36 addSplit(splits, ":armeabi");
37 addSplit(splits, "en-rUS-sw300dp-xhdpi");
38 addSplit(splits, "large");
39 addSplit(splits, "pl-rPL");
40 addSplit(splits, "fr-rCA");
41 addSplit(splits, "f
134 Vector<SplitDescription> splits; local
185 addSplit(Vector<SplitDescription>& splits, const char* str) argument
[all...]
H A DSplitSelector.cpp33 SplitSelector::SplitSelector(const Vector<SplitDescription>& splits) argument
34 : mGroups(groupByMutualExclusivity(splits)) {
37 static void selectBestFromGroup(const SortedVector<SplitDescription>& splits, argument
41 const size_t splitCount = splits.size();
43 const SplitDescription& thisSplit = splits[j];
73 const SortedVector<SplitDescription>& splits = mGroups[i]; local
74 const size_t splitCount = splits.size();
76 sp<Rule> rule = Rule::simplify(RuleGenerator::generate(splits, j));
78 rules.add(splits[j], rule);
H A DMain.cpp66 Vector<SplitDescription> select(const SplitDescription& target, const Vector<SplitDescription>& splits) { argument
67 const SplitSelector selector(splits);
71 void generate(const KeyedVector<String8, Vector<SplitDescription> >& splits, const String8& base) { argument
73 const size_t apkSplitCount = splits.size();
75 allSplits.appendVector(splits[i]);
83 if (splits.keyAt(i) == base) {
95 const Vector<SplitDescription>& splitDescriptions = splits[i];
102 splits.keyAt(i).string(),
207 Vector<SplitDescription> splits; local
210 return splits;
337 Vector<SplitDescription> splits = extractSplitDescriptionsFromApk(splitApkPaths[i]); local
[all...]
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.h50 TableSplitter(const std::vector<SplitConstraints>& splits, argument
52 mSplitConstraints(splits), mPreferredDensity(options.preferredDensity),
/frameworks/base/tools/aapt/
H A DCommand.cpp2649 const Vector<sp<ApkSplit> >& splits = builder->getSplits(); local
2650 const size_t numSplits = splits.size();
2652 const sp<ApkSplit>& split = splits[i];
H A DResource.cpp1127 // Add the 'hasCode' attribute which is never true for resource splits.
1629 // splits.
1633 Vector<sp<ApkSplit> >& splits = builder->getSplits(); local
1634 const size_t numSplits = splits.size();
1636 sp<ApkSplit>& split = splits.editItemAt(i);

Completed in 171 milliseconds