Lines Matching refs:EV_SW
265 elif ev_type == EV_SW:
501 return self._get_value(EV_SW, SW_MICROPHONE_INSERT)
504 return self._get_value(EV_SW, SW_HEADPHONE_INSERT)
507 return self._get_value(EV_SW, SW_LINEOUT_INSERT)
535 return (EV_SW in self.events and
536 SW_HEADPHONE_INSERT in self.events[EV_SW])
539 return (EV_SW in self.events and
540 SW_MICROPHONE_INSERT in self.events[EV_SW])
543 return (EV_SW in self.events and
544 ((SW_HEADPHONE_INSERT in self.events[EV_SW]) or
545 (SW_MICROPHONE_INSERT in self.events[EV_SW] or
546 (SW_LINEOUT_INSERT in self.events[EV_SW]))))