Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 33) sorted by relevance

12

/development/ndk/sources/android/libportable/arch-x86/
Dfcntl.c24 int WRAP(fcntl)(int fd, int cmd, ...) in WRAP()
29 va_start(ap, cmd); in WRAP()
33 if (cmd == F_GETLK64 || in WRAP()
34 cmd == F_SETLK64 || in WRAP()
35 cmd == F_SETLKW64) { in WRAP()
37 int result = __fcntl64(fd, cmd, (void *) &x86_flock64); in WRAP()
50 return __fcntl64(fd, cmd, arg); in WRAP()
/development/ndk/platforms/android-3/include/linux/
Dwireless.h91 #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 …]
Dandroid_alarm.h47 #define ANDROID_ALARM_BASE_CMD(cmd) (cmd & ~(_IOC(0, 0, 0xf0, 0))) argument
48 #define ANDROID_ALARM_IOCTL_TO_TYPE(cmd) (_IOC_NR(cmd) >> 4) argument
Dcapi.h57 unsigned long cmd; member
74 capi_manufacturer_cmd cmd; member
Dquota.h39 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) argument
Dif_vlan.h37 int cmd; member
Dfd.h242 unsigned char cmd[16]; member
/development/ndk/platforms/android-3/include/linux/mmc/
Dmmc.h46 #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/
Drun_command.py37 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)
Dadb_interface.py74 def SendShellCommand(self, cmd, timeout_time=20, retry_count=3): argument
90 return self.SendCommand("shell %s" % cmd, timeout_time=timeout_time,
279 def PreviewShellCommand(self, cmd): argument
280 return "adb %s shell %s" % (self._target_arg, cmd)
Druntest.py275 cmd = 'ONE_SHOT_MAKEFILE="%s" make -j%s -C "%s" GET-INSTALL-PATH all_modules %s' % (
278 logger.Log(cmd)
280 output = run_command.RunCommand(cmd, return_output=True, timeout_time=600)
338 cmd = ('make -j%s %s' % (self._options.make_jobs,
340 logger.Log(cmd)
344 output = run_command.RunCommand(cmd, return_output=True)
/development/tools/idegen/
Dintellij-gen.sh67 cmd="java -cp $idegenjar com.android.idegen.IntellijProject $index_file $module_name"
68 echo $cmd
69 $cmd
/development/ndk/sources/android/native_app_glue/
Dandroid_native_app_glue.c49 int8_t cmd; in android_app_read_cmd() local
50 if (read(android_app->msgread, &cmd, sizeof(cmd)) == sizeof(cmd)) { in android_app_read_cmd()
51 switch (cmd) { in android_app_read_cmd()
56 return cmd; in android_app_read_cmd()
88 void android_app_pre_exec_cmd(struct android_app* android_app, int8_t cmd) { in android_app_pre_exec_cmd() argument
89 switch (cmd) { in android_app_pre_exec_cmd()
124 LOGV("activityState=%d\n", cmd); in android_app_pre_exec_cmd()
126 android_app->activityState = cmd; in android_app_pre_exec_cmd()
145 void android_app_post_exec_cmd(struct android_app* android_app, int8_t cmd) { in android_app_post_exec_cmd() argument
146 switch (cmd) { in android_app_post_exec_cmd()
[all …]
Dandroid_native_app_glue.h117 void (*onAppCmd)(struct android_app* app, int32_t cmd);
325 void android_app_pre_exec_cmd(struct android_app* android_app, int8_t cmd);
332 void android_app_post_exec_cmd(struct android_app* android_app, int8_t cmd);
/development/scripts/
Dsymbol.py34 cmd = ("CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core "
37 stream = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True).stdout
199 cmd = [ToolPath("addr2line"), "--functions", "--inlines",
201 child = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
271 cmd = [ToolPath("objdump"),
294 stream = subprocess.Popen(cmd, stdout=subprocess.PIPE).stdout
332 cmd = [ToolPath("c++filt")]
333 process = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
/development/testrunner/test_defs/
Dhost_test.py102 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/
DMonkeyCommandEvent.java31 public MonkeyCommandEvent(String cmd) { in MonkeyCommandEvent() argument
33 mCmd = cmd; in MonkeyCommandEvent()
DMonkeyGetAppFrameRateEvent.java126 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 System.err.println("// Exception from " + cmd + ":"); in injectEvent()
/development/ndk/platforms/android-3/include/linux/raid/
Dmd_k.h180cmd) 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/ndk/platforms/android-3/include/sys/
D_system_properties.h71 unsigned cmd; member
/development/build/tools/
Dmk_sources_zip.py207 def shellExec(*cmd): argument
216 verbose("exec: %s", repr(cmd))
217 subprocess.check_call(cmd)
/development/ndk/platforms/android-9/samples/native-activity/jni/
Dmain.c182 static void engine_handle_cmd(struct android_app* app, int32_t cmd) { in engine_handle_cmd() argument
184 switch (cmd) { in engine_handle_cmd()
/development/ndk/sources/android/libportable/arch-mips/
Dfcntl.c38 static char *map_portable_cmd_to_name(int cmd) in map_portable_cmd_to_name() argument
42 switch(cmd) { in map_portable_cmd_to_name()
/development/testrunner/coverage/
Dcoverage.py189 def _RunCmd(self, cmd): argument
191 run_command.RunCommand(cmd, return_output=False)
/development/ndk/platforms/android-9/samples/native-plasma/jni/
Dplasma.c428 static void engine_handle_cmd(struct android_app* app, int32_t cmd) { in engine_handle_cmd() argument
430 switch (cmd) { in engine_handle_cmd()

12