/aosp12/bootable/recovery/recovery_ui/ |
H A D | ui.cpp | 96 if (key_code == KEY_POWER) { in OnKeyDetected() 98 } else if (key_code == KEY_DOWN || key_code == KEY_VOLUMEDOWN) { in OnKeyDetected() 100 } else if (key_code == KEY_UP || key_code == KEY_VOLUMEUP) { in OnKeyDetected() 102 } else if (key_code == ABS_MT_POSITION_X || key_code == ABS_MT_POSITION_Y) { in OnKeyDetected() 362 key_pressed[key_code] = updown; in ProcessKey() 365 key_last_down = key_code; in ProcessKey() 370 if (key_last_down == key_code) { in ProcessKey() 395 EnqueueKey(key_code); in ProcessKey() 410 if (long_press) KeyLongPress(key_code); in TimeKey() 413 void RecoveryUI::EnqueueKey(int key_code) { in EnqueueKey() argument [all …]
|
/aosp12/system/extras/slideshow/ |
H A D | slideshow.cpp | 34 static int input_cb(int fd, unsigned int epevents, int *key_code) in input_cb() argument 38 *key_code = -1; in input_cb() 45 *key_code = ev.code; in input_cb() 87 int key_code = -1; in main() local 114 std::placeholders::_2, &key_code)) == -1) { in main() 131 if (key_code != -1) { in main() 157 } while (key_code != KEY_POWER); in main()
|
/aosp12/bootable/recovery/minui/ |
H A D | events.cpp | 320 for (int key_code = 0; key_code <= KEY_MAX; ++key_code) { in ev_iterate_available_keys() local 321 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys() 322 f(key_code); in ev_iterate_available_keys() 344 for (int key_code = 0; key_code <= KEY_MAX; ++key_code) { in ev_iterate_touch_inputs() local 345 if (test_bit(key_code, key_bits)) { in ev_iterate_touch_inputs() 346 action(key_code); in ev_iterate_touch_inputs()
|
/aosp12/bootable/recovery/recovery_ui/include/recovery_ui/ |
H A D | ui.h | 198 void EnqueueKey(int key_code); 225 void OnKeyDetected(int key_code); 228 void ProcessKey(int key_code, int updown); 229 void TimeKey(int key_code, int count);
|
/aosp12/system/bt/service/common/android/bluetooth/ |
H A D | IBluetoothAvrcpControl.aidl | 30 int key_code, boolean key_pressed); in SendPassThroughCommand() argument
|
/aosp12/system/bt/service/ |
H A D | avrcp_control.cc | 63 uint8_t key_code, bool key_pressed) { in SendPassThroughCommand() argument 76 ->send_pass_through_cmd(addr, key_code, key_state); in SendPassThroughCommand()
|
H A D | avrcp_control.h | 71 uint8_t key_code, bool key_pressed);
|
/aosp12/system/bt/service/ipc/binder/ |
H A D | bluetooth_avrcp_control_binder_server.cc | 102 int32_t id, const String16& device_address, int32_t key_code, in SendPassThroughCommand() argument 113 key_code, key_pressed)) { in SendPassThroughCommand()
|
H A D | bluetooth_avrcp_control_binder_server.h | 55 int32_t id, const android::String16& device_address, int32_t key_code,
|
/aosp12/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_avrcp_controller.cpp | 939 jbyteArray address, jint key_code, 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() 967 jint key_code, 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/bootable/recovery/tests/unit/ |
H A D | screen_ui_test.cpp | 327 KeyCode key_code = static_cast<KeyCode>(key); in KeyHandler() local 328 if (kKeyMapping.find(key_code) != kKeyMapping.end()) { in KeyHandler() 329 return kKeyMapping.at(key_code); in KeyHandler()
|
/aosp12/system/bt/include/hardware/ |
H A D | bt_rc.h | 668 uint8_t key_code, uint8_t key_state); 672 uint8_t key_code, uint8_t key_state);
|
/aosp12/system/bt/btif/src/ |
H A D | btif_rc.cc | 5231 uint8_t key_code, in send_groupnavigation_cmd() argument 5235 BTIF_TRACE_DEBUG("%s: key-code: %d, key-state: %d", __func__, key_code, in send_groupnavigation_cmd() 5248 UINT8_TO_BE_STREAM(start, key_code); in send_groupnavigation_cmd() 5276 uint8_t key_code, uint8_t key_state) { in send_passthrough_cmd() argument 5285 BTIF_TRACE_DEBUG("%s: key-code: %d, key-state: %d", __func__, key_code, in send_passthrough_cmd() 5291 (tBTA_AV_RC)key_code, (tBTA_AV_STATE)key_state); in send_passthrough_cmd()
|