/packages/modules/Bluetooth/system/test/mock/ |
D | mock_bta_av_api.h | 248 tBTA_AV_STATE key_state)> 252 tBTA_AV_STATE key_state) { in operator() 253 body(rc_handle, label, rc_id, key_state); in operator() 262 std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_STATE key_state, 267 void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_STATE key_state, in operator() 269 body(rc_handle, label, key_state, p_msg, buf_len); in operator()
|
D | mock_bta_av_api.cc | 146 tBTA_AV_STATE key_state) { in BTA_AvRemoteCmd() argument 148 test::mock::bta_av_api::BTA_AvRemoteCmd(rc_handle, label, rc_id, key_state); in BTA_AvRemoteCmd() 151 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument 155 rc_handle, label, key_state, p_msg, buf_len); in BTA_AvRemoteVendorUniqueCmd()
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_av_api.h | 287 tBTA_AV_STATE key_state; member 298 tBTA_AV_STATE key_state; member 581 tBTA_AV_STATE key_state); 595 tBTA_AV_STATE key_state, uint8_t* p_msg,
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_rc.h | 348 typedef void (*btrc_passthrough_cmd_callback)(int id, int key_state, 569 int key_state); 571 typedef void (*btrc_groupnavigation_rsp_callback)(int id, int key_state); 669 uint8_t key_code, uint8_t key_state); 673 uint8_t key_code, uint8_t key_state);
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_api.cc | 399 tBTA_AV_STATE key_state) { in BTA_AvRemoteCmd() argument 406 p_buf->msg.state = key_state; in BTA_AvRemoteCmd() 426 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument 435 p_buf->msg.state = key_state; in BTA_AvRemoteVendorUniqueCmd()
|
D | bta_av_act.cc | 1032 av.remote_cmd.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg() 1045 av.remote_rsp.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_rc.cc | 161 uint8_t key_state; member 964 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd() 984 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd() 1016 const char* status = (p_remote_rsp->key_state == 1) ? "released" : "pressed"; in handle_rc_passthrough_rsp() 1023 p_remote_rsp->key_state)); in handle_rc_passthrough_rsp() 1047 int key_state; in handle_rc_vendorunique_rsp() local 1048 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) { in handle_rc_vendorunique_rsp() 1050 key_state = 1; in handle_rc_vendorunique_rsp() 1053 key_state = 0; in handle_rc_vendorunique_rsp() 1065 bt_rc_ctrl_callbacks->groupnavigation_rsp_cb, vendor_id, key_state)); in handle_rc_vendorunique_rsp() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | avrcp.rs | 310 key_state: u8, in send_pass_through_cmd() 312 ccall!(self, send_pass_through_cmd, &addr, key_code.into(), key_state.into()).into() in send_pass_through_cmd()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_avrcp_controller.cpp | 802 jint key_state) { in sendPassThroughCommandNative() argument 807 log::info("key_code: {}, key_state: {}", key_code, key_state); in sendPassThroughCommandNative() 818 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendPassThroughCommandNative() 832 jint key_state) { in sendGroupNavigationCommandNative() argument 837 log::info("key_code: {}, key_state: {}", key_code, key_state); in sendGroupNavigationCommandNative() 848 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendGroupNavigationCommandNative()
|
/packages/modules/adb/ |
D | sysdeps_win32.cpp | 1615 BYTE key_state[256] = {0}; in _get_char_ignoring_modifier() local 1616 key_state[VK_SHIFT] = _is_shift_pressed(control_key_state) ? in _get_char_ignoring_modifier() 1618 key_state[VK_CONTROL] = _is_ctrl_pressed(control_key_state) ? in _get_char_ignoring_modifier() 1620 key_state[VK_MENU] = _is_alt_pressed(control_key_state) ? in _get_char_ignoring_modifier() 1622 key_state[VK_CAPITAL] = _is_capslock_on(control_key_state) ? in _get_char_ignoring_modifier() 1626 key_state[modifier] = TOASCII_KEY_OFF; in _get_char_ignoring_modifier() 1630 key_event->wVirtualScanCode, key_state, &translated, 0) == 1) { in _get_char_ignoring_modifier()
|