Searched refs:args (Results 1 - 25 of 200) sorted by last modified time

12345678

/system/vold/
H A DUtils.cpp243 status_t ForkExecvp(const std::vector<std::string>& args) { argument
244 return ForkExecvp(args, nullptr);
247 status_t ForkExecvp(const std::vector<std::string>& args, security_context_t context) { argument
248 size_t argc = args.size();
251 argv[i] = (char*) args[i].c_str();
253 LOG(VERBOSE) << args[i];
255 LOG(VERBOSE) << " " << args[i];
273 status_t ForkExecvp(const std::vector<std::string>& args, argument
275 return ForkExecvp(args, output, nullptr);
278 status_t ForkExecvp(const std::vector<std::string>& args, argument
318 ForkExecvpAsync(const std::vector<std::string>& args) argument
[all...]
H A DUtils.h70 status_t ForkExecvp(const std::vector<std::string>& args);
71 status_t ForkExecvp(const std::vector<std::string>& args, security_context_t context);
73 status_t ForkExecvp(const std::vector<std::string>& args,
75 status_t ForkExecvp(const std::vector<std::string>& args,
78 pid_t ForkExecvpAsync(const std::vector<std::string>& args);
H A Dcryptfs.cpp1913 const char *args[10]; local
1922 args[0] = "/system/bin/mke2fs";
1923 args[1] = "-M";
1924 args[2] = "/data";
1925 args[3] = "-b";
1926 args[4] = "4096";
1927 args[5] = "-t";
1928 args[6] = "ext4";
1929 args[7] = crypto_blkdev;
1931 args[
[all...]
/system/vold/bench/
H A Dbenchgen.py35 def __init__(self, thread, time, call, args, ret):
39 self.args = args
43 return "%s(%s)=%s" % (self.call, repr(self.args), self.ret)
75 args = []
98 args.append(arg.strip())
103 args.append(arg.strip())
104 return args
119 time, call, args, ret = line.groups()
121 if "/data/" not in args
124 args = parse_args(args) variable
[all...]
/system/update_engine/
H A Dp2p_manager.cc94 vector<string> args; variable
95 args.push_back("initctl");
96 args.push_back(is_start ? "start" : "stop");
97 args.push_back("p2p");
98 return args;
103 vector<string> args; variable
104 args.push_back("p2p-client");
105 args.push_back(string("--get-url=") + file_id);
106 args.push_back(StringPrintf("--minimum-size=%" PRIuS, minimum_size));
107 return args;
260 vector<string> args = configuration_->GetInitctlArgs(should_be_running); local
496 vector<string> args = configuration_->GetP2PClientArgs(file_id_with_ext, local
[all...]
/system/update_engine/scripts/
H A Dpaycheck.py106 opts, args = parser.parse_args(argv)
131 if len(args) == 3:
136 elif len(args) == 5:
141 elif len(args) == 1:
156 default_meta_sig = args[0] + '.metadata-signature'
161 return opts, args[0], args[1:]
H A Dupdate_device.py251 args = parser.parse_args()
253 level=logging.WARNING if args.no_verbose else logging.INFO)
255 dut = AdbHost(args.s)
265 if args.file:
269 if not args.no_push:
270 cmds.append(['push', args.otafile, device_ota_file])
278 server_thread = StartServer(args.otafile)
285 update_cmd = AndroidUpdateCommand(args.otafile, payload_url)
/system/update_engine/scripts/update_payload/
H A Dchecker_unittest.py121 def NewExtentList(*args):
125 *args: (start_block, num_blocks) pairs defining the extents.
131 for start_block, num_blocks in args:
194 args = (msg, name, report, is_mandatory, is_submsg)
198 checker.PayloadChecker._CheckElem, *args, **kwargs)
200 ret_val, ret_subreport = checker.PayloadChecker._CheckElem(*args,
221 args = [msg, name, report]
224 args.append('bar')
231 self.assertRaises(update_payload.PayloadError, tested_func, *args,
234 ret_val = tested_func(*args, **kwarg
[all...]
/system/update_engine/update_manager/
H A Dchromeos_policy_unittest.cc190 R* result, Args... args) {
195 result, args...))
187 ExpectPolicyStatus( EvalStatus expected, T policy_method, R* result, Args... args) argument
H A Dupdate_manager-inl.h37 R* result, Args... args) {
57 result, args...);
64 args...);
86 Args... args) {
89 EvalStatus status = EvaluatePolicy(ec.get(), policy_method, &result, args...);
101 policy_method, args...);
119 R* result, ActualArgs... args) {
128 result, args...);
142 ActualArgs... args) {
159 base::Unretained(this), ec, callback, policy_method, args
32 EvaluatePolicy( EvaluationContext* ec, EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, std::string*, R*, Args...) const, R* result, Args... args) argument
80 OnPolicyReadyToEvaluate( scoped_refptr<EvaluationContext> ec, base::Callback<void(EvalStatus status, const R& result)> callback, EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, std::string*, R*, Args...) const, Args... args) argument
137 AsyncPolicyRequest( base::Callback<void(EvalStatus, const R& result)> callback, EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, ActualArgs... args) argument
[all...]
H A Dupdate_manager.h60 // and the remaining |args| depend on the arguments required by the passed
78 // Evaluates the given |policy_method| policy with the provided |args|
92 ActualArgs... args);
112 // policy with the given |args| arguments. If the method fails, the default
120 R* result, Args... args);
135 Args... args);
/system/tools/aidl/
H A Daidl_language.cpp133 std::vector<std::unique_ptr<AidlArgument>>* args,
140 arguments_(std::move(*args)),
143 delete args;
151 std::vector<std::unique_ptr<AidlArgument>>* args,
153 : AidlMethod(oneway, type, name, args, line, comments, 0) {
132 AidlMethod(bool oneway, AidlType* type, std::string name, std::vector<std::unique_ptr<AidlArgument>>* args, unsigned line, const std::string& comments, int id) argument
150 AidlMethod(bool oneway, AidlType* type, std::string name, std::vector<std::unique_ptr<AidlArgument>>* args, unsigned line, const std::string& comments) argument
H A Daidl_language.h200 std::vector<std::unique_ptr<AidlArgument>>* args,
203 std::vector<std::unique_ptr<AidlArgument>>* args,
H A Dast_cpp_unittest.cpp160 std::vector<unique_ptr<AstNode>> args; local
161 args.emplace_back(new LiteralExpression("foo()"));
162 ArgList nested(std::move(args));
207 ArgList({"has", "some", "args"}));
208 CompareGeneratedCode(multi, "multi(has, some, args)");
H A Dast_java.cpp168 va_list args; local
169 va_start(args, argc);
170 init(argc, args);
171 va_end(args);
180 va_list args; local
181 va_start(args, argc);
182 init(argc, args);
183 va_end(args);
188 va_list args; local
189 va_start(args, arg
194 init(int n, va_list args) argument
227 va_list args; local
233 init(int n, va_list args) argument
[all...]
H A Dast_java.h177 void init(int n, va_list args);
200 void init(int n, va_list args);
H A Dgenerate_cpp.cpp313 vector<string> args = {transaction_code, kDataVarName, local
317 args.push_back("::android::IBinder::FLAG_ONEWAY");
323 ArgList(args))));
H A Dtype_namespace.h347 std::vector<std::string> args = Split(remainder, ","); local
348 for (auto& type_name: args) {
369 args.size() == 1) {
371 *contained_type_names = args;
375 args.size() == 2) {
377 *contained_type_names = args;
382 << " and " << args.size() << "contained types.";
/system/tools/aidl/tests/
H A Dintegration-test.py179 args = parser.parse_args()
180 host = AdbHost(verbose=args.verbose)
185 args.test_filter in (TEST_FILTER_ALL, TEST_FILTER_NATIVE),
186 args.test_filter in (TEST_FILTER_ALL, TEST_FILTER_JAVA))
/system/tools/hidl/
H A DInterface.cpp822 for (const auto &arg : method->args()) {
H A DMethod.cpp29 std::vector<TypedVar *> *args,
34 mArgs(args),
60 const std::vector<TypedVar *> &Method::args() const { function in class:android::Method
146 if (!args().empty()) {
157 const std::vector<TypedVar *> &args,
159 out.join(args.begin(), args.end(), ", ", [&](auto arg) {
166 static void emitJavaArgResultSignature(Formatter &out, const std::vector<TypedVar *> &args) { argument
167 out.join(args.begin(), args
28 Method(const char *name, std::vector<TypedVar *> *args, std::vector<TypedVar *> *results, bool oneway, std::vector<Annotation *> *annotations) argument
156 emitCppArgResultSignature(Formatter &out, const std::vector<TypedVar *> &args, bool specifyNamespaces) argument
[all...]
H A DMethod.h50 std::vector<TypedVar *> *args,
56 const std::vector<TypedVar *> &args() const;
67 // Make a copy with the same name, args, results, oneway, annotations.
/system/tools/hidl/c2hal/
H A DExpression.cpp229 FunctionCall(std::string id, std::vector<Expression *> *args) argument
230 : mId(id), mArgs(args)
234 for(auto* args : *mArgs) {
235 delete args;
298 Expression *Expression::functionCall(std::string id, std::vector<Expression *> *args) { argument
299 return new FunctionCall(id, args);
H A DExpression.h75 static Expression *functionCall(std::string id, std::vector<Expression *> *args);
H A Dc2hal_y.yy131 %type<expressions> args
478 | ID '(' args ')' %prec FUNCTION_CALL {
497 args
507 | args ',' expr

Completed in 216 milliseconds

12345678