/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 | 825 public boolean[] deviceHasKeys(int[] keyCodes) { in deviceHasKeys() argument 826 return deviceHasKeys(-1, keyCodes); in deviceHasKeys() 842 public boolean[] deviceHasKeys(int id, int[] keyCodes) { in deviceHasKeys() argument 843 boolean[] ret = new boolean[keyCodes.length]; in deviceHasKeys() 845 mIm.hasKeys(id, InputDevice.SOURCE_ANY, keyCodes, ret); in deviceHasKeys()
|
D | IInputManager.aidl | 43 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys() argument
|
/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/ |
D | EventHub.h | 221 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, 297 const int32_t* keyCodes, uint8_t* outFlags) const;
|
D | InputReader.h | 141 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags); 240 const int32_t* keyCodes, uint8_t* outFlags); 287 const int32_t* keyCodes, uint8_t* outFlags); 771 const int32_t* keyCodes, uint8_t* outFlags); 863 const int32_t* keyCodes, uint8_t* outFlags); 1027 const int32_t* keyCodes, uint8_t* outFlags);
|
D | InputReader.cpp | 732 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) { in hasKeys() argument 736 return markSupportedKeyCodesLocked(deviceId, sourceMask, numCodes, keyCodes, outFlags); in hasKeys() 740 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodesLocked() argument 748 numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked() 757 numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked() 1219 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 1223 result |= mapper->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodes() 1963 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 2464 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 2465 return getEventHub()->markSupportedKeyCodes(getDeviceId(), numCodes, keyCodes, outFlags); in markSupportedKeyCodes() [all …]
|
D | EventHub.cpp | 483 const int32_t* keyCodes, uint8_t* outFlags) const { in markSupportedKeyCodes() argument 493 keyCodes[codeIndex], &scanCodes); in markSupportedKeyCodes()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 92 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) = 0;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1371 jlong ptr, jint deviceId, jint sourceMask, jintArray keyCodes, jbooleanArray outFlags) { in nativeHasKeys() argument 1374 int32_t* codes = env->GetIntArrayElements(keyCodes, nullptr); in nativeHasKeys() 1376 jsize numCodes = env->GetArrayLength(keyCodes); in nativeHasKeys() 1378 if (numCodes == env->GetArrayLength(keyCodes)) { in nativeHasKeys() 1390 env->ReleaseIntArrayElements(keyCodes, codes, 0); in nativeHasKeys()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 204 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys() argument 469 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys() argument 470 if (keyCodes == null) { in hasKeys() 473 if (keyExists == null || keyExists.length < keyCodes.length) { in hasKeys() 478 return nativeHasKeys(mPtr, deviceId, sourceMask, keyCodes, keyExists); in hasKeys()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 679 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes() argument 686 if (keyCodes[i] == device->keysByScanCode.valueAt(j).keyCode) { in markSupportedKeyCodes() 692 if (keyCodes[i] == device->keysByUsageCode.valueAt(j).keyCode) { in markSupportedKeyCodes() 979 const int32_t* keyCodes, uint8_t* outFlags) { in markSupportedKeyCodes() argument 983 if (keyCodes[i] == mSupportedKeyCodes[j]) { in markSupportedKeyCodes() 1461 const int32_t keyCodes[4] = { AKEYCODE_A, AKEYCODE_B, AKEYCODE_1, AKEYCODE_2 }; in TEST_F() local 1464 ASSERT_FALSE(mReader->hasKeys(0, AINPUT_SOURCE_ANY, 4, keyCodes, flags)) in TEST_F() 1469 ASSERT_FALSE(mReader->hasKeys(1, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags)) in TEST_F() 1474 …ASSERT_TRUE(mReader->hasKeys(1, AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TRACKBALL, 4, keyCodes, fla… in TEST_F() 1479 ASSERT_FALSE(mReader->hasKeys(-1, AINPUT_SOURCE_TRACKBALL, 4, keyCodes, flags)) in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |