Home
last modified time | relevance | path

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

/aosp12/system/core/healthd/
H A Dhealthd_mode_charger.h34 struct key_state { struct
66 void SetNextKeyCheck(key_state* key, int64_t timeout);
80 key_state keys_[KEY_MAX + 1] = {};
H A Dhealthd_mode_charger.cpp458 void Charger::SetNextKeyCheck(key_state* key, int64_t timeout) { in SetNextKeyCheck()
465 key_state* key = &keys_[code]; in ProcessKey()
/aosp12/system/bt/bta/include/
H A Dbta_av_api.h276 tBTA_AV_STATE key_state; member
287 tBTA_AV_STATE key_state; member
570 tBTA_AV_STATE key_state);
584 tBTA_AV_STATE key_state, uint8_t* p_msg,
/aosp12/system/bt/service/hal/
H A Dbluetooth_avrcp_interface.h62 virtual void PassthroughCmdCallback(int id, int key_state,
94 int key_state);
95 virtual void GroupnavigationRspCallback(int id, int key_state);
H A Dbluetooth_avrcp_interface.cc179 void PassthroughCmdCallback(int id, int key_state, const RawAddress& bd_addr) { in PassthroughCmdCallback() argument
184 observer.PassthroughCmdCallback(id, key_state, bd_addr); in PassthroughCmdCallback()
279 void PassthroughRspCallback(const RawAddress& bd_addr, int id, int key_state) { in PassthroughRspCallback() argument
284 observer.PassthroughRspCallback(bd_addr, id, key_state); in PassthroughRspCallback()
288 void GroupnavigationRspCallback(int id, int key_state) { in GroupnavigationRspCallback() argument
293 observer.GroupnavigationRspCallback(id, key_state); in GroupnavigationRspCallback()
695 int id, int key_state, const RawAddress& bd_addr) { in PassthroughCmdCallback() argument
/aosp12/system/bt/include/hardware/
H A Dbt_rc.h347 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);
/aosp12/system/bt/test/mock/
H A Dmock_bta_av_api.cc86 tBTA_AV_STATE key_state) { in BTA_AvRemoteCmd() argument
90 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
/aosp12/system/bt/btif/test/
H A Dbtif_rc_test.cc69 tBTA_AV_STATE key_state) {} in BTA_AvRemoteCmd() argument
71 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
/aosp12/system/bt/bta/av/
H A Dbta_av_api.cc398 tBTA_AV_STATE key_state) { in BTA_AvRemoteCmd() argument
405 p_buf->msg.state = key_state; in BTA_AvRemoteCmd()
425 tBTA_AV_STATE key_state, uint8_t* p_msg, in BTA_AvRemoteVendorUniqueCmd() argument
434 p_buf->msg.state = key_state; in BTA_AvRemoteVendorUniqueCmd()
H A Dbta_av_act.cc901 av.remote_cmd.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
914 av.remote_rsp.key_state = p_data->rc_msg.msg.pass.state; in bta_av_rc_msg()
/aosp12/system/bt/service/
H A Davrcp_target.h66 int32_t key_state) = 0;
142 void PassthroughCmdCallback(int id, int key_state,
H A Davrcp_control.cc70 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()
H A Davrcp_target.cc360 void AvrcpTarget::PassthroughCmdCallback(int id, int key_state, in PassthroughCmdCallback() argument
364 if (delegate_) delegate_->OnPassThroughCommand(str_addr, id, key_state); in PassthroughCmdCallback()
/aosp12/system/bt/service/common/android/bluetooth/
H A DIBluetoothAvrcpTargetCallback.aidl34 void OnPassThroughCommand(String addr, int id, int key_state); in OnPassThroughCommand() argument
/aosp12/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp_controller.cpp940 jint key_state) { in sendPassThroughCommandNative() argument
945 ALOGI("key_code: %d, key_state: %d", key_code, key_state); in sendPassThroughCommandNative()
956 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendPassThroughCommandNative()
968 jint key_state) { in sendGroupNavigationCommandNative() argument
973 ALOGI("key_code: %d, key_state: %d", key_code, key_state); in sendGroupNavigationCommandNative()
984 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendGroupNavigationCommandNative()
/aosp12/system/bt/btif/src/
H A Dbtif_rc.cc807 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd()
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()
1061 p_data->remote_cmd.key_state); in btif_rc_handler()
1235 remote_cmd.key_state = AVRC_STATE_PRESS; in btif_rc_check_handle_pending_play()
1240 remote_cmd.key_state = AVRC_STATE_RELEASE; in btif_rc_check_handle_pending_play()
5236 key_state); in send_groupnavigation_cmd()
[all …]
/aosp12/system/bt/service/ipc/binder/
H A Dbluetooth_avrcp_target_binder_server.cc304 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()
H A Dbluetooth_avrcp_target_binder_server.h114 int32_t key_state) override;
/aosp12/packages/modules/adb/
H A 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()