Skip to content

Commit 302d289

Browse files
authored
Merge pull request #11 from zxzxwu/docs
Add some docs
2 parents 34d20d1 + e146aad commit 302d289

File tree

3 files changed

+102
-0
lines changed

3 files changed

+102
-0
lines changed

docs/common_errors_and_failures.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Common Errors and Failures
2+
3+
This page records the known common failures.
4+
5+
## General
6+
7+
### Test Cases are skipped
8+
9+
* Caused by: `Intended Behavior`
10+
11+
Expected. Before running tests, we check if DUT supports corresponding features by system property.
12+
13+
### TransportLostLost
14+
15+
* Caused by: `REF device`
16+
17+
Please check your USB connection, or take a bug report and see why the connection between Bumble and Controller is lost.
18+
19+
## Venti
20+
21+
### LePairingTest.test_legacy_pairing
22+
23+
* Caused by: `Android Bluetooth Stack`
24+
25+
Some legacy test cases cannot pass on Android releases before 25Q4 or equivalent mainline modules.
26+
27+
### LePairingTest.test_oob_pairing
28+
29+
* Caused by: `Android Bluetooth Stack`
30+
31+
Legacy OOB pairing has known failure on Android releases around 2025.

docs/index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
11
# Home
2+
3+
This is a Bluetooth testing suite originally made for Pixel devices, but released for Android partners to evaluate their Bluetooth and Audio implementation.
4+
5+
## Suites
6+
7+
There are 3 predefined suites in the package:
8+
9+
1. Smoke (`python -m smoke` or `mobly_runner smoke`)
10+
11+
A suite that all cases are expected to pass.
12+
13+
2. Venti (`python -m venti` or `mobly_runner venti`)
14+
15+
A suite that allows some cases failed, or requiring more reference devices to run.
16+
17+
3. All (`python -m run_all` or `mobly_runner run_all`)
18+
19+
All test cases.

docs/user_params.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# User Params
2+
3+
In config.yml, some user params are used by Navi for particular purposes.
4+
5+
## max_retry_count
6+
7+
Type: integer
8+
9+
The max retry count applied to all test cases.
10+
11+
Note: If test cases are already decorated with `retry()`, it will select the larger retry count among decorators and user params.
12+
13+
## device_serials
14+
15+
Type: string
16+
17+
A list of device serial numbers separated with comma. When present, test devices will be allocated based on the given order, instead of order provided by config or adb.
18+
19+
Example: `001,002,003`
20+
21+
## crown_driver
22+
23+
Type: one of `android`, `passthrough`, `cf_rootcanal`, default is `android`
24+
25+
The type of Crown (REF) driver.
26+
27+
* `android`: Running HCI Proxy on Android device.
28+
* `passthrough`: Use raw Bumble transports (require `crown_driver_specs`).
29+
* `cf_rootcanal`: Request Rootcanal ports from Cuttlefish emulators.
30+
31+
## crown_driver_specs
32+
33+
Type: list or comma-separated list string
34+
35+
A list of bumble transport specs. REF Bumble devices will run above them.
36+
37+
Example: `["tcp-client:127.0.0.1:7300", "tcp-client:127.0.0.1:7300"]`
38+
39+
## record_full_data
40+
41+
Type: boolean, default is False
42+
43+
Whether full log data will be recorded no matter passed or not, including:
44+
45+
* Bugreports on pass
46+
* Snoop logs and dumpsys on pass
47+
* Recorded audio data
48+
49+
## dump_crown_log_on_fail
50+
51+
Type: boolean, default is False
52+
53+
Whether to dump crown log on fail for debugging.

0 commit comments

Comments
 (0)