diff options
| author | Jack He <siyuanh@google.com> | 2019-12-06 17:13:27 -0800 |
|---|---|---|
| committer | Jack He <siyuanh@google.com> | 2019-12-09 18:11:37 -0800 |
| commit | 814de0f55cfe9d87a43ff5efd35139a8d6c64bba (patch) | |
| tree | c0d7f94302796a10963cbbfb4b6ab88e278cc458 /system/tools/scripts/yapf_checker.py | |
| parent | 0589767135d3190070ac6afdd1062f874f51a009 (diff) | |
Cert Test: Simplify server-client stream handling
* Created EventCallbackStream in Python to handle gRPC server
one-directional stream asynchronously
* Created EventAsserts in Python that uses EventCallbackStream
to assert on incoming gRPC stream events
* Created bluetooth::grpc::GrpcEventQueue to handle gRPC server
stream request asynchronously. This class blocks the calling
gRPC thread whiling taking incoming events on a different
thread and pass the event via a common::BlockingQueue
* Migrated all existing facade tests to use the new infrastructure
* Get rid of legacy definition of EventStream
Bug: 143373417
Test: SimpleHalTest, SimpleHciTest, SimpleL2capTest
Change-Id: I9d841fe2729e284450f8b031d9d1f094dd0c021b
Diffstat (limited to 'system/tools/scripts/yapf_checker.py')
0 files changed, 0 insertions, 0 deletions
