/frameworks/base/tools/split-select/ |
D | Grouper_test.cpp | 32 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 …]
|
D | SplitSelector.cpp | 33 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()
|
D | Main.cpp | 66 …<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 …]
|
D | SplitSelector_test.cpp | 29 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()
|
D | Grouper.cpp | 31 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()
|
D | Grouper.h | 28 groupByMutualExclusivity(const android::Vector<SplitDescription>& splits);
|
D | SplitSelector.h | 32 explicit SplitSelector(const android::Vector<SplitDescription>& splits);
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.h | 52 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
|
D | TableSplitter_test.cpp | 131 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/ |
D | NativeProcessesMemoryTest.java | 150 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/ |
D | MemoryStatUtil.java | 215 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/ |
D | MultiApkGenerator.cpp | 219 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/ |
D | DisplayCutout.java | 660 String[] splits = spec.split(BOTTOM_MARKER, 2); in pathAndDisplayCutoutFromSpec() local 661 spec = splits[0].trim(); in pathAndDisplayCutoutFromSpec() 662 bottomSpec = splits[1].trim(); in pathAndDisplayCutoutFromSpec()
|
/frameworks/base/core/proto/android/service/ |
D | package.proto | 133 repeated SplitProto splits = 8; field
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 178 for (std::unique_ptr<ResourceTable>& split_table : splitter.splits()) { in Run()
|
D | Link.cpp | 1933 for (std::unique_ptr<ResourceTable>& split_table : table_splitter.splits()) { in Run()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 2757 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()
|
D | Resource.cpp | 1797 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/ |
D | Resources.proto | 78 // - IDs > 0x7f are reserved for the application as well and are treated as feature splits.
|