Searched refs:addSwitch (Results 1 – 2 of 2) 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()
78 void addSwitch(int32_t sw) { mSwitches.insert(sw); } in addSwitch() function