Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAvrcpController.java247 public void sendGroupNavigationCmd(BluetoothDevice device, int keyCode, int keyState) { in sendGroupNavigationCmd() argument
249 + keyState); in sendGroupNavigationCmd()
254 service.sendGroupNavigationCmd(device, keyCode, keyState, mAttributionSource); in sendGroupNavigationCmd()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpControllerService.java400 public void sendGroupNavigationCmd(BluetoothDevice device, int keyCode, int keyState, in sendGroupNavigationCmd() argument
437 private void handlePassthroughRsp(int id, int keyState, byte[] address) { in handlePassthroughRsp() argument
440 + " state: " + keyState + "address:" + address); in handlePassthroughRsp()
444 private void handleGroupNavigationRsp(int id, int keyState) { in handleGroupNavigationRsp() argument
447 + keyState); in handleGroupNavigationRsp()
928 public native boolean sendPassThroughCommandNative(byte[] address, int keyCode, int keyState); in sendPassThroughCommandNative() argument
938 int keyState); in sendGroupNavigationCommandNative() argument
/aosp12/hardware/libhardware/modules/input/evdev/
H A DInputHub.cpp320 uint8_t keyState[sizeofBitArray(KEY_CNT)]; in getKeyState() local
321 memset(keyState, 0, sizeof(keyState)); in getKeyState()
322 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGKEY(sizeof(keyState)), keyState)) >= 0) { in getKeyState()
323 return testBit(key, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getKeyState()
/aosp12/system/bt/binder/android/bluetooth/
H A DIBluetoothAvrcpController.aidl42 …void sendGroupNavigationCmd(in BluetoothDevice device, int keyCode, int keyState, in AttributionSo… in sendGroupNavigationCmd() argument
/aosp12/frameworks/native/services/inputflinger/reader/
H A DEventHub.cpp827 if (device->readDeviceBitMask(EVIOCGKEY(0), device->keyState) >= 0) { in getScanCodeState()
828 return device->keyState.test(scanCode) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState()
843 if (device->readDeviceBitMask(EVIOCGKEY(0), device->keyState) >= 0) { in getKeyCodeState()
846 if (sc >= 0 && sc <= KEY_MAX && device->keyState.test(sc)) { in getKeyCodeState()
/aosp12/frameworks/native/services/inputflinger/reader/include/
H A DEventHub.h558 BitArray<KEY_MAX> keyState; member