Android 14.0.0 release 38
Merge remote-tracking branch 'aosp/upstream-main' into master am: 09c614d849 am: a991240fb1 am: c749cc1956 am: 518f36cbc6
Original change: https://android-review.googlesource.com/c/platform/external/pandora/avatar/+/2516217
Change-Id: Icaa8f8dd916441f67c0f9af1365589ba9590cdba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 159b057396bd4080d67276a27aca60da708bf1b2
- avatar/
- examples/
- third-party/
- bt-test-interfaces ⇨ ../bt-test-interfaces/
- .gitignore
- Android.bp
- CONTRIBUTING.md
- LICENSE
- METADATA
- MODULE_LICENSE_APACHE2
- OWNERS
- pyproject.toml
- README.md
README.md
Avatar
Avatar aims to provide a scalable multi-platform Bluetooth testing tool capable of running any Bluetooth test cases virtually and physically. It aims to complete PTS-bot in the Pandora testing suite.
Install
git submodule update --init
python -m venv venv
source venv/bin/activate.fish # or any other shell
pip install [-e] bt-test-interfaces/python
pip install [-e] third-party/bumble
pip install [-e] .
Rebuild gRPC Bluetooth test interfaces
pip install grpcio-tools==1.46.3
./bt-test-interfaces/python/_build/grpc.py
Usage
python examples/example.py -c examples/simulated_bumble_android.yml --verbose
Development
- Make sure to have a
root-canal
instance running somewhere.
root-canal
- Run the example using Bumble vs Bumble config file. The default
6402
HCI port of root-canal
may be changed in this config file.
python examples/example.py -c examples/simulated_bumble_bumble.yml --verbose
- Lint with
pyright
and mypy
pyright
mypy
- Format & imports style
black avatar/ examples/
isort avatar/ examples/