/system/core/healthd/ |
D | healthd_mode_charger.h | 34 struct key_state { struct 61 void SetNextKeyCheck(key_state* key, int64_t timeout); 75 key_state keys_[KEY_MAX + 1] = {};
|
D | healthd_mode_charger.cpp | 449 void Charger::SetNextKeyCheck(key_state* key, int64_t timeout) { in SetNextKeyCheck() 456 key_state* key = &keys_[code]; in ProcessKey()
|
/system/bt/service/hal/ |
D | bluetooth_avrcp_interface.h | 62 virtual void PassthroughCmdCallback(int id, int key_state, 94 int key_state); 95 virtual void GroupnavigationRspCallback(int id, int key_state);
|
D | bluetooth_avrcp_interface.cc | 178 void PassthroughCmdCallback(int id, int key_state, const RawAddress& bd_addr) { in PassthroughCmdCallback() argument 183 observer.PassthroughCmdCallback(id, key_state, bd_addr); in PassthroughCmdCallback() 278 void PassthroughRspCallback(const RawAddress& bd_addr, int id, int key_state) { in PassthroughRspCallback() argument 283 observer.PassthroughRspCallback(bd_addr, id, key_state); in PassthroughRspCallback() 287 void GroupnavigationRspCallback(int id, int key_state) { in GroupnavigationRspCallback() argument 292 observer.GroupnavigationRspCallback(id, key_state); in GroupnavigationRspCallback() 694 int id, int key_state, const RawAddress& bd_addr) { in PassthroughCmdCallback() argument
|
/system/bt/bta/include/ |
D | bta_av_api.h | 282 tBTA_AV_STATE key_state; member 293 tBTA_AV_STATE key_state; member 584 tBTA_AV_STATE key_state); 598 tBTA_AV_STATE key_state, uint8_t* p_msg,
|
/system/bt/btif/test/ |
D | btif_rc_test.cc | 69 tBTA_AV_STATE key_state) {} in BTA_AvRemoteCmd() argument 71 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothAvrcpTargetCallback.aidl | 34 void OnPassThroughCommand(String addr, int id, int key_state); in OnPassThroughCommand() argument
|
/system/bt/include/hardware/ |
D | bt_rc.h | 347 typedef void (*btrc_passthrough_cmd_callback)(int id, int key_state, 568 int key_state); 570 typedef void (*btrc_groupnavigation_rsp_callback)(int id, int key_state); 668 uint8_t key_code, uint8_t key_state); 672 uint8_t key_code, uint8_t key_state);
|
/system/bt/service/ |
D | avrcp_target.h | 66 int32_t key_state) = 0; 142 void PassthroughCmdCallback(int id, int key_state,
|
D | avrcp_control.cc | 70 uint8_t key_state = key_pressed ? AVRC_STATE_PRESS : AVRC_STATE_RELEASE; in SendPassThroughCommand() local 76 ->send_pass_through_cmd(addr, key_code, key_state); in SendPassThroughCommand()
|
D | avrcp_target.cc | 359 void AvrcpTarget::PassthroughCmdCallback(int id, int key_state, in PassthroughCmdCallback() argument 363 if (delegate_) delegate_->OnPassThroughCommand(str_addr, id, key_state); in PassthroughCmdCallback()
|
/system/bt/bta/av/ |
D | bta_av_api.cc | 409 tBTA_AV_STATE key_state) { in BTA_AvRemoteCmd() argument 416 p_buf->msg.state = key_state; in BTA_AvRemoteCmd() 436 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument 445 p_buf->msg.state = key_state; in BTA_AvRemoteVendorUniqueCmd()
|
D | bta_av_act.cc | 907 av.remote_cmd.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg() 920 av.remote_rsp.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_avrcp_target_binder_server.cc | 304 const std::string& addr, int32_t id, int32_t key_state) { in OnPassThroughCommand() argument 307 cb->OnPassThroughCommand(String16(addr.data(), addr.size()), id, key_state); in OnPassThroughCommand()
|
D | bluetooth_avrcp_target_binder_server.h | 114 int32_t key_state) override;
|
/system/bt/btif/src/ |
D | btif_rc.cc | 808 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd() 830 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd() 864 const char* status = (p_remote_rsp->key_state == 1) ? "released" : "pressed"; in handle_rc_passthrough_rsp() 873 p_remote_rsp->rc_id, p_remote_rsp->key_state)); in handle_rc_passthrough_rsp() 898 int key_state; in handle_rc_vendorunique_rsp() local 899 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) { in handle_rc_vendorunique_rsp() 901 key_state = 1; in handle_rc_vendorunique_rsp() 904 key_state = 0; in handle_rc_vendorunique_rsp() 918 vendor_id, key_state)); in handle_rc_vendorunique_rsp() 1062 p_data->remote_cmd.key_state); in btif_rc_handler() [all …]
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 1450 BYTE key_state[256] = {0}; in _get_char_ignoring_modifier() local 1451 key_state[VK_SHIFT] = _is_shift_pressed(control_key_state) ? in _get_char_ignoring_modifier() 1453 key_state[VK_CONTROL] = _is_ctrl_pressed(control_key_state) ? in _get_char_ignoring_modifier() 1455 key_state[VK_MENU] = _is_alt_pressed(control_key_state) ? in _get_char_ignoring_modifier() 1457 key_state[VK_CAPITAL] = _is_capslock_on(control_key_state) ? in _get_char_ignoring_modifier() 1461 key_state[modifier] = TOASCII_KEY_OFF; in _get_char_ignoring_modifier() 1465 key_event->wVirtualScanCode, key_state, &translated, 0) == 1) { in _get_char_ignoring_modifier()
|