OSDN Git Service

Simplify HAL protos
authorZach Johnson <zachoverflow@google.com>
Wed, 11 Nov 2020 20:51:59 +0000 (12:51 -0800)
committerZach Johnson <zachoverflow@google.com>
Wed, 11 Nov 2020 21:02:16 +0000 (13:02 -0800)
commitebb834102e8ba6a7afd4dc468037e6d8470e887e
treef844c58a98c1ceed98d2137e190252a79ad7beb0
parenta8f37c35928504c4bbb099c8b8071500a5232424
Simplify HAL protos

* It's the HciHal, so HCI on functions and structs is redundant.
* FetchXYZ returns a stream, so rename to StreamXYZ
* Event & Commands are less about packets, so drop packet from the
struct names

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: I62fb098ee6a5a4805ad0667101c7de5a3368c4f2
gd/cert/py_hal.py
gd/hal/cert/simple_hal_test.py
gd/hal/facade.cc
gd/hal/facade.proto
gd/rust/hal/src/facade.rs