/development/vndk/tools/definition-tool/tests/ |
D | targets.py | 49 cmd = [clang, '-o', obj_file, '-c', src_file] 50 cmd.extend(['-fPIE', '-fPIC']) 51 cmd.extend(['-gcc-toolchain', self.gcc_toolchain_dir]) 52 cmd.extend(['-target', self.target_triple]) 53 cmd.extend(['-isystem', self.ndk_include]) 54 cmd.extend(cflags) 55 cmd.extend(self.target_cflags) 56 subprocess.check_call(cmd) 68 cmd = [clang, '-o', out_file] 69 cmd.extend(['-fPIE', '-fPIC', '-Wl,--no-undefined', '-nostdlib']) [all …]
|
/development/tools/ |
D | monkey | 44 def PrintCommand(cmd, env=None): argument 54 sys.stdout.write(" ".join(cmd)) 73 def Exec(self, cmd, stdout=None, stderr=None): argument 82 cmd = self._command + cmd 83 PrintCommand(cmd) 84 result = subprocess.call(cmd, stdout=stdout, stderr=stderr) 86 raise ExecutionException("adb: %s returned %s" % (cmd, result)) 94 def Run(self, cmd, stdout=None, stderr=None): argument 104 self.Exec(cmd, stdout=stdout, stderr=stderr) 107 def Get(self, cmd): argument [all …]
|
/development/vndk/tools/vtable-dumper/tests/ |
D | test_vndk_vtable_dumper.py | 64 def run_cmd(cmd, verbose=False): argument 67 print('RUN:', ' '.join(cmd), file=sys.stderr) 68 subprocess.check_call(cmd) 71 def run_output(cmd, verbose=False): argument 74 print('RUN:', ' '.join(cmd), file=sys.stderr) 75 return subprocess.check_output(cmd, universal_newlines=True) 102 cmd = [clangpp, '-o', obj_file, '-c', src_file] 103 cmd.extend(['-fPIE', '-fPIC', '-fno-rtti', '-std=c++11']) 104 cmd.extend(['-gcc-toolchain', self.gcc_toolchain_dir]) 105 cmd.extend(['-target', self.target_triple]) [all …]
|
/development/vndk/tools/header-checker/tests/ |
D | utils.py | 24 cmd = ['header-abi-dumper', '-o', output_name, input_path,] 26 cmd += ['-I', d] 27 cmd+= ['--'] 29 cmd += ['-isystem', d] 30 cmd += cflags 31 subprocess.check_call(cmd)
|
/development/ndk/platforms/android-9/include/linux/ |
D | wireless.h | 91 #define IW_IOCTL_IDX(cmd) ((cmd) - SIOCIWFIRST) argument 93 #define IW_IS_SET(cmd) (!((cmd) & 0x1)) argument 94 #define IW_IS_GET(cmd) ((cmd) & 0x1) argument 108 #define IW_EVENT_IDX(cmd) ((cmd) - IWEVFIRST) argument 279 #define IW_EVENT_CAPA_BASE(cmd) ((cmd >= SIOCIWFIRSTPRIV) ? (cmd - SIOCIWFIRSTPRIV + 0x60) : (c… argument 280 #define IW_EVENT_CAPA_INDEX(cmd) (IW_EVENT_CAPA_BASE(cmd) >> 5) argument 281 #define IW_EVENT_CAPA_MASK(cmd) (1 << (IW_EVENT_CAPA_BASE(cmd) & 0x1F)) argument 286 #define IW_EVENT_CAPA_SET(event_capa, cmd) (event_capa[IW_EVENT_CAPA_INDEX(cmd)] |= IW_EVENT_CAPA_M… argument 371 __u16 cmd; member 384 __u32 cmd; member [all …]
|
D | capi.h | 57 unsigned long cmd; member 74 capi_manufacturer_cmd cmd; member
|
D | quota.h | 39 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) argument
|
/development/ndk/platforms/android-21/include/linux/ |
D | wireless.h | 95 #define IW_IOCTL_IDX(cmd) ((cmd) - SIOCIWFIRST) argument 97 #define IW_IS_SET(cmd) (!((cmd) & 0x1)) argument 99 #define IW_IS_GET(cmd) ((cmd) & 0x1) argument 114 #define IW_EVENT_IDX(cmd) ((cmd) - IWEVFIRST) argument 310 #define IW_EVENT_CAPA_BASE(cmd) ((cmd >= SIOCIWFIRSTPRIV) ? (cmd - SIOCIWFIRSTPRIV + 0x60) : (c… argument 311 #define IW_EVENT_CAPA_INDEX(cmd) (IW_EVENT_CAPA_BASE(cmd) >> 5) argument 312 #define IW_EVENT_CAPA_MASK(cmd) (1 << (IW_EVENT_CAPA_BASE(cmd) & 0x1F)) argument 316 #define IW_EVENT_CAPA_SET(event_capa, cmd) (event_capa[IW_EVENT_CAPA_INDEX(cmd)] |= IW_EVENT_CAPA_M… argument 406 __u16 cmd; member 419 __u32 cmd; member [all …]
|
D | ethtool.h | 25 __u32 cmd; member 54 __u32 cmd; member 72 __u32 cmd; member 80 __u32 cmd; member 85 __u32 cmd; member 92 __u32 cmd; member 101 __u32 cmd; member 115 __u32 cmd; member 122 __u32 cmd; member 154 __u32 cmd; member [all …]
|
D | ipmi.h | 67 unsigned char cmd; member 75 unsigned char cmd; member 125 unsigned char cmd; member 132 unsigned int cmd; member
|
D | baycom.h | 29 int cmd; member
|
D | capi.h | 61 unsigned long cmd; member 77 capi_manufacturer_cmd cmd; member
|
D | bpqether.h | 36 int cmd; member
|
/development/python-packages/adb/ |
D | device.py | 41 def __init__(self, cmd, stdout, stderr, exit_code): argument 43 '`{0}` exited with code {1}'.format(cmd, exit_code)) 44 self.cmd = cmd 325 def _simple_call(self, cmd): argument 326 logging.info(' '.join(self.adb_cmd + cmd)) 328 self.adb_cmd + cmd, stderr=subprocess.STDOUT) 330 def shell(self, cmd): argument 343 exit_code, stdout, stderr = self.shell_nocheck(cmd) 345 raise ShellError(cmd, stdout, stderr, exit_code) 348 def shell_nocheck(self, cmd): argument [all …]
|
/development/ndk/platforms/android-9/include/linux/mmc/ |
D | mmc.h | 46 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… argument 48 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) argument 88 struct mmc_command *cmd; member
|
/development/testrunner/ |
D | run_command.py | 37 def RunCommand(cmd, timeout_time=None, retry_count=3, return_output=True, argument 54 result = RunOnce(cmd, timeout_time=timeout_time, 60 logger.Log("No response for %s, retrying" % cmd) 65 def RunOnce(cmd, timeout_time=None, return_output=True, stdin_input=None): argument 99 cmd, 111 logger.SilentLog("failed to retrieve stdout from: %s" % cmd) 116 logger.SilentLog("Error: %s returned %d error code" %(cmd, 137 logger.SilentLog("about to raise a timeout for: %s" % cmd)
|
/development/tools/idegen/ |
D | intellij-gen.sh | 75 cmd="java -cp $idegenjar com.android.idegen.IntellijProject $index_file $project_dir $module_dirs" 76 echo $cmd 77 $cmd
|
/development/testrunner/test_defs/ |
D | host_test.py | 102 cmd = "java -cp %s %s %s -s %s -p %s" % (":".join(full_lib_paths), 106 logger.Log(cmd) 108 run_command.RunOnce(cmd, return_output=False)
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyCommandEvent.java | 31 public MonkeyCommandEvent(String cmd) { in MonkeyCommandEvent() argument 33 mCmd = cmd; in MonkeyCommandEvent()
|
D | MonkeyGetAppFrameRateEvent.java | 126 String cmd = String.format(GET_APP_FRAMERATE_TMPL, sActivityName); in injectEvent() local 128 p = Runtime.getRuntime().exec(cmd); in injectEvent() 132 cmd, status)); in injectEvent() 151 Logger.err.println("// Exception from " + cmd + ":"); in injectEvent()
|
/development/vndk/tools/abi-tool/ |
D | vndk_abi_tool.py | 20 def check_silent_call(cmd): argument 21 subprocess.check_call(cmd, stdout=subprocess.DEVNULL, 29 def which(cmd, mode=os.F_OK | os.X_OK, path=None): argument 38 if file_name != cmd: 48 def check_silent_call(cmd): argument 50 subprocess.check_call(cmd, stdout=devnull, stderr=devnull) 253 cmd = cmd_base + [path, '-o', out_path] 255 print('run:', ' '.join(cmd)) 258 check_silent_call(cmd) 268 cmd = ['make', '--no-print-directory', '-f', 'build/core/config.mk', [all …]
|
/development/ndk/platforms/android-21/include/linux/dvb/ |
D | osd.h | 54 OSD_Command cmd; member 92 int cmd; member
|
/development/ndk/platforms/android-9/include/linux/raid/ |
D | md_k.h | 180 …cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq… argument 182 …ent_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq,… argument
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 82 def get_run_as_cmd(user, cmd): argument 86 return cmd 88 return ["su", "0"] + cmd 90 return ["run-as", user] + cmd 234 cmd = get_run_as_cmd(user, 237 device.shell(cmd)
|
/development/scripts/ |
D | usb-reset-by-serial.py | 89 def docmdlines(cmd, nf=None): argument 91 verbose(2, "+ docmdlines executing: %s" % cmd) 92 args = shlex.split(cmd)
|