Home
last modified time | relevance | path

Searched refs:options_ (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/tools/aapt2/cmd/
DLink.h111 AddRequiredFlag("-o", "Output path.", &options_.output_path, Command::kPath); in LinkCommand()
113 &options_.manifest_path, Command::kPath); in LinkCommand()
114 AddOptionalFlagList("-I", "Adds an Android APK to link against.", &options_.include_paths, in LinkCommand()
117 &options_.assets_dirs, Command::kPath); in LinkCommand()
125 &options_.generate_java_class_path, Command::kPath); in LinkCommand()
127 &options_.generate_proguard_rules_path, Command::kPath); in LinkCommand()
130 &options_.generate_main_dex_proguard_rules_path, Command::kPath); in LinkCommand()
133 &options_.generate_conditional_proguard_rules); in LinkCommand()
136 &options_.generate_minimal_proguard_rules); in LinkCommand()
138 &options_.no_auto_version); in LinkCommand()
[all …]
DOptimize.cpp122 : options_(options), context_(context) { in Optimizer()
129 if (!options_.resources_blacklist.empty()) { in Run()
130 ResourceFilter filter(options_.resources_blacklist); in Run()
148 if (options_.shorten_resource_paths) { in Run()
149 ResourcePathShortener shortener(options_.table_flattener_options.shortened_path_map); in Run()
154 if (options_.shortened_paths_map_path in Run()
155 && !WriteShortenedPathsMap(options_.table_flattener_options.shortened_path_map, in Run()
156 options_.shortened_paths_map_path.value())) { in Run()
165 options_.split_constraints = in Run()
166 AdjustSplitConstraintsForMinSdk(context_->GetMinSdkVersion(), options_.split_constraints); in Run()
[all …]
DCompile.h47 AddRequiredFlag("-o", "Output path", &options_.output_path, Command::kPath); in CompileCommand()
48 AddOptionalFlag("--dir", "Directory to scan for resources", &options_.res_dir, Command::kPath); in CompileCommand()
50 &options_.res_zip, Command::kPath); in CompileCommand()
53 "specified file", &options_.generate_text_symbols_path, Command::kPath); in CompileCommand()
55 "(en-XA and ar-XB)", &options_.pseudolocalize); in CompileCommand()
56 AddOptionalSwitch("--no-crunch", "Disables PNG processing", &options_.no_png_crunch); in CompileCommand()
58 &options_.legacy_mode); in CompileCommand()
62 AddOptionalSwitch("-v", "Enables verbose logging", &options_.verbose); in CompileCommand()
71 CompileOptions options_; variable
DLink.cpp329 ResourceFileFlattenerOptions options_; member in aapt::ResourceFileFlattener
337 : options_(options), context_(context), keep_set_(keep_set) { in ResourceFileFlattener()
387 if (options_.do_not_compress_anything) { in GetCompressionFlags()
391 if (options_.regex_to_not_compress in GetCompressionFlags()
392 && std::regex_search(str.to_string(), options_.regex_to_not_compress.value())) { in GetCompressionFlags()
396 for (const std::string& extension : options_.extensions_to_not_compress) { in GetCompressionFlags()
445 if (options_.update_proguard_spec && !proguard::CollectProguardRules(context_, doc, keep_set_)) { in LinkAndVersionXmlFile()
449 if (options_.no_xml_namespaces) { in LinkAndVersionXmlFile()
456 if (options_.no_auto_version) { in LinkAndVersionXmlFile()
460 if (options_.no_version_vectors || options_.no_version_transitions) { in LinkAndVersionXmlFile()
[all …]
DOptimize.h70 AddOptionalFlag("-o", "Path to the output APK.", &options_.output_path, Command::kPath); in OptimizeCommand()
71 AddOptionalFlag("-d", "Path to the output directory (for splits).", &options_.output_dir, in OptimizeCommand()
106 &options_.table_flattener_options.use_sparse_entries); in OptimizeCommand()
109 &options_.table_flattener_options.collapse_key_stringpool); in OptimizeCommand()
112 &options_.shorten_resource_paths); in OptimizeCommand()
115 &options_.shortened_paths_map_path); in OptimizeCommand()
122 OptimizeOptions options_;
DCompile.cpp719 context.SetVerbose(options_.verbose); in Action()
723 options_.visibility = Visibility::Level::kPublic; in Action()
725 options_.visibility = Visibility::Level::kPrivate; in Action()
727 options_.visibility = Visibility::Level::kUndefined; in Action()
740 if (options_.res_dir && options_.res_zip) { in Action()
744 } else if (options_.res_dir) { in Action()
753 file_collection = io::FileCollection::Create(options_.res_dir.value(), &err); in Action()
755 context.GetDiagnostics()->Error(DiagMessage(options_.res_dir.value()) << err); in Action()
759 archive_writer = CreateZipFileArchiveWriter(context.GetDiagnostics(), options_.output_path); in Action()
760 } else if (options_.res_zip) { in Action()
[all …]
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp153 options_ = Dumpstate::DumpOptions(); in SetUp()
159 Dumpstate::DumpOptions options_; member in android::os::dumpstate::DumpOptionsTest
169 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
173 EXPECT_FALSE(options_.do_add_date); in TEST_F()
174 EXPECT_FALSE(options_.do_zip_file); in TEST_F()
175 EXPECT_FALSE(options_.use_socket); in TEST_F()
176 EXPECT_FALSE(options_.use_control_socket); in TEST_F()
177 EXPECT_FALSE(options_.show_header_only); in TEST_F()
178 EXPECT_TRUE(options_.do_vibrate); in TEST_F()
179 EXPECT_FALSE(options_.do_fb); in TEST_F()
[all …]
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp220 if (options_.rename_manifest_package) { in BuildRules()
221 if (!util::IsJavaPackageName(options_.rename_manifest_package.value())) { in BuildRules()
223 << options_.rename_manifest_package.value() in BuildRules()
229 if (options_.rename_instrumentation_target_package) { in BuildRules()
230 if (!util::IsJavaPackageName(options_.rename_instrumentation_target_package.value())) { in BuildRules()
233 << options_.rename_instrumentation_target_package.value() in BuildRules()
265 if (options_.version_name_default) { in BuildRules()
266 if (options_.replace_version) { in BuildRules()
272 options_.version_name_default.value()}); in BuildRules()
276 if (options_.version_code_default) { in BuildRules()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena.cc65 if (options_.initial_block != NULL && options_.initial_block_size > 0) { in Init()
66 GOOGLE_CHECK_GE(options_.initial_block_size, sizeof(Block)) in Init()
70 Block* first_block = reinterpret_cast<Block*>(options_.initial_block); in Init()
71 first_block->size = options_.initial_block_size; in Init()
84 if (options_.on_arena_init != NULL) { in Init()
85 hooks_cookie_ = options_.on_arena_init(this); in Init()
95 if (options_.on_arena_destruction != NULL) { in ~Arena()
96 options_.on_arena_destruction(this, hooks_cookie_, space_allocated); in ~Arena()
111 if (options_.on_arena_reset != NULL) { in ResetInternal()
112 options_.on_arena_reset(this, hooks_cookie_, space_allocated); in ResetInternal()
[all …]
Dtype.pb.h267 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
527 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
658 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
766 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
1012 return options_.size(); in options_size()
1015 options_.Clear(); in clear_options()
1019 return options_.Get(index); in options()
1023 return options_.Mutable(index); in mutable_options()
1027 return options_.Add(); in add_options()
1032 return &options_; in mutable_options()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_file.cc62 options_(options), in FileGenerator()
99 if (!options_.proto_h) { in GenerateProtoHeader()
176 FilenameIdentifier(file_->name() + (options_.proto_h ? ".pb.h" : "")); in GeneratePBHeader()
179 if (options_.proto_h) { in GeneratePBHeader()
196 if (!options_.proto_h) { in GeneratePBHeader()
231 if (!options_.proto_h) { in GeneratePBHeader()
247 StripProto(file_->name()) + (options_.proto_h ? ".proto.h" : ".pb.h"); in GenerateSource()
270 if (!UseUnknownFieldSet(file_, options_) && file_->message_type_count() > 0) { in GenerateSource()
275 if (HasDescriptorMethods(file_, options_)) { in GenerateSource()
283 if (options_.proto_h) { in GenerateSource()
[all …]
Dcpp_enum.cc66 options_(options), in EnumGenerator()
74 if (!options_.proto_h) { in FillForwardDeclaration()
84 vars["enumbase"] = classname_ + (options_.proto_h ? " : int" : ""); in GenerateDefinition()
130 if (options_.dllexport_decl.empty()) { in GenerateDefinition()
133 vars["dllexport"] = options_.dllexport_decl + " "; in GenerateDefinition()
147 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition()
172 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateGetEnumDescriptorSpecializations()
186 vars["constexpr"] = options_.proto_h ? "constexpr " : ""; in GenerateSymbolImports()
212 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateSymbolImports()
251 vars["constexpr"] = options_.proto_h ? "constexpr " : ""; in GenerateMethods()
[all …]
Dcpp_message.cc382 options_(options), in MessageGenerator()
476 SetCommonFieldVariables(field, &vars, options_); in GenerateDependentFieldAccessorDeclarations()
498 SetCommonFieldVariables(field, &vars, options_); in GenerateFieldAccessorDeclarations()
579 SetCommonFieldVariables(field, &vars, options_); in GenerateDependentFieldAccessorDefinitions()
753 SetCommonFieldVariables(field, &vars, options_); in GenerateFieldAccessorDefinitions()
842 vars["superclass"] = SuperClassName(descriptor_, options_); in GenerateDependentBaseClassDefinition()
886 if (options_.dllexport_decl.empty()) { in GenerateClassDefinition()
889 vars["dllexport"] = options_.dllexport_decl + " "; in GenerateClassDefinition()
895 vars["superclass"] = SuperClassName(descriptor_, options_); in GenerateClassDefinition()
921 if (UseUnknownFieldSet(descriptor_->file(), options_)) { in GenerateClassDefinition()
[all …]
Dcpp_string_field.cc375 descriptor_, options_, true, variables_, in GenerateMergeFromCodedStream()
384 descriptor_, options_, false, variables_, in GenerateSerializeWithCachedSizes()
396 descriptor_, options_, false, variables_, in GenerateSerializeWithCachedSizesToArray()
668 descriptor_, options_, true, variables_, in GenerateMergeFromCodedStream()
817 descriptor_, options_, true, variables_, in GenerateMergeFromCodedStream()
831 descriptor_, options_, false, variables_, in GenerateSerializeWithCachedSizes()
848 descriptor_, options_, false, variables_, in GenerateSerializeWithCachedSizesToArray()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs121 options_ = other.options_.Clone(); in Type()
175 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new … field in Google.Protobuf.WellKnownTypes.Type
181 get { return options_; }
228 if(!options_.Equals(other.options_)) return false; in Equals()
240 hash ^= options_.GetHashCode(); in GetHashCode()
259 options_.WriteTo(output, _repeated_options_codec); in WriteTo()
278 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize()
298 options_.Add(other.options_); in MergeFrom()
331 options_.AddEntriesFrom(input, _repeated_options_codec); in MergeFrom()
385 options_ = other.options_.Clone(); in Field()
[all …]
DApi.cs82 options_ = other.options_.Clone(); in Api()
126 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new … field in Google.Protobuf.WellKnownTypes.Api
132 get { return options_; }
225 if(!options_.Equals(other.options_)) return false; in Equals()
238 hash ^= options_.GetHashCode(); in GetHashCode()
258 options_.WriteTo(output, _repeated_options_codec); in WriteTo()
281 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize()
304 options_.Add(other.options_); in MergeFrom()
337 options_.AddEntriesFrom(input, _repeated_options_codec); in MergeFrom()
397 options_ = other.options_.Clone(); in Method()
[all …]
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp42 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL, false}); in OptionalFlag()
51 options_.push_back(Option{name, description, func, Option::COUNT_EXACTLY_ONCE, true}); in MandatoryOption()
60 options_.push_back(Option{name, description, func, Option::COUNT_ONCE_OR_MORE, true}); in MandatoryOption()
69 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL, true}); in OptionalOption()
78 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL_ONCE_OR_MORE, true}); in OptionalOption()
83 const auto pivot = std::partition(options_.begin(), options_.end(), [](const Option& opt) { in Parse()
87 std::transform(options_.begin(), pivot, std::inserter(mandatory_opts, mandatory_opts.end()), in Parse()
99 for (const Option& opt : options_) { in Parse()
143 for (const Option& opt : options_) { in Usage()
171 for (const Option& opt : options_) { in Usage()
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp197 std::string destination = ds_->options_->bugreport_fd.get() != -1 in dump()
198 ? StringPrintf("[fd:%d]", ds_->options_->bugreport_fd.get()) in dump()
202 dprintf(fd, "update_progress: %s\n", ds_->options_->do_progress_updates ? "true" : "false"); in dump()
207 dprintf(fd, "args: %s\n", ds_->options_->args.c_str()); in dump()
208 dprintf(fd, "extra_options: %s\n", ds_->options_->extra_options.c_str()); in dump()
215 dprintf(fd, "extra_options: %s\n", ds_->options_->extra_options.c_str()); in dump()
221 dprintf(fd, "notification title: %s\n", ds_->options_->notification_title.c_str()); in dump()
222 dprintf(fd, "notification description: %s\n", ds_->options_->notification_description.c_str()); in dump()
Ddumpstate.cpp784 PropertiesHelper::IsDryRun(), options_->args.c_str(), options_->extra_options.c_str()); in PrintHeader()
2058 if (ds.options_->do_add_date) { in PrepareToWriteToFile()
2066 if (ds.options_->telephony_only) { in PrepareToWriteToFile()
2068 } else if (ds.options_->wifi_only) { in PrepareToWriteToFile()
2072 if (ds.options_->do_fb) { in PrepareToWriteToFile()
2078 std::string destination = ds.options_->bugreport_fd.get() != -1 in PrepareToWriteToFile()
2079 ? StringPrintf("[fd:%d]", ds.options_->bugreport_fd.get()) in PrepareToWriteToFile()
2091 if (ds.options_->do_zip_file) { in PrepareToWriteToFile()
2138 if (ds.options_->do_zip_file) { in FinalizeFile()
2165 if (ds.options_->use_control_socket) { in FinalizeFile()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_file.cc62 : options_(options), in ImportWriter()
82 const Options options_; member in google::protobuf::compiler::objectivec::__anoncde0f25c0111::ImportWriter
117 if (!options_.generate_for_named_framework.empty()) { in AddFile()
119 options_.generate_for_named_framework + "/" + in AddFile()
192 if (options_.named_framework_to_proto_path_mappings_path.empty()) { in ParseFrameworkMappings()
198 if (!ParseSimpleFile(options_.named_framework_to_proto_path_mappings_path, in ParseFrameworkMappings()
200 cerr << "error parsing " << options_.named_framework_to_proto_path_mappings_path in ParseFrameworkMappings()
260 options_(options) { in FileGenerator()
267 new MessageGenerator(root_class_name_, file_->message_type(i), options_); in FileGenerator()
302 ImportWriter import_writer(options_); in GenerateHeader()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs322 Options = other.options_ != null ? other.Options.Clone() : null; in FileDescriptorProto()
445 private global::Google.Protobuf.Reflection.FileOptions options_; field in Google.Protobuf.Reflection.FileDescriptorProto
448 get { return options_; }
450 options_ = value;
526 if (options_ != null) hash ^= Options.GetHashCode(); in GetHashCode()
552 if (options_ != null) { in WriteTo()
584 if (options_ != null) { in CalculateSize()
614 if (other.options_ != null) { in MergeFrom()
615 if (options_ == null) { in MergeFrom()
616 options_ = new global::Google.Protobuf.Reflection.FileOptions(); in MergeFrom()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_context.h83 const Options& options() const { return options_; } in options()
88 bool EnforceLite() const { return options_.enforce_lite; } in EnforceLite()
103 Options options_; variable
Djava_shared_code_generator.cc56 : name_resolver_(new ClassNameResolver), file_(file), options_(options) {} in SharedCodeGenerator()
67 if (HasDescriptorMethods(file_, options_.enforce_lite)) { in Generate()
78 options_.annotate_code ? &annotation_collector : NULL)); in Generate()
93 options_.annotate_code ? info_relative_path : ""); in Generate()
110 if (options_.annotate_code) { in Generate()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_source_generator_base.cc52 : descriptor_(descriptor), options_(options) { in SourceGeneratorBase()
67 return this->options_; in options()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.h40 : buffer_(buffer), options_(options) { in XmlFlattener()
51 XmlFlattenerOptions options_; variable

123