Home
last modified time | relevance | path

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

/hardware/libhardware/tests/input/evdev/
DSwitchInputMapper_test.cpp52 EXPECT_CALL(reportDef, addCollection(INPUT_COLLECTION_ID_SWITCH, 1)); in TEST_F()
53 EXPECT_CALL(reportDef, declareUsages(INPUT_COLLECTION_ID_SWITCH, _, 2)) in TEST_F()
87 EXPECT_CALL(report, setBoolUsage(INPUT_COLLECTION_ID_SWITCH, INPUT_USAGE_SWITCH_LID, 1, 0)); in TEST_F()
89 EXPECT_CALL(report, setBoolUsage(INPUT_COLLECTION_ID_SWITCH, INPUT_USAGE_SWITCH_LID, 0, 0)); in TEST_F()
/hardware/libhardware/modules/input/evdev/
DSwitchInputMapper.cpp73 getInputReportDefinition()->addCollection(INPUT_COLLECTION_ID_SWITCH, 1); in configureInputReport()
74 getInputReportDefinition()->declareUsages(INPUT_COLLECTION_ID_SWITCH, usages, numUsages); in configureInputReport()
114 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_SWITCH, codeMap[bit].usage, in sync()
/hardware/libhardware/include/hardware/
Dinput.h403 INPUT_COLLECTION_ID_SWITCH, enumerator