OSDN Git Service

HciMatchers: enforce argument requirement
authorMartin Brabham <optedoblivion@google.com>
Wed, 18 Nov 2020 00:17:03 +0000 (16:17 -0800)
committerMartin Brabham <optedoblivion@google.com>
Fri, 20 Nov 2020 17:32:06 +0000 (09:32 -0800)
commitfc1f7be069937130c8b21c742669aca381ae26c5
treee704f093471a62631c051e143c7e752f04acab49
parentff8ed1cfb8d2cbe279839e37bb155785b26cb940
HciMatchers: enforce argument requirement

If the command complete opcode is not specified then it
will match ANY command complete event which can prove to
be troubles some when getting a series of CommandComplete()
matches.

Bug: 162984360
Tag: #gd-refactor
Test: cert/run --host SecurityTest
Change-Id: Ia42c74c6476fd9d0763afa87ad1f61a243942e27
gd/cert/matchers.py
gd/security/cert/cert_security.py