Searched refs:addSwitch (Results 1 – 3 of 3) sorted by relevance
67 node->addSwitch(SW_LID); in getLidInput()105 node->addSwitch(SW_HEADPHONE_INSERT); in getHeadsetJack()106 node->addSwitch(SW_MICROPHONE_INSERT); in getHeadsetJack()107 node->addSwitch(SW_LINEOUT_INSERT); in getHeadsetJack()109 node->addSwitch(0x0e); // SW_HPHL_OVERCURRENT in getHeadsetJack()110 node->addSwitch(0x0f); // SW_HPHR_OVERCURRENT in getHeadsetJack()
49 deviceNode.addSwitch(SW_LID); in TEST_F()50 deviceNode.addSwitch(SW_CAMERA_LENS_COVER); in TEST_F()73 deviceNode.addSwitch(SW_LID); in TEST_F()
78 void addSwitch(int32_t sw) { mSwitches.insert(sw); } in addSwitch() function