Home
last modified time | relevance | path

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

/system/bt/bta/include/
Dbta_av_api.h376 tBTA_AV_STATE key_state; member
388 tBTA_AV_STATE key_state; member
712 tBTA_AV_STATE key_state);
725 void BTA_AvRemoteVendorUniqueCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_STATE key_state,
/system/bt/bta/av/
Dbta_av_api.c420 void BTA_AvRemoteCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_RC rc_id, tBTA_AV_STATE key_state) in BTA_AvRemoteCmd() argument
428 p_buf->msg.state = key_state; in BTA_AvRemoteCmd()
448 tBTA_AV_STATE key_state, UINT8* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
459 p_buf->msg.state = key_state; in BTA_AvRemoteVendorUniqueCmd()
Dbta_av_act.c927 av.remote_cmd.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
941 av.remote_rsp.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
/system/bt/btif/src/
Dbtif_rc.c715 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) in handle_rc_passthrough_cmd()
739 if (p_remote_cmd->key_state == AVRC_STATE_RELEASE) { in handle_rc_passthrough_cmd()
800 int key_state; in handle_rc_passthrough_rsp() local
801 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) in handle_rc_passthrough_rsp()
804 key_state = 1; in handle_rc_passthrough_rsp()
809 key_state = 0; in handle_rc_passthrough_rsp()
816 HAL_CBACK(bt_rc_ctrl_callbacks, passthrough_rsp_cb, p_remote_rsp->rc_id, key_state); in handle_rc_passthrough_rsp()
843 int key_state; in handle_rc_vendorunique_rsp() local
844 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) in handle_rc_vendorunique_rsp()
847 key_state = 1; in handle_rc_vendorunique_rsp()
[all …]
/system/core/healthd/
Dhealthd_mode_charger.cpp87 struct key_state { struct
100 struct key_state keys[KEY_MAX + 1]; argument
612 struct key_state *key, in set_next_key_check()
623 struct key_state *key = &charger->keys[code]; in process_key()
/system/core/adb/
Dsysdeps_win32.cpp1440 BYTE key_state[256] = {0}; in _get_char_ignoring_modifier() local
1441 key_state[VK_SHIFT] = _is_shift_pressed(control_key_state) ? in _get_char_ignoring_modifier()
1443 key_state[VK_CONTROL] = _is_ctrl_pressed(control_key_state) ? in _get_char_ignoring_modifier()
1445 key_state[VK_MENU] = _is_alt_pressed(control_key_state) ? in _get_char_ignoring_modifier()
1447 key_state[VK_CAPITAL] = _is_capslock_on(control_key_state) ? in _get_char_ignoring_modifier()
1451 key_state[modifier] = TOASCII_KEY_OFF; in _get_char_ignoring_modifier()
1455 key_event->wVirtualScanCode, key_state, &translated, 0) == 1) { in _get_char_ignoring_modifier()