Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 29) sorted by relevance

12

/device/google/accessory/arduino/USB_Host_Shield/
DMax_LCD.cpp139 command(LCD_FUNCTIONSET | _displayfunction); in begin()
151 command(LCD_ENTRYMODESET | _displaymode); in begin()
157 command(LCD_CLEARDISPLAY); // clear display, set cursor position to zero in clear()
163 command(LCD_RETURNHOME); // set cursor position to zero in home()
174 command(LCD_SETDDRAMADDR | (col + row_offsets[row])); in setCursor()
180 command(LCD_DISPLAYCONTROL | _displaycontrol); in noDisplay()
184 command(LCD_DISPLAYCONTROL | _displaycontrol); in display()
190 command(LCD_DISPLAYCONTROL | _displaycontrol); in noCursor()
194 command(LCD_DISPLAYCONTROL | _displaycontrol); in cursor()
201 command(LCD_DISPLAYCONTROL | _displaycontrol); in noBlink()
[all …]
DMax_LCD.h102 void command(uint8_t);
/device/google/contexthub/util/nanotool/
Dnanotool.cpp52 NanotoolCommand command = NanotoolCommand::Poll; member
154 && (args->command == NanotoolCommand::Disable in ValidateArgs()
155 || args->command == NanotoolCommand::Calibrate in ValidateArgs()
156 || args->command == NanotoolCommand::Poll)) { in ValidateArgs()
163 if (args->command == NanotoolCommand::Flash in ValidateArgs()
171 if (args->command == NanotoolCommand::Poll) { in ValidateArgs()
184 if (args->command == NanotoolCommand::Calibrate) { in ValidateArgs()
306 args->command = StrToCommand(optarg); in ParseArgs()
307 if (args->command == NanotoolCommand::Invalid) { in ParseArgs()
429 switch (args->command) { in main()
[all …]
Dcontexthub.cpp180 req.config.command = static_cast<uint8_t>( in EnableSensor()
214 req.config.command = static_cast<uint8_t>( in DisableSensor()
309 req.config.command = static_cast<uint8_t>( in CalibrateSingleSensor()
478 req.config.command = static_cast<uint8_t>( in SendCalibrationData()
Dnanomessage.h184 uint8_t command; member
Dnanomessage.cpp218 config.command, in ToString()
/device/google/dragon/recovery/updater/
Ddebug_cmd.h19 struct command { struct
21 struct command *subcmd; argument
38 extern struct command subcmds_ec[]; argument
Dfwtool.cpp300 static struct command subcmds_flash[] = {
305 static struct command subcmds_vbnv[] = {
311 static struct command cmds[] = {
321 static void print_usage(struct command *commands, int idx, int prefix, in print_usage()
325 struct command *c = commands; in print_usage()
336 static int run_cmd(struct command *commands, int idx, int prefix, in run_cmd()
339 struct command *c = commands; in run_cmd()
Dflash_ec.c40 uint32_t command; member
58 static int ec_command(void *hnd, int command, int version, in ec_command() argument
68 s_cmd.command = command; in ec_command()
78 ALOGD("Cmd 0x%x failed %d\n", command, errno); in ec_command()
81 ALOGD("Cmd 0x%x error %d\n", command, s_cmd.result); in ec_command()
Ddebug_ec.c1080 struct command subcmds_ec[] = {
/device/generic/goldfish/sensors/
Dsensors_qemu.c509 char command[64]; in sensor_device_activate() local
510 snprintf(command, in sensor_device_activate()
511 sizeof command, in sensor_device_activate()
516 ret = sensor_device_send_command_locked(dev, command); in sensor_device_activate()
537 char command[64]; in sensor_device_set_delay() local
538 snprintf(command, sizeof command, "set-delay:%d", ms); in sensor_device_set_delay()
541 int ret = sensor_device_send_command_locked(dev, command); in sensor_device_set_delay()
/device/google/contexthub/firmware/inc/
Dconsole.h26 bool Console_handle_command(char *command);
/device/asus/fugu/sepolicy/
Daudioserver.te1 # required for voice command remote control
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DDemoKitActivity.java352 public void sendCommand(byte command, byte target, int value) { in sendCommand() argument
357 buffer[0] = command; in sendCommand()
/device/linaro/hikey/installer/
DREADME35 right UART recognised in the above command:
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.cpp3247 Interpreter::Command command = in FunctionalTest() local
3251 switch (command.cmd) { in FunctionalTest()
3280 if ( command.arg ) in FunctionalTest()
3281 stat = currentCamera->setVideoSize(command.arg); in FunctionalTest()
3289 if ( command.arg ) in FunctionalTest()
3290 stat = currentCamera->setPreviewSize(command.arg); in FunctionalTest()
3298 if ( command.arg ) in FunctionalTest()
3299 stat = currentCamera->setPictureSize(command.arg); in FunctionalTest()
3420 if ( command.arg ) in FunctionalTest()
3421 usleep(1000 * atoi(command.arg)); in FunctionalTest()
/device/sample/sdk_addon/
Dmanifest.ini41 # of USB Vendor IDs it knows. After installing an add-on the command
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c56 int (*command)(effect_context_t *context, uint32_t cmdCode, uint32_t cmdSize, member
887 context->ops.command = visualizer_command; in effect_lib_create()
1158 if (cmdCode >= EFFECT_CMD_FIRST_PROPRIETARY && context->ops.command) in effect_command()
1159 status = context->ops.command(context, cmdCode, cmdSize, in effect_command()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c166 switch (msm_evt->command) { in mm_camera_event_notify()
173 my_obj->evt_rcvd.server_event_type = msm_evt->command; in mm_camera_event_notify()
181 evt.server_event_type = msm_evt->command; in mm_camera_event_notify()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c166 switch (msm_evt->command) { in mm_camera_event_notify()
173 my_obj->evt_rcvd.server_event_type = msm_evt->command; in mm_camera_event_notify()
181 evt.server_event_type = msm_evt->command; in mm_camera_event_notify()
/device/htc/flounder/audio/hal/
Daudio_hw.c1060 int status = (*handle)->command(handle, in set_preprocessor_param()
1298 fct_status = (*(in->preprocessors[i].effect_itfe))->command( in in_configure_reverse()
1335 cmd_status = (*effect)->command(effect, in in_read_audio_effect_channel_configs()
1438 fct_status = (*effect)->command(effect, in in_configure_effect_channels()
1452 fct_status = (*effect)->command(effect, in in_configure_effect_channels()
1463 fct_status = (*effect)->command(effect, in in_configure_effect_channels()
1473 fct_status = (*effect)->command(effect, in in_configure_effect_channels()
2120 static int send_offload_cmd_l(struct stream_out* out, int command) in send_offload_cmd_l() argument
2124 ALOGVV("%s %d", __func__, command); in send_offload_cmd_l()
2126 cmd->cmd = command; in send_offload_cmd_l()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c162 switch (msm_evt->command) { in mm_camera_event_notify()
169 my_obj->evt_rcvd.server_event_type = msm_evt->command; in mm_camera_event_notify()
/device/google/accessory/demokit/firmware/demokit/
Ddemokit.pde156 // assumes only one command per packet
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.cpp3108 int QCamera2HardwareInterface::sendCommand(int32_t command, int32_t /*arg1*/, int32_t /*arg2*/) in sendCommand() argument
3112 switch (command) { in sendCommand()
3141 rc = setHistogram(command == CAMERA_CMD_HISTOGRAM_ON? true : false); in sendCommand()
3146 … mParameters.setFaceDetectionOption(command == CAMERA_CMD_START_FACE_DETECTION? true : false); in sendCommand()
3147 rc = setFaceDetection(command == CAMERA_CMD_START_FACE_DETECTION? true : false); in sendCommand()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp3956 int QCamera2HardwareInterface::sendCommand(int32_t command, in sendCommand() argument
3961 switch (command) { in sendCommand()
4024 rc = setHistogram(command == CAMERA_CMD_HISTOGRAM_ON? true : false); in sendCommand()
4029 … mParameters.setFaceDetectionOption(command == CAMERA_CMD_START_FACE_DETECTION? true : false); in sendCommand()
4030 rc = setFaceDetection(command == CAMERA_CMD_START_FACE_DETECTION? true : false); in sendCommand()

12