Home
last modified time | relevance | path

Searched refs:locationKeyCode (Results 1 – 25 of 25) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.h45 int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const override;
DInputMapper.cpp67 int32_t InputMapper::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
DInputMapper.h87 virtual int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const;
DKeyboardInputMapper.cpp379 int32_t KeyboardInputMapper::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
380 return getDeviceContext().getKeyCodeForKeyLocation(locationKeyCode); in getKeyCodeForKeyLocation()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java55 int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode); in getKeyCodeForKeyLocation() argument
316 public native int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode); in getKeyCodeForKeyLocation() argument
DInputManagerService.java671 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() argument
672 if (locationKeyCode <= KEYCODE_UNKNOWN || locationKeyCode > KeyEvent.getMaxKeyCode()) { in getKeyCodeForKeyLocation()
675 return mNative.getKeyCodeForKeyLocation(deviceId, locationKeyCode); in getKeyCodeForKeyLocation()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h103 int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const;
378 inline int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation() argument
379 return mEventHub->getKeyCodeForKeyLocation(mId, locationKeyCode); in getKeyCodeForKeyLocation()
DInputReader.h70 int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const override;
DEventHub.h348 virtual int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const = 0;
561 int32_t locationKeyCode) const override final;
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp158 int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
159 return reader->getKeyCodeForKeyLocation(deviceId, locationKeyCode); in getKeyCodeForKeyLocation()
DMapperHelpers.h197 int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const override { in getKeyCodeForKeyLocation() argument
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp584 int32_t InputDevice::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
586 [locationKeyCode](const InputMapper& mapper) -> std::optional<int32_t> const { in getKeyCodeForKeyLocation()
588 return std::make_optional(mapper.getKeyCodeForKeyLocation(locationKeyCode)); in getKeyCodeForKeyLocation()
DInputReader.cpp644 int32_t InputReader::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
653 return device->getKeyCodeForKeyLocation(locationKeyCode); in getKeyCodeForKeyLocation()
DEventHub.cpp1081 int32_t EventHub::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
1090 device->keyMap.keyLayoutMap->findScanCodesForKey(locationKeyCode); in getKeyCodeForKeyLocation()
1094 locationKeyCode, deviceId); in getKeyCodeForKeyLocation()
1099 locationKeyCode); in getKeyCodeForKeyLocation()
1109 outKeyCode = locationKeyCode; in getKeyCodeForKeyLocation()
/frameworks/native/services/inputflinger/tests/
DFakeEventHub.cpp466 int32_t FakeEventHub::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
471 auto it = device->keyCodeMapping.find(locationKeyCode); in getKeyCodeForKeyLocation()
472 return it != device->keyCodeMapping.end() ? it->second : locationKeyCode; in getKeyCodeForKeyLocation()
DInterfaceMocks.h139 MOCK_METHOD(int32_t, getKeyCodeForKeyLocation, (int32_t deviceId, int32_t locationKeyCode),
DFakeEventHub.h191 int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const override;
DInputReader_test.cpp325 int32_t getKeyCodeForKeyLocation(int32_t locationKeyCode) const override { in getKeyCodeForKeyLocation()
326 auto it = mKeyCodeMapping.find(locationKeyCode); in getKeyCodeForKeyLocation()
327 return it != mKeyCodeMapping.end() ? it->second : locationKeyCode; in getKeyCodeForKeyLocation()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl66 int getKeyCodeForKeyLocation(int deviceId, in int locationKeyCode); in getKeyCodeForKeyLocation() argument
DInputManager.java871 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() argument
872 return mGlobal.getKeyCodeForKeyLocation(deviceId, locationKeyCode); in getKeyCodeForKeyLocation()
DInputManagerGlobal.java1351 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() argument
1353 return mIm.getKeyCodeForKeyLocation(deviceId, locationKeyCode); in getKeyCodeForKeyLocation()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h333 virtual int32_t getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const = 0;
/frameworks/base/core/java/android/view/
DInputDevice.java1117 public int getKeyCodeForKeyLocation(int locationKeyCode) { in getKeyCodeForKeyLocation() argument
1119 .getKeyCodeForKeyLocation(mId, locationKeyCode); in getKeyCodeForKeyLocation()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1840 jint locationKeyCode) { in nativeGetKeyCodeForKeyLocation() argument
1843 locationKeyCode); in nativeGetKeyCodeForKeyLocation()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...