Home
last modified time | relevance | path

Searched refs:key_state (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/bta/include/
Dbta_av_api.h280 tBTA_AV_STATE key_state; member
291 tBTA_AV_STATE key_state; member
574 tBTA_AV_STATE key_state);
588 tBTA_AV_STATE key_state, uint8_t* p_msg,
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h348 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/test/mock/
Dmock_bta_av_api.cc83 tBTA_AV_STATE key_state) { in BTA_AvRemoteCmd() argument
87 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_api.cc403 tBTA_AV_STATE key_state) { in BTA_AvRemoteCmd() argument
410 p_buf->msg.state = key_state; in BTA_AvRemoteCmd()
430 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
439 p_buf->msg.state = key_state; in BTA_AvRemoteVendorUniqueCmd()
Dbta_av_act.cc913 av.remote_cmd.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
926 av.remote_rsp.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_rc_test.cc73 tBTA_AV_STATE key_state) {} in BTA_AvRemoteCmd() argument
75 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc159 uint8_t key_state; member
807 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd()
829 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd()
863 const char* status = (p_remote_rsp->key_state == 1) ? "released" : "pressed"; in handle_rc_passthrough_rsp()
872 p_remote_rsp->rc_id, p_remote_rsp->key_state)); in handle_rc_passthrough_rsp()
897 int key_state; in handle_rc_vendorunique_rsp() local
898 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) { in handle_rc_vendorunique_rsp()
900 key_state = 1; in handle_rc_vendorunique_rsp()
903 key_state = 0; in handle_rc_vendorunique_rsp()
917 vendor_id, key_state)); in handle_rc_vendorunique_rsp()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Davrcp.rs309 key_state: u8, in send_pass_through_cmd()
311 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/
Dcom_android_bluetooth_avrcp_controller.cpp938 jint key_state) { in sendPassThroughCommandNative() argument
943 ALOGI("key_code: %d, key_state: %d", key_code, key_state); in sendPassThroughCommandNative()
954 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendPassThroughCommandNative()
966 jint key_state) { in sendGroupNavigationCommandNative() argument
971 ALOGI("key_code: %d, key_state: %d", key_code, key_state); in sendGroupNavigationCommandNative()
982 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendGroupNavigationCommandNative()
/packages/modules/adb/
Dsysdeps_win32.cpp1615 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()