/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 195 if (options_.rename_manifest_package) { in BuildRules() 196 if (!util::IsJavaPackageName(options_.rename_manifest_package.value())) { in BuildRules() 198 << options_.rename_manifest_package.value() in BuildRules() 204 if (options_.rename_instrumentation_target_package) { in BuildRules() 205 if (!util::IsJavaPackageName(options_.rename_instrumentation_target_package.value())) { in BuildRules() 208 << options_.rename_instrumentation_target_package.value() in BuildRules() 239 if (options_.version_name_default) { in BuildRules() 243 options_.version_name_default.value()}); in BuildRules() 247 if (options_.version_code_default) { in BuildRules() 251 options_.version_code_default.value()}); in BuildRules() [all …]
|
D | ManifestFixer.h | 47 : options_(options) {} in ManifestFixer() 56 ManifestFixerOptions options_; variable
|
D | TableMerger.h | 122 TableMergerOptions options_; variable
|
D | TableMerger.cpp | 33 : context_(context), master_table_(out_table), options_(options) { in TableMerger() 47 return MergeImpl(src, table, collection, true /* overlay */, options_.auto_add_overlay); in MergeOverlay()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 362 ResourceFileFlattenerOptions options_; member in aapt::ResourceFileFlattener 370 : options_(options), context_(context), keep_set_(keep_set) { in ResourceFileFlattener() 422 if (options_.do_not_compress_anything) { in GetCompressionFlags() 426 for (const std::string& extension : options_.extensions_to_not_compress) { in GetCompressionFlags() 468 if (options_.update_proguard_spec && !proguard::CollectProguardRules(src, doc, keep_set_)) { in LinkAndVersionXmlFile() 472 if (options_.no_xml_namespaces) { in LinkAndVersionXmlFile() 479 if (options_.no_auto_version) { in LinkAndVersionXmlFile() 483 if (options_.no_version_vectors || options_.no_version_transitions) { in LinkAndVersionXmlFile() 487 if ((options_.no_version_vectors && IsVectorElement(el->name)) || in LinkAndVersionXmlFile() 488 (options_.no_version_transitions && IsTransitionElement(el->name))) { in LinkAndVersionXmlFile() [all …]
|
D | Optimize.cpp | 120 : options_(options), context_(context) { in OptimizeCommand() 141 options_.split_constraints = in Run() 142 AdjustSplitConstraintsForMinSdk(context_->GetMinSdkVersion(), options_.split_constraints); in Run() 146 TableSplitter splitter(options_.split_constraints, options_.table_splitter_options); in Run() 152 auto path_iter = options_.split_paths.begin(); in Run() 153 auto split_constraints_iter = options_.split_constraints.begin(); in Run() 163 GenerateSplitManifest(options_.app_info, *split_constraints_iter); in Run() 179 CreateZipFileArchiveWriter(context_->GetDiagnostics(), options_.output_path); in Run() 180 if (!apk->WriteToArchive(context_, options_.table_flattener_options, writer.get())) { in Run() 240 TableFlattener table_flattener(options_.table_flattener_options, &table_buffer); in WriteSplitApk() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 190 : context_(context), table_(table), options_(options) {} in JavaClassGenerator() 193 switch (options_.types) { in SkipSymbol() 206 return !symbol || (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic && in SkipSymbol() 244 CHECK(!options_.use_final || attr.id) << "no ID set for Styleable entry"; in ProcessStyleable() 573 if (options_.rewrite_callback_options) { in Generate() 577 options_.rewrite_callback_options.value().packages_to_callback) { in Generate() 593 (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic); in Generate() 614 options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic) { in Generate() 620 AppendJavaDocAnnotations(options_.javadoc_annotations, class_def->GetCommentBuilder()); in Generate() 630 AppendJavaDocAnnotations(options_.javadoc_annotations, r_class.GetCommentBuilder()); in Generate() [all …]
|
D | JavaClassGenerator.h | 113 JavaClassGeneratorOptions options_; variable
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener.h | 43 : options_(options), buffer_(buffer) {} in TableFlattener() 50 TableFlattenerOptions options_; variable
|
D | XmlFlattener.h | 38 : buffer_(buffer), options_(options) {} in XmlFlattener() 48 XmlFlattenerOptions options_; variable
|
D | XmlFlattener.cpp | 76 : buffer_(buffer), options_(options) {} in XmlFlattenerVisitor() 261 if (!options_.keep_raw_values) { in WriteAttributes() 266 if (options_.keep_raw_values || !xml_attr->compiled_value) { in WriteAttributes() 288 XmlFlattenerOptions options_; member in aapt::__anonc0b6a2640111::XmlFlattenerVisitor 299 XmlFlattenerVisitor visitor(&node_buffer, options_); in Flatten()
|
D | TableFlattener.cpp | 595 options_.use_sparse_entries); in Consume()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.h | 53 : split_constraints_(splits), options_(options) { in TableSplitter() 68 TableSplitterOptions options_; variable
|
D | TableSplitter.cpp | 194 if (options_.config_filter) { in SplitTable() 198 if (!options_.config_filter->Match(config_value->config)) { in SplitTable() 273 if (!options_.preferred_densities.empty()) { in SplitTable() 274 MarkNonPreferredDensitiesAsClaimed(options_.preferred_densities, in SplitTable()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.h | 113 ResourceParserOptions options_; variable
|
D | ResourceParser.cpp | 149 options_(options) {} in ResourceParser() 654 bool translatable = options_.translatable; in ParseString() 680 if (options_.error_on_positional_arguments) { in ParseString() 1195 bool translatable = options_.translatable; in ParseArrayImpl()
|