/system/media/camera/docs/ |
H A D | CameraCharacteristicsKeys.mako | 17 <%include file="CameraMetadataKeys.mako" args="java_class='CameraCharacteristics', xml_kind='static'" />
|
H A D | CaptureRequestKeys.mako | 17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureRequest', xml_kind='controls'" />
|
H A D | CaptureResultKeys.mako | 17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureResult', xml_kind='dynamic'" />
|
/system/keymaster/ |
H A D | logger.cpp | 24 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 D | log.h | 30 #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/core/init/ |
H A D | init_parser_test.cpp | 31 std::vector<std::string> args; local 33 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args)); 36 args.push_back("exec"); 37 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args)); 40 args.push_back("--"); 41 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args)); 46 std::vector<std::string> args; local 47 args.push_back("exec"); 48 args.push_back("seclabel"); 49 args 62 std::vector<std::string> args; local [all...] |
H A D | ueventd_parser.cpp | 33 static void parse_line_device(struct parse_state *state, int nargs, char **args); 98 static void *parse_subsystem(parse_state* state, int /*nargs*/, char** args) { argument 99 if (!valid_name(args[1])) { 100 parse_error(state, "invalid subsystem name '%s'\n", args[1]); 104 ueventd_subsystem* s = ueventd_subsystem_find_by_name(args[1]); 107 args[1]); 116 s->name = args[1]; 123 char **args) 132 kw = lookup_keyword(args[0]); 135 if (!strcmp(args[ 122 parse_line_subsystem(struct parse_state *state, int nargs, char **args) argument 156 parse_new_section(struct parse_state *state, int kw, int nargs, char **args) argument 174 parse_line(struct parse_state *state, char **args, int nargs) argument 196 char *args[UEVENTD_PARSER_MAXARGS]; local 239 parse_line_device(parse_state*, int nargs, char** args) argument [all...] |
H A D | bootchart.h | 23 int do_bootchart(const std::vector<std::string>& args);
|
H A D | ueventd_parser.h | 25 void set_device_permission(int nargs, char **args);
|
H A D | builtins.cpp | 129 static int do_class_start(const std::vector<std::string>& args) { argument 135 ForEachServiceInClass(args[1], [] (Service* s) { s->StartIfNotDisabled(); }); 139 static int do_class_stop(const std::vector<std::string>& args) { argument 141 ForEachServiceInClass(args[1], [] (Service* s) { s->Stop(); }); 145 static int do_class_reset(const std::vector<std::string>& args) { argument 147 ForEachServiceInClass(args[1], [] (Service* s) { s->Reset(); }); 151 static int do_class_restart(const std::vector<std::string>& args) { argument 153 ForEachServiceInClass(args[1], [] (Service* s) { s->Restart(); }); 157 static int do_domainname(const std::vector<std::string>& args) { argument 158 return write_file("/proc/sys/kernel/domainname", args[ 161 do_enable(const std::vector<std::string>& args) argument 169 do_exec(const std::vector<std::string>& args) argument 173 do_exec_start(const std::vector<std::string>& args) argument 177 do_export(const std::vector<std::string>& args) argument 181 do_hostname(const std::vector<std::string>& args) argument 185 do_ifup(const std::vector<std::string>& args) argument 189 do_insmod(const std::vector<std::string>& args) argument 203 do_mkdir(const std::vector<std::string>& args) argument 256 do_umount(const std::vector<std::string>& args) argument 285 do_mount(const std::vector<std::string>& args) argument 374 import_late(const std::vector<std::string>& args, size_t start_index, size_t end_index) argument 502 do_mount_all(const std::vector<std::string>& args) argument 545 do_swapon_all(const std::vector<std::string>& args) argument 556 do_setprop(const std::vector<std::string>& args) argument 563 do_setrlimit(const std::vector<std::string>& args) argument 571 LOG(WARNING) << "ignoring setrlimit " << args[1] << " " << args[2] << " " << args[3]; local 575 do_start(const std::vector<std::string>& args) argument 586 do_stop(const std::vector<std::string>& args) argument 596 do_restart(const std::vector<std::string>& args) argument 606 do_trigger(const std::vector<std::string>& args) argument 611 do_symlink(const std::vector<std::string>& args) argument 615 do_rm(const std::vector<std::string>& args) argument 619 do_rmdir(const std::vector<std::string>& args) argument 623 do_sysclktz(const std::vector<std::string>& args) argument 631 do_verity_load_state(const std::vector<std::string>& args) argument 646 do_verity_update_state(const std::vector<std::string>& args) argument 650 do_write(const std::vector<std::string>& args) argument 654 do_copy(const std::vector<std::string>& args) argument 662 do_chown(const std::vector<std::string>& args) argument 690 do_chmod(const std::vector<std::string>& args) argument 698 do_restorecon(const std::vector<std::string>& args) argument 740 do_restorecon_recursive(const std::vector<std::string>& args) argument 746 do_loglevel(const std::vector<std::string>& args) argument 768 do_load_persist_props(const std::vector<std::string>& args) argument 773 do_load_system_props(const std::vector<std::string>& args) argument 778 do_wait(const std::vector<std::string>& args) argument 790 do_wait_for_prop(const std::vector<std::string>& args) argument 828 do_installkey(const std::vector<std::string>& args) argument 842 do_init_user0(const std::vector<std::string>& args) argument [all...] |
H A D | ueventd.cpp | 97 void set_device_permission(int nargs, char **args) argument 111 if (args[0][0] == '#') 114 name = args[0]; 117 LOG(INFO) << "/sys/ rule " << args[0] << " " << args[1]; local 118 attr = args[1]; 119 args++; 124 LOG(ERROR) << "invalid line ueventd.rc line for '" << args[0] << "'"; 137 perm = strtol(args[1], &endptr, 8); 139 LOG(ERROR) << "invalid mode '" << args[ [all...] |
H A D | import_parser.cpp | 27 bool ImportParser::ParseSection(const std::vector<std::string>& args, argument 29 if (args.size() != 2) { 35 bool ret = expand_props(args[1], &conf_file);
|
/system/extras/simpleperf/ |
H A D | main.cpp | 31 std::vector<std::string> args; local 36 args.insert(args.begin(), "help"); 53 args.push_back(argv[i]); 58 if (args.empty()) { 59 args.push_back("help"); 61 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); 63 LOG(ERROR) << "malformed command line: unknown command " << args[0]; 66 std::string command_name = args[0]; 67 args [all...] |
H A D | cmd_help.cpp | 36 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];
|
/system/core/libunwindstack/ |
H A D | Log.cpp | 44 va_list args; local 45 va_start(args, format); 48 vprintf(real_format.c_str(), args); 50 LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, real_format.c_str(), args); 52 va_end(args);
|
/system/extras/multinetwork/ |
H A D | dnschk.cpp | 35 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 D | mkbootimg | 48 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 D | dual_mode_controller.h | 175 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/extras/verity/ |
H A D | VeritySigner.java | 34 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 D | benchgen.py | 35 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/chre/platform/include/chre/platform/ |
H A D | memory_impl.h | 26 T *memoryAlloc(Args&&... args) { argument 29 new(storage) T(std::forward<Args>(args)...);
|
/system/extras/tests/bootloader/ |
H A D | shelltest.py | 20 def __init__(self, *args, **kwargs): 21 super(ShellTest, self).__init__(*args, **kwargs)
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
H A D | test_channel.py | 96 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/ca-certificates/google/ |
H A D | extract_from_pem.py | 65 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:
|
/system/nvram/client/ |
H A D | nvram_client.c | 101 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...] |