Searched defs:key_state (Results 1 - 5 of 5) sorted by relevance

/system/bt/bta/av/
H A Dbta_av_api.cc408 tBTA_AV_STATE key_state) {
415 p_buf->msg.state = key_state;
435 tBTA_AV_STATE key_state, uint8_t* p_msg,
444 p_buf->msg.state = key_state;
407 BTA_AvRemoteCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_RC rc_id, tBTA_AV_STATE key_state) argument
434 BTA_AvRemoteVendorUniqueCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_STATE key_state, uint8_t* p_msg, uint8_t buf_len) argument
/system/core/healthd/
H A Dhealthd_mode_charger.cpp85 struct key_state { struct
98 key_state keys[KEY_MAX + 1];
414 static void set_next_key_check(charger* charger, key_state* key, int64_t timeout) {
422 key_state* key = &charger->keys[code];
/system/bt/bta/include/
H A Dbta_av_api.h277 tBTA_AV_STATE key_state; member in struct:__anon274
288 tBTA_AV_STATE key_state; member in struct:__anon275
577 tBTA_AV_STATE key_state);
591 tBTA_AV_STATE key_state, uint8_t* p_msg,
/system/bt/btif/src/
H A Dbtif_rc.cc723 * tBTA_AV_STATE key_state status of key press
749 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) {
771 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0;
805 const char* status = (p_remote_rsp->key_state == 1) ? "released" : "pressed";
814 p_remote_rsp->rc_id, p_remote_rsp->key_state));
839 int key_state; local
840 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) {
842 key_state = 1;
845 key_state = 0;
859 vendor_id, key_state));
[all...]
/system/core/adb/
H A Dsysdeps_win32.cpp1307 BYTE key_state[256] = {0}; local
1308 key_state[VK_SHIFT] = _is_shift_pressed(control_key_state) ?
1310 key_state[VK_CONTROL] = _is_ctrl_pressed(control_key_state) ?
1312 key_state[VK_MENU] = _is_alt_pressed(control_key_state) ?
1314 key_state[VK_CAPITAL] = _is_capslock_on(control_key_state) ?
1318 key_state[modifier] = TOASCII_KEY_OFF;
1322 key_event->wVirtualScanCode, key_state, &translated, 0) == 1) {

Completed in 169 milliseconds