Home
last modified time | relevance | path

Searched refs:args_ (Results 1 – 21 of 21) sorted by relevance

/aosp12/frameworks/native/cmds/installd/
H A Dexecv_helper.cpp32 ExecVHelper::ExecVHelper() : args_(1u, std::string()) {} in ExecVHelper()
37 CHECK(!args_.empty()); in PrepareArgs()
38 CHECK(args_[0].empty()); in PrepareArgs()
39 args_[0] = bin; in PrepareArgs()
41 for (const std::string& arg : args_) { in PrepareArgs()
55 args_.push_back(arg); in AddArg()
61 args_.push_back("--runtime-arg"); in AddRuntimeArg()
62 args_.push_back(arg); in AddRuntimeArg()
H A Dexecv_helper.h46 std::vector<std::string> args_;
/aosp12/art/tools/art_verifier/
H A Dart_verifier.cc188 CHECK(args_ != nullptr); in ExecuteWithRuntime()
190 const size_t dex_reps = args_->dex_file_verifier_ in ExecuteWithRuntime()
199 if (args_->dex_file_verifier_ && args_->repetitions_ != 0) { in ExecuteWithRuntime()
203 if (!LoadDexFile(args_->dex_filename_, &unique_dex_files)) { in ExecuteWithRuntime()
207 if (args_->dex_file_verifier_) { in ExecuteWithRuntime()
222 if (args_->method_verifier_verbose_) { in ExecuteWithRuntime()
225 if (args_->method_verifier_verbose_debug_) { in ExecuteWithRuntime()
233 if (args_->repetitions_ != 0) { in ExecuteWithRuntime()
241 if (args_->repetitions_ == 0) { in ExecuteWithRuntime()
255 args_->api_level_, in ExecuteWithRuntime()
[all …]
/aosp12/system/core/init/
H A Daction.cpp52 args_(std::move(args)), in Command()
58 return subcontext->Execute(args_); in InvokeFunc()
61 auto expanded_args = subcontext->ExpandArgs(args_); in InvokeFunc()
68 return RunBuiltinFunction(func_, args_, kInitContext); in InvokeFunc()
74 builtin_arguments.args.resize(args_.size()); in CheckCommand()
75 builtin_arguments.args[0] = args_[0]; in CheckCommand()
76 for (size_t i = 1; i < args_.size(); ++i) { in CheckCommand()
77 auto expanded_arg = ExpandProps(args_[i]); in CheckCommand()
96 return Join(args_, ' '); in BuildCommandString()
H A Dservice.cpp157 args_(args),
356 LOG(INFO) << " exec " << Join(args_, " "); in DumpState()
447 if (stat(args_[0].c_str(), &sb) == -1) { in Start()
449 return ErrnoError() << "Cannot find '" << args_[0] << "'"; in Start()
456 auto result = ComputeContextFromExecutable(args_[0]); in Start()
465 const bool is_apexd = args_[0] == "/system/bin/apexd"; in Start()
542 if (!ExpandArgsAndExecv(args_, sigstop_)) { in Start()
543 PLOG(ERROR) << "cannot execv('" << args_[0] in Start()
H A Dservice.h129 const std::vector<std::string>& args() const { return args_; } in args()
206 std::vector<std::string> args_; variable
H A Daction.h50 std::vector<std::string> args_; variable
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DCommand_test.cpp29 args_ = args; in Action()
33 std::vector<std::string> args_; member in aapt::TestCommand
88 ASSERT_THAT(command.args_.size(), Eq(2)); in TEST()
89 ASSERT_THAT(command.args_[0], Eq(kExpected)); in TEST()
90 ASSERT_THAT(command.args_[1], Eq(kExpected)); in TEST()
/aosp12/art/runtime/ti/
H A Dagent.cc45 args_ = arg.substr(eq + 1, arg.length()); in AgentSpec()
52 VLOG(agents) << "Loading agent: " << name_ << " " << args_; in Load()
62 VLOG(agents) << "Attaching agent: " << name_ << " " << args_; in Attach()
93 std::unique_ptr<char[]> copied_args(new char[args_.size() + 1]); in DoLoadHelper()
94 strlcpy(copied_args.get(), args_.c_str(), args_.size() + 1); in DoLoadHelper()
156 return os << "AgentSpec { name=\"" << m.name_ << "\", args=\"" << m.args_ << "\" }"; in operator <<()
H A Dagent.h48 return args_; in GetArgs()
80 std::string args_; variable
/aosp12/art/cmdline/
H A Dcmdline.h341 args_ = args.get(); in Main()
345 if (args_ == nullptr || !args_->Parse(argc, argv)) { in Main()
355 if (!args_->ParseCheckBootImage(&error_msg)) { in Main()
357 args_->PrintUsage(); in Main()
411 Args* args_ = nullptr;
417 return StartRuntime(args->boot_image_location_, args->instruction_set_, args_->runtime_args_); in CreateRuntime()
/aosp12/bionic/tests/
H A Dutils.h212 return const_cast<char**>(args_.data()); in GetArgs()
215 return args_[0]; in GetArg0()
225 args_ = args; in SetArgs()
267 std::vector<const char*> args_;
/aosp12/art/oatdump/
H A Doatdump.cc3246 CHECK(args_ != nullptr); in NeedsRuntime()
3252 args_->dump_vmap_, in NeedsRuntime()
3256 args_->class_filter_, in NeedsRuntime()
3258 args_->list_classes_, in NeedsRuntime()
3262 args_->app_image_, in NeedsRuntime()
3263 args_->app_oat_, in NeedsRuntime()
3273 CHECK(args_ != nullptr); in ExecuteWithoutRuntime()
3278 if (args_->symbolize_) { in ExecuteWithoutRuntime()
3284 return SymbolizeOat(args_->oat_filename_, args_->dex_filename_, args_->output_name_, no_bits) in ExecuteWithoutRuntime()
3296 CHECK(args_ != nullptr); in ExecuteWithRuntime()
[all …]
/aosp12/system/core/fastboot/device/
H A Dcommands.cpp710 : device_(device), args_(&args) {} in PartitionFetcher()
715 if (args_->size() < 2) { in Open()
720 partition_name_ = args_->at(1); in Open()
742 if (args_->size() >= 3) { in Open()
743 if (!android::base::ParseUint(args_->at(2), &start_offset_)) { in Open()
761 if (args_->size() >= 4) { in Open()
762 if (!android::base::ParseUint(args_->at(3), &total_size_to_read_)) { in Open()
843 const std::vector<std::string>* args_ = nullptr; member in __anon058b386a0410::PartitionFetcher
/aosp12/art/runtime/
H A Dstring_builder_append.cc33 args_(args), in Builder()
91 const uint32_t* const args_; member in art::StringBuilderAppend::Builder
211 const uint32_t* current_arg = args_; in CalculateLengthWithFlag()
279 const uint32_t* current_arg = args_; in StoreData()
/aosp12/frameworks/base/startop/view_compiler/
H A Ddex_builder.h294 const std::vector<const Value>& args() const { return args_; } in args()
302 args_{} {}
311 args_{args...} {}
318 const std::vector<const Value> args_; variable
/aosp12/frameworks/base/tools/aapt2/test/
H A DFixture.h125 std::vector<std::string> args_; member
/aosp12/art/imgdiag/
H A Dimgdiag.cc1955 CHECK(args_ != nullptr); in ExecuteWithRuntime()
1958 args_->os_, in ExecuteWithRuntime()
1959 args_->image_diff_pid_, in ExecuteWithRuntime()
1960 args_->zygote_diff_pid_, in ExecuteWithRuntime()
1961 args_->dump_dirty_objects_) == EXIT_SUCCESS; in ExecuteWithRuntime()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCamera2HWI.h754 DeferWorkArgs args_) in DefWork()
757 args(args_){}; in DefWork()
/aosp12/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc759 QuickArgumentVisitor(sp, is_static, shorty, shorty_len), soa_(soa), args_(args) {} in BuildQuickArgumentVisitor()
765 std::vector<jvalue>* const args_; member in art::BuildQuickArgumentVisitor
800 args_->push_back(val); in Visit()
/aosp12/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...