Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h382 inline bool isDeviceEnabled() { return mEventHub->isDeviceEnabled(mId); } in isDeviceEnabled() function
DEventHub.h356 virtual bool isDeviceEnabled(int32_t deviceId) = 0;
529 bool isDeviceEnabled(int32_t deviceId) override final;
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp93 dump += StringPrintf(INDENT3 " isDeviceEnabled %d\n", getDeviceContext().isDeviceEnabled()); in dump()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp62 for_each_subdevice([&enabled](auto& context) { enabled |= context.isDeviceEnabled(); }); in isEnabled()
DEventHub.cpp2276 bool EventHub::isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled() function in android::EventHub
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp535 bool isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled() function in android::FakeEventHub
1698 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
1703 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
2062 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
2063 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
2071 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
2072 ASSERT_FALSE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
2080 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[0])); in TEST_F()
2081 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(eventHubIds[1])); in TEST_F()
3312 ASSERT_TRUE(mFakeEventHub->isDeviceEnabled(EVENTHUB_ID)); in TEST_F()
[all …]