Home
last modified time | relevance | path

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

/hardware/libhardware/tests/input/evdev/
DInputMocks.h59 virtual bool hasSwitch(int32_t sw) const override { return mSwitches.count(sw); } in hasSwitch() argument
78 void addSwitch(int32_t sw) { mSwitches.insert(sw); } in addSwitch() argument
83 virtual int32_t getSwitchState(int32_t sw) const override { return 0; } in getSwitchState() argument
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp109 virtual bool hasSwitch(int32_t sw) const override;
114 virtual int32_t getSwitchState(int32_t sw) const override;
310 bool EvdevDeviceNode::hasSwitch(int32_t sw) const { in hasSwitch()
311 if (sw >= 0 && sw <= SW_MAX) { in hasSwitch()
312 return testBit(sw, mSwBitmask); in hasSwitch()
344 int32_t EvdevDeviceNode::getSwitchState(int32_t sw) const { in getSwitchState()
345 if (sw >= 0 && sw <= SW_MAX) { in getSwitchState()
346 if (testBit(sw, mSwBitmask)) { in getSwitchState()
350 return testBit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
DInputHub.h87 virtual bool hasSwitch(int32_t sw) const = 0;
96 virtual int32_t getSwitchState(int32_t sw) const = 0;
/hardware/bsp/intel/peripheral/libmraa/cmake/modules/
DFindFtd2xx.cmake29 /sw/include
44 /sw/lib
DFindFtd4222.cmake30 /sw/include
45 /sw/lib
/hardware/bsp/intel/peripheral/libupm/src/rgbringcoder/
Drgbringcoder.cxx33 int sw, int encA, int encB, int red, in RGBRingCoder() argument
36 m_gpioData(dat), m_gpioSwitch(sw), m_gpioEncA(encA), m_gpioEncB(encB), in RGBRingCoder()
Drgbringcoder.h83 RGBRingCoder(int en, int latch, int clear, int clk, int dat, int sw,