Home
last modified time | relevance | path

Searched refs:keycode (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tools/keventreader/server/
Devent.cpp24 KeypressEvent::KeypressEvent(const std::string source, uint32_t keycode, bool keydown) { in KeypressEvent() argument
26 this->keycode = keycode; in KeypressEvent()
33 parcel->writeUint32(keycode); in writeToParcel()
42 keycode = parcel->readUint32(); in readFromParcel()
Dkeymap.h28 std::string getDisplayName(int keycode);
Dkeymap.cpp31 std::string Keymap::getDisplayName(int keycode) { in getDisplayName() argument
32 auto iter = mKeyMap.find(keycode), end = mKeyMap.end(); in getDisplayName()
35 ss << "unknown " << keycode; in getDisplayName()
/packages/services/Car/tools/keventreader/common/com/android/car/keventreader/
DKeypressEvent.java584 public final int keycode; field in KeypressEvent
600 keycode = in.readInt(); in KeypressEvent()
612 dest.writeInt(keycode); in writeToParcel()
621 other.keycode == keycode && in equals()
629 return Objects.hash(source, keycode, isKeydown); in hashCode()
634 return"Event{source = " + source + ", keycode = " + keycode + in toString()
639 return keycodeToString(keycode); in keycodeToString()
648 public static String keycodeToString(int keycode) { in keycodeToString() argument
649 String ret = KEYCODE_NAME_MAP.get(keycode); in keycodeToString()
650 return ret != null ? ret : "0x" + Integer.toHexString(keycode); in keycodeToString()
/packages/services/Car/tools/keventreader/common/
Devent.h28 KeypressEvent(const std::string source = "", uint32_t keycode = 0, bool keydown = false);
31 uint32_t keycode; member
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_core.py150 def send_keycode(self, keycode: str) -> None: