/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 80 public static Interaction newKeyInput(int[] keyCodes) { in newKeyInput() argument 81 return new Interaction(keyCodes); in newKeyInput()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 846 public boolean[] deviceHasKeys(int[] keyCodes) { in deviceHasKeys() argument 847 return deviceHasKeys(-1, keyCodes); in deviceHasKeys() 863 public boolean[] deviceHasKeys(int id, int[] keyCodes) { in deviceHasKeys() argument 864 boolean[] ret = new boolean[keyCodes.length]; in deviceHasKeys() 866 mIm.hasKeys(id, InputDevice.SOURCE_ANY, keyCodes, ret); in deviceHasKeys()
|
D | IInputManager.aidl | 44 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys() argument
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReader.h | 76 const int32_t* keyCodes, uint8_t* outFlags) override; 191 const int32_t* keyCodes, uint8_t* outFlags);
|
D | InputDevice.h | 82 bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, const int32_t* keyCodes, 247 inline bool markSupportedKeyCodes(size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes() argument 249 return mEventHub->markSupportedKeyCodes(mId, numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
|
D | EventHub.h | 218 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, 293 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes,
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 521 const int32_t* keyCodes, uint8_t* outFlags) { in hasKeys() argument 525 return markSupportedKeyCodesLocked(deviceId, sourceMask, numCodes, keyCodes, outFlags); in hasKeys() 529 size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodesLocked() argument 535 result = device->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked() 541 result |= device->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked()
|
D | InputDevice.cpp | 417 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 419 for_each_mapper([&result, sourceMask, numCodes, keyCodes, outFlags](InputMapper& mapper) { in markSupportedKeyCodes() 421 result |= mapper.markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
|
D | EventHub.cpp | 518 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes() argument 528 status_t err = device->keyMap.keyLayoutMap->findScanCodesForKey(keyCodes[codeIndex], in markSupportedKeyCodes()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 64 const int32_t* keyCodes, uint8_t* outFlags);
|
D | InputMapper.cpp | 55 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument
|
D | KeyboardInputMapper.h | 40 const int32_t* keyCodes, uint8_t* outFlags) override;
|
D | KeyboardInputMapper.cpp | 376 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 377 return getDeviceContext().markSupportedKeyCodes(numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
|
D | TouchInputMapper.h | 149 const int32_t* keyCodes, uint8_t* outFlags) override;
|
D | TouchInputMapper.cpp | 3896 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 3899 if (virtualKey.keyCode == keyCodes[i]) { in markSupportedKeyCodes()
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 714 public static boolean[] deviceHasKeys(int[] keyCodes) { in deviceHasKeys() argument 715 return InputManager.getInstance().deviceHasKeys(keyCodes); in deviceHasKeys()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 99 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) = 0;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1315 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys() argument 1318 int32_t* codes = env->GetIntArrayElements(keyCodes, nullptr); in nativeHasKeys() 1320 jsize numCodes = env->GetArrayLength(keyCodes); in nativeHasKeys() 1322 if (numCodes == env->GetArrayLength(keyCodes)) { in nativeHasKeys() 1334 env->ReleaseIntArrayElements(keyCodes, codes, 0); in nativeHasKeys()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 210 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys() argument 487 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys() argument 488 if (keyCodes == null) { in hasKeys() 491 if (keyExists == null || keyExists.length < keyCodes.length) { in hasKeys() 496 return nativeHasKeys(mPtr, deviceId, sourceMask, keyCodes, keyExists); in hasKeys()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 747 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes() argument 754 if (keyCodes[i] == device->keysByScanCode.valueAt(j).keyCode) { in markSupportedKeyCodes() 760 if (keyCodes[i] == device->keysByUsageCode.valueAt(j).keyCode) { in markSupportedKeyCodes() 1100 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 1104 if (keyCodes[i] == mSupportedKeyCodes[j]) { in markSupportedKeyCodes() 1583 const int32_t keyCodes[4] = { AKEYCODE_A, AKEYCODE_B, AKEYCODE_1, AKEYCODE_2 }; in TEST_F() local 1586 ASSERT_FALSE(mReader->hasKeys(0, AINPUT_SOURCE_ANY, 4, keyCodes, flags)) in TEST_F() 1591 ASSERT_FALSE(mReader->hasKeys(deviceId, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags)) in TEST_F() 1598 keyCodes, flags)) in TEST_F() 1604 ASSERT_FALSE(mReader->hasKeys(-1, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags)) in TEST_F() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 107 void onKey(int primaryCode, int[] keyCodes); in onKey() argument 1107 public void onKey(int primaryCode, int[] keyCodes) { in onLongPress() 1108 mKeyboardActionListener.onKey(primaryCode, keyCodes); in onLongPress()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |