Home
last modified time | relevance | path

Searched refs:inputManager (Results 1 – 15 of 15) sorted by relevance

/cts/tests/input/src/android/input/cts/
DModifierKeyRemappingTest.kt66 private lateinit var inputManager: InputManager variable in android.input.cts.ModifierKeyRemappingTest
71 inputManager = it.getSystemService(InputManager::class.java) in setUp()
104 PollingCheck.waitFor { inputManager.getInputDevice(keyboardDevice.deviceId) != null } in testModifierKeyRemapping()
105 val inputDevice = inputManager.getInputDevice(keyboardDevice.deviceId) in testModifierKeyRemapping()
165 PollingCheck.waitFor { inputManager.getInputDevice(keyboardDevice.deviceId) != null } in testHardwareKeyEventsWithRemapping_AfterKeyboardAdded()
201 PollingCheck.waitFor { inputManager.getInputDevice(keyboardDevice.deviceId) != null } in testHardwareKeyEventsWithRemapping_BeforeKeyboardAdded()
234 { inputManager.remapModifierKey(fromKey, toKey) }, in remapModifierKey()
244 { inputManager.clearAllModifierKeyRemappings() }, in clearAllModifierKeyRemappings()
251 ThrowingSupplier<Map<Int, Int>> { inputManager.modifierKeyRemapping }, in getModifierKeyRemapping()
DKeyboardLayoutTest.kt49 private lateinit var inputManager: InputManager variable in android.input.cts.KeyboardLayoutTest
54 inputManager = it.getSystemService(InputManager::class.java) in setUp()
96 for (kl in inputManager.keyboardLayoutDescriptors) { in getKeyboardLayoutDescriptor()
111 inputManager.getKeyboardLayoutTypeForLayoutDescriptor(descriptor) in getKeyboardLayoutTypeForLayoutDescriptor()
DVerifyHardwareKeyEventTest.kt50 private lateinit var inputManager: InputManager variable in android.input.cts.VerifyHardwareKeyEventTest
55 inputManager = it.getSystemService(InputManager::class.java) in setUp()
65 assertNotNull(inputManager.verifyInputEvent(lastInputEvent!!)) in assertReceivedEventsCanBeVerified()
DBackKeyShortcutsTest.kt56 private lateinit var inputManager: InputManager in <lambda>() variable in android.input.cts.BackKeyShortcutsTest
61 inputManager = it.getSystemService(InputManager::class.java) in <lambda>()
DA11yBounceKeysTest.kt59 private lateinit var inputManager: InputManager in <lambda>() variable in android.input.cts.A11yBounceKeysTest
64 inputManager = it.getSystemService(InputManager::class.java) in <lambda>()
DA11ySlowKeysTest.kt59 private lateinit var inputManager: InputManager in <lambda>() variable in android.input.cts.A11ySlowKeysTest
64 inputManager = it.getSystemService(InputManager::class.java) in <lambda>()
DA11yStickyKeysTest.kt59 private lateinit var inputManager: InputManager in <lambda>() variable in android.input.cts.A11yStickyKeysTest
64 inputManager = it.getSystemService(InputManager::class.java) in <lambda>()
/cts/tests/tests/view/src/android/view/cts/
DSearchEventTest.java72 final InputManager inputManager = (InputManager) mInstrumentation.getTargetContext(). in testConstructor() local
74 if (inputManager == null) { in testConstructor()
77 final int[] inputDeviceIds = inputManager.getInputDeviceIds(); in testConstructor()
80 final InputDevice inputDevice = inputManager.getInputDevice(inputDeviceId); in testConstructor()
/cts/libs/input/src/com/android/cts/input/
DUinputTouchDevice.kt57 private val inputManager: InputManager constant
60 inputManager = instrumentation.targetContext.getSystemService(InputManager::class.java)!!
126 { inputManager.addUniqueIdAssociationByPort( in associateWith()
134 val inputDevice = inputManager.getInputDevice(uinputDevice.deviceId) in associateWith()
162 inputManager.registerInputDeviceListener( in waitForDeviceUpdatesUntil()
174 inputManager.unregisterInputDeviceListener(inputDeviceListener) in waitForDeviceUpdatesUntil()
179 { inputManager.removeUniqueIdAssociationByPort(registerCommand.port) }, in close()
/cts/tests/tests/hardware/src/android/hardware/input/cts/virtualcreators/
DVirtualInputDeviceCreator.java64 InputManager inputManager = InstrumentationRegistry.getInstrumentation().getTargetContext() in prepareInputDevice() local
67 new InputDeviceAddedWaiter(inputManager, languageTag, layoutType)) { in prepareInputDevice()
199 InputDeviceAddedWaiter(InputManager inputManager, String languageTag, String layoutType) { in InputDeviceAddedWaiter() argument
202 mInputManager = inputManager; in InputDeviceAddedWaiter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/input/
DUsiVersionActivity.java197 final var inputManager = Objects.requireNonNull(getSystemService(InputManager.class)); in populateInternalDisplays() local
200 mInternalDisplays.put(display, inputManager.getHostUsiVersion(display)); in populateInternalDisplays()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualInputDeviceGenericTest.java206 InputDeviceRemovedWaiter(InputManager inputManager, int deviceId) { in InputDeviceRemovedWaiter() argument
208 mInputManager = inputManager; in InputDeviceRemovedWaiter()
DInputHidTestCase.java168 final InputManager inputManager = Objects.requireNonNull( in getInputDevice() local
170 final int[] inputDeviceIds = inputManager.getInputDeviceIds(); in getInputDevice()
172 final InputDevice inputDevice = inputManager.getInputDevice(inputDeviceId); in getInputDevice()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DBrailleDisplayControllerTest.java214 InputManager inputManager = sInstrumentation.getContext().getSystemService( in setup() local
216 assertThat(inputManager).isNotNull(); in setup()
217 inputManager.registerInputDeviceListener(new InputManager.InputDeviceListener() { in setup()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java1050 final InputMethodManager inputManager =
1052 assertNotNull(inputManager);
1053 final List<InputMethodInfo> enabledImes = inputManager.getEnabledInputMethodList();