Lines Matching defs:command
179 /* Send a command to the sensors virtual device. |dev| is a device instance and
180 * |cmd| is a zero-terminated command string. Return 0 on success, or -errno
228 * 'wake' command is received through the service. On succes, return 0
247 // until a 'sync' or 'wake' command is received. This also simplifies the
350 D("huh ? unsupported command");
476 /* Send command to the emulator. */
477 char command[64];
478 snprintf(command,
479 sizeof command,
484 ret = sensor_device_send_command_locked(dev, command);
486 E("%s: when sending command errno=%d: %s", __FUNCTION__, -ret,
505 char command[64];
506 snprintf(command, sizeof command, "set-delay:%d", ms);
509 int ret = sensor_device_send_command_locked(dev, command);
512 E("%s: Could not send command: %s", __FUNCTION__, strerror(-ret));