Home
last modified time | relevance | path

Searched refs:ContextBuilder (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tools/aapt2/test/
DContext.h95 friend class ContextBuilder; variable
107 class ContextBuilder {
109 ContextBuilder& SetPackageType(PackageType type) { in SetPackageType()
114 ContextBuilder& SetCompilationPackage(const android::StringPiece& package) { in SetCompilationPackage()
119 ContextBuilder& SetPackageId(uint8_t id) { in SetPackageId()
124 ContextBuilder& SetNameManglerPolicy(const NameManglerPolicy& policy) { in SetNameManglerPolicy()
129 ContextBuilder& AddSymbolSource(std::unique_ptr<ISymbolSource> src) { in AddSymbolSource()
134 ContextBuilder& SetMinSdkVersion(int min_sdk) { in SetMinSdkVersion()
139 ContextBuilder& SetSplitNameDependencies(const std::set<std::string>& split_name_dependencies) { in SetSplitNameDependencies()
/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp44 test::ContextBuilder() in TEST()
98 test::ContextBuilder() in TEST()
141 test::ContextBuilder() in TEST()
185 test::ContextBuilder() in TEST()
210 test::ContextBuilder() in TEST()
241 test::ContextBuilder() in TEST()
270 test::ContextBuilder() in TEST()
290 test::ContextBuilder() in TEST()
317 test::ContextBuilder() in TEST()
347 test::ContextBuilder() in TEST()
[all …]
DResourceExcluder_test.cpp45 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
63 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
81 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
99 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
126 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
155 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
176 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
198 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DNoDefaultResourceRemover_test.cpp24 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
50 std::unique_ptr<IAaptContext> context = test::ContextBuilder().SetMinSdkVersion(26).Build(); in TEST()
74 std::unique_ptr<IAaptContext> context = test::ContextBuilder().SetMinSdkVersion(3).Build(); in TEST()
90 std::unique_ptr<IAaptContext> context = test::ContextBuilder().SetMinSdkVersion(8).Build(); in TEST()
DProductFilter_test.cpp26 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
64 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
90 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
114 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DPrivateAttributeMover_test.cpp24 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
58 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
80 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DXmlNamespaceRemover_test.cpp62 context_ = test::ContextBuilder().SetCompilationPackage("com.app.test").Build(); in SetUp()
DXmlCompatVersioner_test.cpp50 test::ContextBuilder() in SetUp()
DXmlReferenceLinker_test.cpp29 context_ = test::ContextBuilder() in SetUp()
DAutoVersioner_test.cpp80 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp42 test::ContextBuilder() in TEST()
68 test::ContextBuilder() in TEST()
93 test::ContextBuilder() in TEST()
130 test::ContextBuilder() in TEST()
168 test::ContextBuilder() in TEST()
196 test::ContextBuilder() in TEST()
291 test::ContextBuilder() in TEST()
316 test::ContextBuilder() in TEST()
356 test::ContextBuilder() in TEST()
394 test::ContextBuilder() in TEST()
[all …]
DManifestClassGenerator_test.cpp32 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build();
77 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build();
145 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build();
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper_test.cpp29 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
67 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
90 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
113 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
136 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DResourcePathShortener_test.cpp43 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
81 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
100 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
126 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DResourceFilter_test.cpp29 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
53 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DMultiApkGenerator_test.cpp110 std::unique_ptr<IAaptContext> ctx = test::ContextBuilder().SetMinSdkVersion(19).Build(); in TEST_F()
137 std::unique_ptr<IAaptContext> ctx = test::ContextBuilder().SetMinSdkVersion(1).Build(); in TEST_F()
162 std::unique_ptr<IAaptContext> ctx = test::ContextBuilder().SetMinSdkVersion(1).Build(); in TEST_F()
DVersionCollapser_test.cpp36 test::ContextBuilder().SetMinSdkVersion(7).Build(); in TEST()
79 test::ContextBuilder().SetMinSdkVersion(21).Build(); in TEST()
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector_test.cpp26 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
68 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DIdAssigner_test.cpp33 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
56 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
103 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
116 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
DInlineXmlFormatParser_test.cpp31 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build();
DPseudolocaleGenerator_test.cpp198 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
238 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
260 test::ContextBuilder().SetCompilationPackage("android").Build(); in TEST()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp43 test::ContextBuilder().SetCompilationPackage("com.app.test").SetPackageId(0x7f).Build(); in SetUp()
329 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST_F()
372 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST_F()
394 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST_F()
417 test::ContextBuilder().SetCompilationPackage("lib").SetPackageId(0x00).Build(); in TEST_F()
438 test::ContextBuilder().SetCompilationPackage("lib").SetPackageId(0x00).Build(); in TEST_F()
479 test::ContextBuilder().SetCompilationPackage("app").SetPackageId(0x7f).Build(); in TEST_F()
510 test::ContextBuilder().SetCompilationPackage("app").SetPackageId(0x80).Build(); in TEST_F()
532 test::ContextBuilder().SetCompilationPackage(kPackageName).SetPackageId(0x7f).Build(); in TEST_F()
549 std::unique_ptr<IAaptContext> context = test::ContextBuilder() in TEST_F()
/frameworks/base/tools/aapt2/cmd/
DCompile_test.cpp58 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST_F()
115 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST_F()
145 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST_F()
/frameworks/base/tools/aapt2/format/
DContainer_test.cpp34 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp43 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
311 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()
548 std::unique_ptr<IAaptContext> context = test::ContextBuilder().Build(); in TEST()

12