Home
last modified time | relevance | path

Searched refs:at_least_times (Results 1 – 6 of 6) sorted by relevance

/system/bt/gd/cert/
Dtruth.py60 def emits(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT): argument
64 …NOT_FOR_YOU_assert_event_occurs(self._value, match_fns[0], at_least_times=at_least_times, timeout=…
101 def then(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT): argument
105 …NOT_FOR_YOU_assert_event_occurs(self._value, match_fns[0], at_least_times=at_least_times, timeout=…
Devent_stream.py163 …def assert_event_occurs(self, match_fn, at_least_times=1, timeout=timedelta(seconds=DEFAULT_TIMEOU… argument
174 NOT_FOR_YOU_assert_event_occurs(self, match_fn, at_least_times, timeout)
214 at_least_times=1, argument
216 logging.debug("assert_event_occurs %d %fs" % (at_least_times, timeout.total_seconds()))
219 while len(event_list) < at_least_times and datetime.now() < end_time:
231 len(event_list) >= at_least_times,
232 msg=("Expected at least %d events, but got %d" % (at_least_times, len(event_list))))
Dcert_self_test_lib.py135 lambda data: data.value_ == 1, timeout=timedelta(milliseconds=300), at_least_times=2)
/system/bt/gd/l2cap/classic/cert/
Dl2cap_performance_test.py49 L2capMatchers.Data(b'a' * mtu), at_least_times=packets, timeout=timedelta(seconds=60))
72 … assertThat(cert_channel).emits(L2capMatchers.Data(b'a' * mtu), at_least_times=batch_size)
86 … L2capMatchers.PacketPayloadRawData(data), at_least_times=packets, timeout=timedelta(seconds=60))
113 …rtThat(cert_channel).emits(L2capMatchers.IFrame(payload=b'a' * mtu), at_least_times=tx_window_size)
Dl2cap_test.py275 …lf.cert_l2cap.get_control_channel()).emits(L2capMatchers.ConfigurationResponse(), at_least_times=2)
291 …elf.cert_l2cap.get_control_channel()).emits(L2capMatchers.ConfigurationRequest(), at_least_times=2)
/system/bt/gd/l2cap/le/cert/
Dle_l2cap_test.py280 …hat(dut_channel_y).emits(L2capMatchers.PacketPayloadRawData(b'\x19\x26\x08\x17'), at_least_times=3)