Home
last modified time | relevance | path

Searched refs:splits (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tools/split-select/
DGrouper_test.cpp32 Vector<SplitDescription> splits; in SetUp() local
33 addSplit(splits, "en-rUS-sw600dp-hdpi"); in SetUp()
34 addSplit(splits, "fr-rFR-sw600dp-hdpi"); in SetUp()
35 addSplit(splits, "fr-rFR-sw600dp-xhdpi"); in SetUp()
36 addSplit(splits, ":armeabi"); in SetUp()
37 addSplit(splits, "en-rUS-sw300dp-xhdpi"); in SetUp()
38 addSplit(splits, "large"); in SetUp()
39 addSplit(splits, "pl-rPL"); in SetUp()
40 addSplit(splits, "fr-rCA"); in SetUp()
41 addSplit(splits, "fr"); in SetUp()
[all …]
DSplitSelector.cpp33 SplitSelector::SplitSelector(const Vector<SplitDescription>& splits) in SplitSelector() argument
34 : mGroups(groupByMutualExclusivity(splits)) { in SplitSelector()
37 static void selectBestFromGroup(const SortedVector<SplitDescription>& splits, in selectBestFromGroup() argument
41 const size_t splitCount = splits.size(); in selectBestFromGroup()
43 const SplitDescription& thisSplit = splits[j]; in selectBestFromGroup()
73 const SortedVector<SplitDescription>& splits = mGroups[i]; in getRules() local
74 const size_t splitCount = splits.size(); in getRules()
76 sp<Rule> rule = Rule::simplify(RuleGenerator::generate(splits, j)); in getRules()
78 rules.add(splits[j], rule); in getRules()
DMain.cpp66 …<SplitDescription> select(const SplitDescription& target, const Vector<SplitDescription>& splits) { in select() argument
67 const SplitSelector selector(splits); in select()
71 void generate(const KeyedVector<String8, Vector<SplitDescription> >& splits, const String8& base) { in generate() argument
73 const size_t apkSplitCount = splits.size(); in generate()
75 allSplits.appendVector(splits[i]); in generate()
83 if (splits.keyAt(i) == base) { in generate()
95 const Vector<SplitDescription>& splitDescriptions = splits[i]; in generate()
102 splits.keyAt(i).string(), in generate()
207 Vector<SplitDescription> splits; in extractSplitDescriptionsFromApk() local
210 return splits; in extractSplitDescriptionsFromApk()
[all …]
DSplitSelector_test.cpp29 static ::testing::AssertionResult addSplit(Vector<SplitDescription>& splits, const char* str) { in addSplit() argument
34 splits.add(split); in addSplit()
39 Vector<SplitDescription> splits; in TEST() local
40 ASSERT_TRUE(addSplit(splits, "hdpi")); in TEST()
41 ASSERT_TRUE(addSplit(splits, "xhdpi")); in TEST()
42 ASSERT_TRUE(addSplit(splits, "xxhdpi")); in TEST()
43 ASSERT_TRUE(addSplit(splits, "mdpi")); in TEST()
48 SplitSelector selector(splits); in TEST()
DGrouper.cpp31 groupByMutualExclusivity(const Vector<SplitDescription>& splits) { in groupByMutualExclusivity() argument
37 const size_t splitCount = splits.size(); in groupByMutualExclusivity()
39 const SplitDescription& split = splits[i]; in groupByMutualExclusivity()
DGrouper.h28 groupByMutualExclusivity(const android::Vector<SplitDescription>& splits);
DSplitSelector.h32 explicit SplitSelector(const android::Vector<SplitDescription>& splits);
/frameworks/base/tools/aapt2/split/
DTableSplitter.h52 TableSplitter(const std::vector<SplitConstraints>& splits, in TableSplitter() argument
54 : split_constraints_(splits), options_(options) { in TableSplitter()
64 std::vector<std::unique_ptr<ResourceTable>>& splits() { return splits_; } in splits() function
DTableSplitter_test.cpp131 ASSERT_EQ(3u, splitter.splits().size()); in TEST()
133 ResourceTable* split_one = splitter.splits()[0].get(); in TEST()
134 ResourceTable* split_two = splitter.splits()[1].get(); in TEST()
135 ResourceTable* split_three = splitter.splits()[2].get(); in TEST()
215 ASSERT_EQ(2u, splitter.splits().size()); in TEST()
217 ResourceTable* split_one = splitter.splits()[0].get(); in TEST()
218 ResourceTable* split_two = splitter.splits()[1].get(); in TEST()
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/
DNativeProcessesMemoryTest.java150 String[] splits = line.split(SEPARATOR); in collectNativeProcesses() local
152 if (splits.length < 4 || !splits[0].equals("proc") || !splits[1].equals("native")) { in collectNativeProcesses()
156 String processName = splits[2]; in collectNativeProcesses()
157 String pid = splits[3]; in collectNativeProcesses()
/frameworks/base/services/core/java/com/android/server/am/
DMemoryStatUtil.java215 final String[] splits = procStatContents.split(" "); in parseMemoryStatFromProcfs() local
216 if (splits.length < 24) { in parseMemoryStatFromProcfs()
222 memoryStat.pgfault = Long.parseLong(splits[PGFAULT_INDEX]); in parseMemoryStatFromProcfs()
223 memoryStat.pgmajfault = Long.parseLong(splits[PGMAJFAULT_INDEX]); in parseMemoryStatFromProcfs()
230 memoryStat.startTimeNanos = Long.parseLong(splits[START_TIME_INDEX]) * JIFFY_NANOS; in parseMemoryStatFromProcfs()
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp219 TableSplitterOptions splits; in FilterTable() local
230 splits.preferred_densities.push_back(density_config.density); in FilterTable()
238 splits.config_filter = &axis_filter; in FilterTable()
253 TableSplitter splitter{{}, splits}; in FilterTable()
/frameworks/base/core/java/android/view/
DDisplayCutout.java655 String[] splits = spec.split(BOTTOM_MARKER, 2); in pathAndDisplayCutoutFromSpec() local
656 spec = splits[0].trim(); in pathAndDisplayCutoutFromSpec()
657 bottomSpec = splits[1].trim(); in pathAndDisplayCutoutFromSpec()
/frameworks/base/core/proto/android/service/
Dpackage.proto133 repeated SplitProto splits = 8; field
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp178 for (std::unique_ptr<ResourceTable>& split_table : splitter.splits()) { in Run()
DLink.cpp1921 for (std::unique_ptr<ResourceTable>& split_table : table_splitter.splits()) { in Run()
/frameworks/base/tools/aapt/
DCommand.cpp2757 const Vector<sp<ApkSplit> >& splits = builder->getSplits(); in doPackage() local
2758 const size_t numSplits = splits.size(); in doPackage()
2760 const sp<ApkSplit>& split = splits[i]; in doPackage()
DResource.cpp1797 Vector<sp<ApkSplit> >& splits = builder->getSplits(); in buildResources() local
1798 const size_t numSplits = splits.size(); in buildResources()
1800 sp<ApkSplit>& split = splits.editItemAt(i); in buildResources()
/frameworks/base/tools/aapt2/
DResources.proto78 // - IDs > 0x7f are reserved for the application as well and are treated as feature splits.