Home | History | Annotate | Download | only in tests

Lines Matching full:sniffer

18 from acts.controllers.sniffer import Sniffer
33 """Validate sniffer configuration & capture API using the 'with' clause.
38 for sniffer in self.sniffers:
40 with sniffer.start_capture(
41 override_configs={Sniffer.CONFIG_KEY_CHANNEL: channel},
44 self.log.info("Capture: %s", sniffer.get_capture_file())
47 """Validate sniffer configuration & capture API using a manual/raw
56 for sniffer in self.sniffers:
58 sniffer.start_capture(
59 override_configs={Sniffer.CONFIG_KEY_CHANNEL: channel},
61 self.log.info("Capture: %s", sniffer.get_capture_file())
62 sniffer.wait_for_capture(timeout=self._capture_sec)
68 for sniffer in self.sniffers:
70 with sniffer.start_capture(
71 override_configs={Sniffer.CONFIG_KEY_CHANNEL: channel},
74 additional_args=self._filter[sniffer.get_subtype()]):
75 self.log.info("Capture: %s", sniffer.get_capture_file())