Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.h34 struct key_state { struct
66 void SetNextKeyCheck(key_state* key, int64_t timeout);
80 key_state keys_[KEY_MAX + 1] = {};
Dhealthd_mode_charger.cpp458 void Charger::SetNextKeyCheck(key_state* key, int64_t timeout) { in SetNextKeyCheck()
465 key_state* key = &keys_[code]; in ProcessKey()
/system/bt/service/hal/
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);
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
/system/bt/test/mock/
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
/system/bt/bta/include/
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,
/system/bt/btif/test/
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
/system/bt/service/common/android/bluetooth/
DIBluetoothAvrcpTargetCallback.aidl34 void OnPassThroughCommand(String addr, int id, int key_state); in OnPassThroughCommand() argument
/system/bt/include/hardware/
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);
/system/bt/bta/av/
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()
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()
/system/bt/service/
Davrcp_target.h66 int32_t key_state) = 0;
142 void PassthroughCmdCallback(int id, int key_state,
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()
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()
/system/bt/service/ipc/binder/
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()
Dbluetooth_avrcp_target_binder_server.h114 int32_t key_state) override;
/system/bt/btif/src/
Dbtif_rc.cc807 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()
1061 p_data->remote_cmd.key_state); in btif_rc_handler()
[all …]