/aosp12/system/core/healthd/ |
H A D | healthd_mode_charger.h | 34 struct key_state { struct 66 void SetNextKeyCheck(key_state* key, int64_t timeout); 80 key_state keys_[KEY_MAX + 1] = {};
|
H A D | healthd_mode_charger.cpp | 458 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 D | bta_av_api.h | 276 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 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);
|
H A D | bluetooth_avrcp_interface.cc | 179 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 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);
|
/aosp12/system/bt/test/mock/ |
H A D | mock_bta_av_api.cc | 86 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 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
|
/aosp12/system/bt/bta/av/ |
H A D | bta_av_api.cc | 398 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 D | bta_av_act.cc | 901 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 D | avrcp_target.h | 66 int32_t key_state) = 0; 142 void PassthroughCmdCallback(int id, int key_state,
|
H A 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()
|
H A D | avrcp_target.cc | 360 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 D | IBluetoothAvrcpTargetCallback.aidl | 34 void OnPassThroughCommand(String addr, int id, int key_state); in OnPassThroughCommand() argument
|
/aosp12/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_avrcp_controller.cpp | 940 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 D | btif_rc.cc | 807 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 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()
|
H A D | bluetooth_avrcp_target_binder_server.h | 114 int32_t key_state) override;
|
/aosp12/packages/modules/adb/ |
H A D | sysdeps_win32.cpp | 1615 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()
|