Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp434 bool getLedState(int32_t deviceId, int32_t led) { in getLedState() function in android::FakeEventHub
1877 ASSERT_FALSE(mFakeEventHub->getLedState(DEVICE_ID, LED_CAPSL)); in TEST_F()
1878 ASSERT_FALSE(mFakeEventHub->getLedState(DEVICE_ID, LED_NUML)); in TEST_F()
1879 ASSERT_FALSE(mFakeEventHub->getLedState(DEVICE_ID, LED_SCROLLL)); in TEST_F()
1886 ASSERT_TRUE(mFakeEventHub->getLedState(DEVICE_ID, LED_CAPSL)); in TEST_F()
1887 ASSERT_FALSE(mFakeEventHub->getLedState(DEVICE_ID, LED_NUML)); in TEST_F()
1888 ASSERT_FALSE(mFakeEventHub->getLedState(DEVICE_ID, LED_SCROLLL)); in TEST_F()
1896 ASSERT_TRUE(mFakeEventHub->getLedState(DEVICE_ID, LED_CAPSL)); in TEST_F()
1897 ASSERT_TRUE(mFakeEventHub->getLedState(DEVICE_ID, LED_NUML)); in TEST_F()
1898 ASSERT_FALSE(mFakeEventHub->getLedState(DEVICE_ID, LED_SCROLLL)); in TEST_F()
[all …]