/cts/tests/input/src/android/input/cts/ |
D | ModifierKeyRemappingTest.kt | 66 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()
|
D | KeyboardLayoutTest.kt | 49 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()
|
D | VerifyHardwareKeyEventTest.kt | 50 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()
|
D | BackKeyShortcutsTest.kt | 56 private lateinit var inputManager: InputManager in <lambda>() variable in android.input.cts.BackKeyShortcutsTest 61 inputManager = it.getSystemService(InputManager::class.java) in <lambda>()
|
D | A11yBounceKeysTest.kt | 59 private lateinit var inputManager: InputManager in <lambda>() variable in android.input.cts.A11yBounceKeysTest 64 inputManager = it.getSystemService(InputManager::class.java) in <lambda>()
|
D | A11ySlowKeysTest.kt | 59 private lateinit var inputManager: InputManager in <lambda>() variable in android.input.cts.A11ySlowKeysTest 64 inputManager = it.getSystemService(InputManager::class.java) in <lambda>()
|
D | A11yStickyKeysTest.kt | 59 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/ |
D | SearchEventTest.java | 72 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/ |
D | UinputTouchDevice.kt | 57 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/ |
D | VirtualInputDeviceCreator.java | 64 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/ |
D | UsiVersionActivity.java | 197 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/ |
D | VirtualInputDeviceGenericTest.java | 206 InputDeviceRemovedWaiter(InputManager inputManager, int deviceId) { in InputDeviceRemovedWaiter() argument 208 mInputManager = inputManager; in InputDeviceRemovedWaiter()
|
D | InputHidTestCase.java | 168 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/ |
D | BrailleDisplayControllerTest.java | 214 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/ |
D | InputMethodServiceTest.java | 1050 final InputMethodManager inputManager = 1052 assertNotNull(inputManager); 1053 final List<InputMethodInfo> enabledImes = inputManager.getEnabledInputMethodList();
|