Home
last modified time | relevance | path

Searched refs:SECOND_DEVICE_ID (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DPointerChoreographer_test.cpp48 constexpr int32_t SECOND_DEVICE_ID = DEVICE_ID + 1; variable
49 constexpr int32_t THIRD_DEVICE_ID = SECOND_DEVICE_ID + 1;
470 generateTestDeviceInfo(SECOND_DEVICE_ID, AINPUT_SOURCE_MOUSE, ANOTHER_DISPLAY_ID)}}); in TEST_F()
484 .deviceId(SECOND_DEVICE_ID) in TEST_F()
497 AllOf(WithCoords(310, 420), WithDeviceId(SECOND_DEVICE_ID), in TEST_F()
586 generateTestDeviceInfo(SECOND_DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
594 {generateTestDeviceInfo(SECOND_DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
621 generateTestDeviceInfo(SECOND_DEVICE_ID, in TEST_F()
673 generateTestDeviceInfo(SECOND_DEVICE_ID, AINPUT_SOURCE_MOUSE, in TEST_F()
857 generateTestDeviceInfo(SECOND_DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
[all …]
DInputReader_test.cpp1189 constexpr int32_t SECOND_DEVICE_ID = FIRST_DEVICE_ID + 1; in TEST_F() local
1195 addDeviceWithFakeInputMapper(SECOND_DEVICE_ID, SECOND_DEVICE_ID, "second", in TEST_F()
1212 .deviceId(SECOND_DEVICE_ID) in TEST_F()
1215 mFakeEventHub->enqueueEvent(ARBITRARY_TIME, ARBITRARY_TIME, SECOND_DEVICE_ID, 0, 0, 0); in TEST_F()
1217 ASSERT_EQ(SECOND_DEVICE_ID, mReader->getLastUsedInputDeviceId()); in TEST_F()
1225 ASSERT_EQ(SECOND_DEVICE_ID, mReader->getLastUsedInputDeviceId()); in TEST_F()
1238 .deviceId(SECOND_DEVICE_ID) in TEST_F()
1241 mFakeEventHub->enqueueEvent(ARBITRARY_TIME, ARBITRARY_TIME, SECOND_DEVICE_ID, 0, 0, 0); in TEST_F()
1245 .deviceId(SECOND_DEVICE_ID) in TEST_F()
1248 mFakeEventHub->enqueueEvent(ARBITRARY_TIME, ARBITRARY_TIME, SECOND_DEVICE_ID, 0, 0, 0); in TEST_F()
[all …]
DInputDispatcher_test.cpp72 static constexpr int32_t SECOND_DEVICE_ID = 2; variable
4456 .deviceId(SECOND_DEVICE_ID) in TEST_F()
4478 .deviceId(SECOND_DEVICE_ID) in TEST_F()
4493 .deviceId(SECOND_DEVICE_ID) in TEST_F()
4506 .deviceId(SECOND_DEVICE_ID) in TEST_F()
4554 .deviceId(SECOND_DEVICE_ID) in TEST_F()
4570 .deviceId(SECOND_DEVICE_ID) in TEST_F()
4582 .deviceId(SECOND_DEVICE_ID) in TEST_F()
4592 .deviceId(SECOND_DEVICE_ID) in TEST_F()
13672 .deviceId(SECOND_DEVICE_ID) in TEST_F()
[all …]
/frameworks/base/tests/Input/src/android/hardware/input/
DInputManagerTest.kt52 const val SECOND_DEVICE_ID = 96 constant
115 addInputDevice(SECOND_DEVICE_ID, Display.INVALID_DISPLAY, HostUsiVersion(9, 8)) in testUsiVersionDisplayAssociation()
/frameworks/base/tests/Input/src/com/android/server/input/
DBatteryControllerTests.kt177 const val SECOND_DEVICE_ID = 11 constant
215 addInputDevice(SECOND_DEVICE_ID) in setup()
270 batteryController.registerBatteryListener(SECOND_DEVICE_ID, listener, PID) in testRegisterAndUnregisterBinderLifecycle()
274 batteryController.unregisterBatteryListener(SECOND_DEVICE_ID, listener, PID) in testRegisterAndUnregisterBinderLifecycle()
319 `when`(native.getBatteryStatus(SECOND_DEVICE_ID)).thenReturn(STATUS_CHARGING) in testRegisteringListenerNotifiesStateImmediately()
320 `when`(native.getBatteryCapacity(SECOND_DEVICE_ID)).thenReturn(78) in testRegisteringListenerNotifiesStateImmediately()
321 batteryController.registerBatteryListener(SECOND_DEVICE_ID, listener, PID) in testRegisteringListenerNotifiesStateImmediately()
322 listener.verifyNotified(SECOND_DEVICE_ID, status = STATUS_CHARGING, capacity = 0.78f) in testRegisteringListenerNotifiesStateImmediately()