Searched refs:args (Results 1 - 25 of 213) sorted by relevance

123456789

/system/media/camera/docs/
H A DCameraCharacteristicsKeys.mako17 <%include file="CameraMetadataKeys.mako" args="java_class='CameraCharacteristics', xml_kind='static'" />
H A DCaptureRequestKeys.mako17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureRequest', xml_kind='controls'" />
H A DCaptureResultKeys.mako17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureResult', xml_kind='dynamic'" />
/system/keymaster/
H A Dlogger.cpp24 int Logger::Log(LogLevel level, const char* fmt, va_list args) { argument
27 return instance_->log_msg(level, fmt, args);
32 va_list args; local
33 va_start(args, fmt);
34 int result = Log(level, fmt, args);
35 va_end(args);
41 va_list args; local
42 va_start(args, fmt);
43 int result = Log(DEBUG_LVL, fmt, args);
44 va_end(args);
50 va_list args; local
58 va_list args; local
66 va_list args; local
74 va_list args; local
[all...]
/system/bt/osi/include/
H A Dlog.h30 #define LOGWRAPPER(tag, fmt, args...) \
31 fprintf(stderr, "%s: " fmt "\n", tag, ##args)
47 * ## args ).
53 #define LOG_VERBOSE(tag, fmt, args...) \
55 (true) ? ((int)0) : fprintf(stderr, "%s" fmt, tag, ##args); \
58 #define LOG_VERBOSE(tag, fmt, args...) \
60 (true) ? ALOG(LOG_VERBOSE, tag, fmt, ##args) \
61 : fprintf(stderr, "%s" fmt, tag, ##args); \
65 #define LOG_DEBUG(tag, fmt, args...) \
67 (true) ? ALOG(LOG_DEBUG, tag, fmt, ##args) \
[all...]
/system/chre/platform/linux/
H A Dchre_api_re.cc25 va_list args; local
27 va_start(args, formatStr);
28 vsnprintf(logBuf, sizeof(logBuf), formatStr, args);
29 va_end(args);
/system/chre/platform/slpi/
H A Dchre_api_re.cc23 va_list args; local
40 va_start(args, formatStr);
41 ashVaLog(ASH_SOURCE_CHRE, ashLevel, formatStr, args);
42 va_end(args);
/system/core/init/
H A Dinit_parser_test.cpp33 std::vector<std::string> args; local
35 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args));
38 args.push_back("exec");
39 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args));
42 args.push_back("--");
43 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args));
48 std::vector<std::string> args; local
49 args.push_back("exec");
50 args.push_back("seclabel");
51 args
64 std::vector<std::string> args; local
[all...]
H A Dbootchart.h26 int do_bootchart(const std::vector<std::string>& args);
H A Dbuiltins.cpp127 static int do_class_start(const std::vector<std::string>& args) { argument
133 ForEachServiceInClass(args[1], [] (Service* s) { s->StartIfNotDisabled(); });
137 static int do_class_stop(const std::vector<std::string>& args) { argument
139 ForEachServiceInClass(args[1], [] (Service* s) { s->Stop(); });
143 static int do_class_reset(const std::vector<std::string>& args) { argument
145 ForEachServiceInClass(args[1], [] (Service* s) { s->Reset(); });
149 static int do_class_restart(const std::vector<std::string>& args) { argument
151 ForEachServiceInClass(args[1], [] (Service* s) { s->Restart(); });
155 static int do_domainname(const std::vector<std::string>& args) { argument
157 if (!WriteFile("/proc/sys/kernel/domainname", args[
164 do_enable(const std::vector<std::string>& args) argument
172 do_exec(const std::vector<std::string>& args) argument
176 do_exec_start(const std::vector<std::string>& args) argument
180 do_export(const std::vector<std::string>& args) argument
184 do_hostname(const std::vector<std::string>& args) argument
193 do_ifup(const std::vector<std::string>& args) argument
197 do_insmod(const std::vector<std::string>& args) argument
211 do_mkdir(const std::vector<std::string>& args) argument
272 do_umount(const std::vector<std::string>& args) argument
301 do_mount(const std::vector<std::string>& args) argument
390 import_late(const std::vector<std::string>& args, size_t start_index, size_t end_index) argument
536 do_mount_all(const std::vector<std::string>& args) argument
578 do_swapon_all(const std::vector<std::string>& args) argument
589 do_setprop(const std::vector<std::string>& args) argument
594 do_setrlimit(const std::vector<std::string>& args) argument
602 LOG(WARNING) << "ignoring setrlimit " << args[1] << " " << args[2] << " " << args[3]; local
606 do_start(const std::vector<std::string>& args) argument
617 do_stop(const std::vector<std::string>& args) argument
627 do_restart(const std::vector<std::string>& args) argument
637 do_trigger(const std::vector<std::string>& args) argument
642 do_symlink(const std::vector<std::string>& args) argument
646 do_rm(const std::vector<std::string>& args) argument
650 do_rmdir(const std::vector<std::string>& args) argument
654 do_sysclktz(const std::vector<std::string>& args) argument
662 do_verity_load_state(const std::vector<std::string>& args) argument
676 do_verity_update_state(const std::vector<std::string>& args) argument
680 do_write(const std::vector<std::string>& args) argument
689 do_copy(const std::vector<std::string>& args) argument
703 do_chown(const std::vector<std::string>& args) argument
740 do_chmod(const std::vector<std::string>& args) argument
748 do_restorecon(const std::vector<std::string>& args) argument
790 do_restorecon_recursive(const std::vector<std::string>& args) argument
796 do_loglevel(const std::vector<std::string>& args) argument
818 do_load_persist_props(const std::vector<std::string>& args) argument
823 do_load_system_props(const std::vector<std::string>& args) argument
828 do_wait(const std::vector<std::string>& args) argument
840 do_wait_for_prop(const std::vector<std::string>& args) argument
878 do_installkey(const std::vector<std::string>& args) argument
892 do_init_user0(const std::vector<std::string>& args) argument
[all...]
H A Dueventd_parser.cpp27 bool ParsePermissionsLine(std::vector<std::string>&& args, std::string* err, argument
31 if (is_sysfs && args.size() != 5) {
36 if (!is_sysfs && args.size() != 4) {
41 auto it = args.begin();
47 // args is now common to both sys and dev entries and contains: <perm> <uid> <gid>
80 bool SubsystemParser::ParseSection(std::vector<std::string>&& args, const std::string& filename, argument
82 if (args.size() != 2) {
87 if (std::find(subsystems_->begin(), subsystems_->end(), args[1]) != subsystems_->end()) {
92 subsystem_.name_ = args[1];
97 bool SubsystemParser::ParseDevName(std::vector<std::string>&& args, st argument
111 ParseDirName(std::vector<std::string>&& args, std::string* err) argument
121 ParseLineSection(std::vector<std::string>&& args, int line, std::string* err) argument
[all...]
H A Dservice.h69 Service(const std::string& name, const std::vector<std::string>& args);
74 const std::vector<std::string>& args);
77 bool ParseLine(const std::vector<std::string>& args, std::string* err);
111 const std::vector<std::string>& args() const { return args_; } function in class:android::init::Service
114 using OptionParser = bool (Service::*) (const std::vector<std::string>& args,
125 bool ParseCapabilities(const std::vector<std::string>& args, std::string *err);
126 bool ParseClass(const std::vector<std::string>& args, std::string* err);
127 bool ParseConsole(const std::vector<std::string>& args, std::string* err);
128 bool ParseCritical(const std::vector<std::string>& args, std::string* err);
129 bool ParseDisabled(const std::vector<std::string>& args, st
[all...]
/system/extras/multinetwork/
H A Ddnschk.cpp35 struct Arguments args; local
36 if (!args.parseArguments(argc, argv)) { return rval; }
39 .ai_family = args.family,
44 std::cout << "# " << args.arg1
45 << " (via nethandle " << args.nethandle << "):"
48 switch (args.api_mode) {
50 rval = android_getaddrinfofornetwork(args.nethandle,
51 args.arg1, nullptr, &hints, &result);
54 if (args.nethandle != NETWORK_UNSPECIFIED) {
55 rval = android_setprocnetwork(args
[all...]
/system/core/mkbootimg/
H A Dmkbootimg48 def write_header(args):
50 args.output.write(pack('8s', BOOT_MAGIC))
51 args.output.write(pack('10I',
52 filesize(args.kernel), # size in bytes
53 args.base + args.kernel_offset, # physical load addr
54 filesize(args.ramdisk), # size in bytes
55 args.base + args.ramdisk_offset, # physical load addr
56 filesize(args
[all...]
/system/bt/vendor_libs/test_vendor_lib/include/
H A Ddual_mode_controller.h175 const std::vector<std::string>& args);
199 void HciReset(const std::vector<uint8_t>& args);
204 void HciReadBufferSize(const std::vector<uint8_t>& args);
209 void HciHostBufferSize(const std::vector<uint8_t>& args);
214 void HciReadLocalVersionInformation(const std::vector<uint8_t>& args);
219 void HciReadBdAddr(const std::vector<uint8_t>& args);
224 void HciReadLocalSupportedCommands(const std::vector<uint8_t>& args);
229 void HciReadLocalExtendedFeatures(const std::vector<uint8_t>& args);
234 void HciReadLocalSupportedCodecs(const std::vector<uint8_t>& args);
239 void HciWriteSimplePairingMode(const std::vector<uint8_t>& args);
[all...]
/system/chre/platform/shared/
H A Dpal_system_api.cc40 va_list args; local
42 va_start(args, formatStr);
43 vsnprintf(logBuf, sizeof(logBuf), formatStr, args);
44 va_end(args);
/system/extras/verity/
H A DVeritySigner.java34 public static void main(String[] args) throws Exception { argument
35 if (args.length < 3) {
42 byte[] content = Utils.read(args[0]);
44 if (args.length > 3 && "-verify".equals(args[3])) {
45 X509Certificate cert = Utils.loadPEMCertificate(args[1]);
48 byte[] signature = Utils.read(args[2]);
64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1]));
66 Utils.write(signature, args[2]);
/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/extras/tests/bootloader/
H A Dshelltest.py20 def __init__(self, *args, **kwargs):
21 super(ShellTest, self).__init__(*args, **kwargs)
/system/core/libunwindstack/
H A DLog.cpp46 va_list args; local
47 va_start(args, format);
50 vprintf(real_format.c_str(), args);
52 LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, real_format.c_str(), args);
54 va_end(args);
/system/extras/simpleperf/
H A Dcmd_help.cpp36 bool Run(const std::vector<std::string>& args) override;
43 bool HelpCommand::Run(const std::vector<std::string>& args) { argument
44 if (args.empty()) {
47 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]);
51 << args[0];
H A Dcommand.cpp28 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { argument
29 if (*pi + 1 == args.size()) {
30 LOG(ERROR) << "No argument following " << args[*pi] << " option. Try `simpleperf help " << name_
38 void Command::ReportUnknownOption(const std::vector<std::string>& args, size_t i) { argument
39 LOG(ERROR) << "Unknown option for " << name_ << " command: '" << args[i]
103 std::vector<std::string> args; local
108 args.insert(args.begin(), "help");
124 args.push_back(argv[i]);
129 if (args
[all...]
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dtest_channel.py96 def send_command(self, name, args):
98 args_size = len(args)
99 self.lint_command(name, args, name_size, args_size)
101 encoded_args = chr(args_size) + ''.join(chr(len(arg)) + arg for arg in args)
105 def lint_command(self, name, args, name_size, args_size):
106 assert name_size == len(name) and args_size == len(args)
109 for arg in args:
116 for arg in args:
171 def do_clear(self, args):
178 def do_clear_event_delay(self, args)
[all...]
/system/nvram/client/
H A Dnvram_client.c101 static int HandleGetTotalSize(nvram_device_t* device, char* args[]) { argument
102 (void)args;
113 static int HandleGetAvailableSize(nvram_device_t* device, char* args[]) { argument
114 (void)args;
126 static int HandleGetMaxSpaceSize(nvram_device_t* device, char* args[]) { argument
127 (void)args;
139 static int HandleGetMaxSpaces(nvram_device_t* device, char* args[]) { argument
140 (void)args;
151 static int HandleGetSpaceList(nvram_device_t* device, char* args[]) { argument
152 (void)args;
183 HandleGetSpaceSize(nvram_device_t* device, char* args[]) argument
195 HandleGetSpaceControls(nvram_device_t* device, char* args[]) argument
233 HandleIsSpaceReadLocked(nvram_device_t* device, char* args[]) argument
247 HandleIsSpaceWriteLocked(nvram_device_t* device, char* args[]) argument
261 HandleCreateSpace(nvram_device_t* device, char* args[]) argument
288 HandleDeleteSpace(nvram_device_t* device, char* args[]) argument
294 HandleDisableCreate(nvram_device_t* device, char* args[]) argument
299 HandleWriteSpace(nvram_device_t* device, char* args[]) argument
305 HandleReadSpace(nvram_device_t* device, char* args[]) argument
331 HandleEnableWriteLock(nvram_device_t* device, char* args[]) argument
337 HandleEnableReadLock(nvram_device_t* device, char* args[]) argument
[all...]
/system/ca-certificates/google/
H A Dextract_from_pem.py65 args = parser.parse_args()
66 assert os.path.isdir(args.output_dir) and os.path.isfile(args.pem_file)
68 args.output_dir):
71 for existing_file in os.listdir(args.output_dir):
72 os.remove(os.path.join(args.output_dir, existing_file))
73 with open(args.pem_file) as pem_file:
82 WriteCertificateFile(content, base_name, args.output_dir)
83 with open(args.timestamp_file, 'w') as timestamp_file:

Completed in 6058 milliseconds

123456789