Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h373 inline bool isDeviceEnabled() { return mEventHub->isDeviceEnabled(mId); } in isDeviceEnabled() function
DEventHub.h352 virtual bool isDeviceEnabled(int32_t deviceId) = 0;
522 bool isDeviceEnabled(int32_t deviceId) override final;
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp92 dump += StringPrintf(INDENT3 " isDeviceEnabled %d\n", getDeviceContext().isDeviceEnabled()); in dump()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp61 for_each_subdevice([&enabled](auto& context) { enabled |= context.isDeviceEnabled(); }); in isEnabled()
DEventHub.cpp2194 bool EventHub::isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled() function in android::EventHub
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp461 bool isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled() function in android::FakeEventHub
1580 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1585 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
1913 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1914 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
1922 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1923 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
1931 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1932 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
2992 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(EVENTHUB_ID)); in TEST_F()
[all …]