Home
last modified time | relevance | path

Searched refs:match_fns (Results 1 – 2 of 2) sorted by relevance

/aosp12/system/bt/gd/cert/
H A Dtruth.py61 if len(match_fns) == 0:
63 elif len(match_fns) == 1:
69 def emitsNone(self, *match_fns, timeout=DEFAULT_TIMEOUT): argument
70 if len(match_fns) == 0:
73 elif len(match_fns) == 1:
82 def __init__(self, stream, match_fns, timeout): argument
84 self._match_fns = match_fns
102 if len(match_fns) == 0:
104 elif len(match_fns) == 1:
111 if len(match_fns) == 0:
[all …]
H A Devent_stream.py236 match_fns, argument
240 pending_matches = list(match_fns)
256 len(matched_order) == len(match_fns),
257 msg=("Expected at least %d events, but got %d" % (len(match_fns), len(matched_order))))
261 while i < len(match_fns):
262 if match_fns[i] is not matched_order[i]:
266 …sert_true(correct_order, "Events not received in correct order %s %s" % (match_fns, matched_order))