/system/bt/bta/include/ |
bta_gatts_co.h | 51 * informaiton. The request consists of the cmd and p_req and 54 * Parameter cmd - request command 63 extern bool bta_gatts_co_srv_chg(tGATTS_SRV_CHG_CMD cmd,
|
/system/core/libsysutils/include/sysutils/ |
FrameworkCommand.h | 29 FrameworkCommand(const char *cmd);
|
/system/core/trusty/gatekeeper/ |
gatekeeper_ipc.h | 32 * @cmd: the command, one of ENROLL, VERIFY. Payload must be a serialized 37 uint32_t cmd; member in struct:gatekeeper_message
|
/system/core/trusty/keymaster/ |
trusty_keymaster_ipc.h | 23 int trusty_keymaster_call(uint32_t cmd, void* in, uint32_t in_size, uint8_t* out,
|
/cts/apps/CameraITS/tools/ |
run_parallel_tests.py | 73 for cmd in cmds: 74 print "running: ", cmd 75 proc = Process(target=run_cmd, args=(cmd,)) 89 """ Create a cmd list for run_all_tests.py 90 Return a list of cmd & parameters 92 cmd = ['python', 101 cmd.append('chart=%s' % chart_host_id) 103 cmd.append('skip_scene_validation') 105 return cmd 107 def run_cmd(cmd) [all...] |
/external/autotest/site_utils/lib/ |
infra.py | 36 def local_runner(cmd, stream_output=False): 40 @param cmd: The command to run. 43 @returns: The output of cmd, will be stdout and stderr. 46 print 'Running command: %s' % cmd 48 cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) 59 print "ERROR: '%s' failed with error:\n%s" % (cmd, output) 60 raise subprocess.CalledProcessError(return_code, cmd, output[:1024]) 82 def runner(cmd): 87 @param cmd: The command to run. 88 @returns: The output of cmd [all...] |
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
fastboot.py | 45 def _RunFastbootCommand(cls, cmd): 49 cmd: Command to run. Must be list of args, the first one being the command 55 TypeError: If cmd is not of type list. 57 if type(cmd) == list: 58 cmd = [cls._fastboot_path.read()] + cmd 62 status, output = cmd_helper.GetCmdStatusAndOutput(cmd) 64 raise device_errors.FastbootCommandFailedError(cmd, output, status) 67 def _RunDeviceFastbootCommand(self, cmd): 71 cmd: Command to run. Must be list of args, the first one being the comman [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
VolumeControlAction.java | 126 boolean processCommand(HdmiCecMessage cmd) { 127 if (mState != STATE_WAIT_FOR_NEXT_VOLUME_PRESS || cmd.getSource() != mAvrAddress) { 131 switch (cmd.getOpcode()) { 133 return handleReportAudioStatus(cmd); 135 return handleFeatureAbort(cmd); 140 private boolean handleReportAudioStatus(HdmiCecMessage cmd) { 141 byte params[] = cmd.getParams(); 142 boolean mute = HdmiUtils.isAudioStatusMute(cmd); 143 int volume = HdmiUtils.getAudioStatusVolume(cmd); 173 private boolean handleFeatureAbort(HdmiCecMessage cmd) { [all...] |
OneTouchRecordAction.java | 79 boolean processCommand(HdmiCecMessage cmd) { 80 if (mState != STATE_WAITING_FOR_RECORD_STATUS || mRecorderAddress != cmd.getSource()) { 84 switch (cmd.getOpcode()) { 86 return handleRecordStatus(cmd); 91 private boolean handleRecordStatus(HdmiCecMessage cmd) { 93 if (cmd.getSource() != mRecorderAddress) { 97 int recordStatus = cmd.getParams()[0]; 99 Slog.i(TAG, "Got record status:" + recordStatus + " from " + cmd.getSource());
|
SystemAudioStatusAction.java | 79 boolean processCommand(HdmiCecMessage cmd) { 80 if (mState != STATE_WAIT_FOR_REPORT_AUDIO_STATUS || mAvrAddress != cmd.getSource()) { 84 switch (cmd.getOpcode()) { 86 handleReportAudioStatus(cmd); 93 private void handleReportAudioStatus(HdmiCecMessage cmd) { 94 byte[] params = cmd.getParams(); 95 boolean mute = HdmiUtils.isAudioStatusMute(cmd); 96 int volume = HdmiUtils.getAudioStatusVolume(cmd);
|
/art/test/testrunner/ |
run_build_test_target.py | 84 cmd = ['art/tools/golem/build-target.sh'] variable 85 cmd += ['-j' + str(n_threads)] 86 cmd += ['--showcommands'] 87 cmd += ['--machine-type=%s' %(machine_type)] 88 cmd += ['--golem=%s' %(default_golem_config)] 89 cmd += ['--tarball'] 90 sys.stdout.write(str(cmd) + '\n') 93 if subprocess.call(cmd):
|
/device/generic/goldfish/keymaster/trusty/ |
trusty_keymaster_ipc.cpp | 50 int trusty_keymaster_call(uint32_t cmd, void* in, uint32_t in_size, uint8_t* out, 56 msg->cmd = cmd; 63 ALOGE("failed to send msg_size (%d) for cmd (%d) to %s: %s\n", (int)(sizeof(pipe_command_length)), 64 (int)cmd, KEYMASTER_PORT, strerror(errno)); 69 if (in_size == 157 && cmd == KM_FINISH_OPERATION) { 78 ALOGE("failed to send cmd (%d) to %s: %s\n", cmd, KEYMASTER_PORT, strerror(errno)); 84 ALOGE("failed to retrieve response length for cmd (%d) to %s: %s\n", cmd, KEYMASTER_PORT [all...] |
/external/autotest/client/common_lib/cros/manual/ |
video_helper.py | 33 cmd = 'ls /sys/class/video4linux/' 34 video4linux_list = dut.run(cmd, ignore_status=True).stdout.split() 36 cmd = 'cat /sys/class/video4linux/{}/name'.format(video_dev) 37 video_dev_name = dut.run(cmd, ignore_status=True).stdout.strip() 38 logging.info('---%s', cmd) 54 cmd = 'lsof /dev/{} | grep chrome'.format(video) 55 lsof_output = dut.run(cmd, ignore_status=True).stdout.strip().split('\n') 56 logging.info('---%s', cmd)
|
/external/autotest/client/site_tests/security_RootfsOwners/ |
security_RootfsOwners.py | 20 cmd = 'find / -xdev -user chronos -print -o -user chronos-access -print' 21 cmd_output = utils.system_output(cmd, ignore_status=True)
|
/external/boringssl/src/util/bot/ |
vs_env.py | 23 print >>sys.stderr, "Usage: vs_env.py TARGET_ARCH CMD..." 27 cmd = sys.argv[2:] variable 36 sys.exit(subprocess.call(vs_version.SetupScript(target_arch) + ["&&"] + cmd,
|
/external/e2fsprogs/resize/ |
test_extent.c | 23 char *cp, *cmd, *arg1, *arg2; local 51 cmd = buf; 68 if (!strcmp(cmd, "create")) { 82 if (!strcmp(cmd, "free")) { 85 } else if (!strcmp(cmd, "add")) { 89 } else if (!strcmp(cmd, "lookup")) { 93 } else if (!strcmp(cmd, "dump")) { 95 } else if (!strcmp(cmd, "iter_test")) {
|
/external/elfutils/libelf/ |
elf_cntl.c | 40 elf_cntl (Elf *elf, Elf_Cmd cmd) 55 switch (cmd)
|
/external/ltp/include/ |
tst_safe_sysv_ipc.h | 40 int safe_msgctl(const char *file, const int lineno, int msqid, int cmd, 42 #define SAFE_MSGCTL(msqid, cmd, buf) do { \ 43 safe_msgctl(__FILE__, __LINE__, (msqid), (cmd), (buf)); \ 44 (msqid) = ((cmd) == IPC_RMID ? -1 : (msqid)); \ 60 int safe_shmctl(const char *file, const int lineno, int shmid, int cmd, 62 #define SAFE_SHMCTL(shmid, cmd, buf) do { \ 63 safe_shmctl(__FILE__, __LINE__, (shmid), (cmd), (buf)); \ 64 (shmid) = ((cmd) == IPC_RMID ? -1 : (shmid)); \
|
/external/skia/infra/bots/recipe_modules/run/examples/ |
full.py | 17 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)]) 23 api.run(api.step, 'fail', cmd=['false']) 26 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False) 27 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing']) 41 api.run(api.step, 'env', cmd=['env']) 48 cmd=['echo', 'between_attempt']) 52 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'], 58 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],
|
/external/skia/tools/skpbench/ |
_adb.py | 20 def shell(self, cmd): 22 self.__echo_shell_cmd(cmd) 23 self.__invoke('shell', cmd) 25 def check(self, cmd): 27 self.__echo_shell_cmd(cmd) 28 result = subprocess.check_output(self.__invocation + ['shell', cmd]) 55 def __echo_shell_cmd(self, cmd): 57 for x in cmd.strip().splitlines()]
|
/external/skqp/infra/bots/recipe_modules/run/examples/ |
full.py | 17 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)]) 23 api.run(api.step, 'fail', cmd=['false']) 26 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False) 27 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing']) 41 api.run(api.step, 'env', cmd=['env']) 48 cmd=['echo', 'between_attempt']) 52 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'], 58 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],
|
/external/skqp/tools/skpbench/ |
_adb.py | 20 def shell(self, cmd): 22 self.__echo_shell_cmd(cmd) 23 self.__invoke('shell', cmd) 25 def check(self, cmd): 27 self.__echo_shell_cmd(cmd) 28 result = subprocess.check_output(self.__invocation + ['shell', cmd]) 55 def __echo_shell_cmd(self, cmd): 57 for x in cmd.strip().splitlines()]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wifi_display.h | 17 int wifi_display_subelem_set(struct wpa_global *global, char *cmd); 20 int wifi_display_subelem_get(struct wpa_global *global, char *cmd,
|
/frameworks/base/cmds/am/ |
am | 4 cmd activity "$@"
|
/prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
cgo_test.go | 15 cmd := exec.Command(testenv.GoToolPath(t), "run", "-race", "cgo_test_main.go") 16 cmd.Stdout = os.Stdout 17 cmd.Stderr = os.Stderr 18 if err := cmd.Run(); err != nil {
|