Searched refs:sw (Results 1 – 7 of 7) sorted by relevance
/hardware/libhardware/tests/input/evdev/ |
D | InputMocks.h | 59 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/ |
D | InputHub.cpp | 109 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()
|
D | InputHub.h | 87 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/ |
D | FindFtd2xx.cmake | 29 /sw/include 44 /sw/lib
|
D | FindFtd4222.cmake | 30 /sw/include 45 /sw/lib
|
/hardware/bsp/intel/peripheral/libupm/src/rgbringcoder/ |
D | rgbringcoder.cxx | 33 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()
|
D | rgbringcoder.h | 83 RGBRingCoder(int en, int latch, int clear, int clk, int dat, int sw,
|