Treehugger Robot
62eb791ab2
Merge "VTS: Rename Vsr_Bluetooth5Requirments" am: 3551f2963e
am: 5b83b95388
am: 80537228a0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2585149
Change-Id: I60c4bda67ade7725daf6624a6a594fa3ddc65206
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 01:11:29 +00:00
Myles Watson
5bfb3a7995
VTS: Rename Vsr_Bluetooth5Requirments
...
Bug: 281798597
Test: atest VtsHalBluetoothTargetTest
Change-Id: I7db99066be11a6dae206cfe4997101db751ae059
2023-05-10 14:06:32 -07:00
Treehugger Robot
f3dcc82a6b
Merge "Bluetooth AIDL: SetTerminalRaw on fd" am: 4de72a2297
am: bb8c28de90
am: 8b2a877457
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2556557
Change-Id: I31c22dd5c92a8fef9769280885fce4f1f4f49b2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 21:18:19 +00:00
Treehugger Robot
4de72a2297
Merge "Bluetooth AIDL: SetTerminalRaw on fd"
2023-04-28 19:29:33 +00:00
Henri Chataing
a4b4be6c2b
Merge "Bluetooth: Enable test Cdd_C_12_1_Bluetooth5Requirements" am: f41cdd3d0d
am: 2c2472ee9e
am: 30bc77e297
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2551038
Change-Id: Ia47d1611ce185c4ed0faf4a3e85aca404f0c9800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 19:09:56 +00:00
Henri Chataing
f41cdd3d0d
Merge "Bluetooth: Enable test Cdd_C_12_1_Bluetooth5Requirements"
2023-04-28 17:35:03 +00:00
yanggang.yang
eb744bc14c
Bluetooth AIDL: SetTerminalRaw on fd
...
Call SetTerminalRaw on the fd that was opened, since mFD has not been set. If SetTerminalRaw fails, log it but continue, since some platforms do not need this call.
Bug: 279870989
Test: start Bluetooth on a device that doesn't need SetTerminalRaw
Change-Id: I97c92c407b7c80442a0ba0812a630525219670a0
2023-04-28 17:02:08 +00:00
Elie Kheirallah
f454e03c9e
Merge "Fix null dereference read in android::hardware::bluetooth::hci::H4Protocol::Send" am: 3f2f348c48
am: dcc46ec5bd
am: dc747c1046
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2548491
Change-Id: Iad5e17bfb76ff28c6ae3bfa5b465893a577d5457
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 22:23:44 +00:00
Elie Kheirallah
3f2f348c48
Merge "Fix null dereference read in android::hardware::bluetooth::hci::H4Protocol::Send"
2023-04-21 15:04:56 +00:00
Henri Chataing
0c581a084a
Bluetooth: Enable test Cdd_C_12_1_Bluetooth5Requirements
...
The requirements have been added to RootCanal:
- LE Periodic Advertising
- LL Privacy
- LE 2M Phy
Test: atest
Bug: 275847929
Change-Id: Ifa49494091727bf162554a658629bc4ec3c3cd63
2023-04-20 23:12:06 +00:00
Elie Kheirallah
cd1bf1e530
Fix null dereference read in android::hardware::bluetooth::hci::H4Protocol::Send
...
Bug: 276375037
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ib9f99a75a97538899ac64a3c02fff1ec5804a0e6
2023-04-20 21:37:50 +00:00
Myles Watson
ba44266f13
Merge "Bluetooth AIDL: Set max thread count to 0" am: bf6879eaa2
am: 817c6e4139
am: 530846b34c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2545971
Change-Id: I9c15b271447c094cd9a0250f686ff71c76061852
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 04:48:48 +00:00
Myles Watson
18bd4096a9
Bluetooth AIDL: Set max thread count to 0
...
The default HAL only uses one thread, which is 0 more than
the default of 1.
Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: I8828cab2b4eb4d2a28ecc41cb75e3eb470cd0da6
2023-04-18 15:46:32 -07:00
Alex Buynytskyy
ec1198d941
UpsideDownCake is now 34
...
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
Myles Watson
048b8f7517
Run VtsHalBluetoothTargetTest with hwasan
...
Bug: 276457982
Test: atest VtsHalBluetoothTargetTest
Change-Id: I4d203f4217f6509c08c5519dc3ff53b9eca5c172
2023-03-31 13:15:19 -07:00
Jack He
2d2f3c272d
VTS: Add VSR requirement tests to VTS
...
* Enforce that LMP version must be greater than or equal to HCI version
* Enforce that minimum advertising set is 16 when HCI version is 5.0 and
above
* Enforce Link Layer Security, 2M Phy, Coded PHY requirements at BT 5
* Enforce minimum 8 resolving list entries at BT 5
Bug: 263257831
Test: vts
Change-Id: I53a6713563c0b9a5ba27eecf2a69caff0a57f30b
2023-03-29 18:24:55 -07:00
Jack He
dbceaca8e1
Fix clang-tidy errors
...
Bug: 263257831
Test: vts
Change-Id: I235ca85f9c1c84ab0a929572221020bfd568a2b0
2023-03-28 00:07:21 -07:00
Myles Watson
51b8baeb00
VtsHalBluetooth: Use PDL to generate packets
...
Bug: 266221125
Test: atest VtsHalBluetoothTargetTest
Change-Id: If3180282249027ffab45b7e84138a660266ce2b8
2023-03-27 17:31:53 -07:00
Myles Watson
0daa164e59
VtsHalBluetooth: Add test for double init
...
Bug: 266221125
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ic9c0abd27171e210367c2224f8a97991f4088285
2023-02-01 17:17:58 -08:00
Myles Watson
65b47f5f99
BluetoothHAL: Reset the chip on open(), close once
...
Sending a reset and discarding extra packets
helps ensure that tests are hermetic for devices
that do not power off the chip with rfkill.
Add a mutex to make sure that close only gets
called once.
Bug: 266221125
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ifb259a675202aa5399a8c7570ba8c4df2083e10e
2023-01-31 14:42:57 -08:00
Myles Watson
e1708c8c44
VtsHalBluetoothTargetTest: test loopback
...
Add tests for loopback testing mode.
Bug: 205758693
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ie4d23136f0cff901435ec33f8668dd1e261d9870
2023-01-20 17:52:31 -08:00
Treehugger Robot
115b1a7dae
Merge changes Ie7e60128,I1a648227
...
* changes:
Move AIDL library from shared to static for BT VTS
Add bluetooth VTS to TEST_MAPPING
2023-01-20 02:02:52 +00:00
Devin Moore
21ca742b9e
Move AIDL library from shared to static for BT VTS
...
It can't find the .so in /system when the binary is pushed to the
device.
Test: na
Bug: 205758693
Change-Id: Ie7e601285b96d8242d6c8e162c452363a78ed87e
2023-01-20 00:28:50 +00:00
Treehugger Robot
b53e8ef9b4
Merge "Dispatch correct callbacks from AIDL HAL"
2023-01-19 23:01:25 +00:00
Devin Moore
c1b5f69ea0
Add bluetooth VTS to TEST_MAPPING
...
Test: na
Bug: 205758693
Change-Id: I1a64822740e4cff402a2b5bd62eed359e3c2f123
2023-01-19 21:13:36 +00:00
David Duarte
a58b79d44e
Dispatch correct callbacks from AIDL HAL
...
Test: pts-bot
Bug: 266052984
Change-Id: I323f32ddbc9773df08f7cc466d37c395279e3dd9
2023-01-19 21:01:13 +00:00
Dylan Tian
8a6e09c72d
Vts implementation for Bluetooth Hci
...
Bug: 205758693
Test: atest VtsHalBluetoothTargetTest
Change-Id: If3e193303881990cbca858a0882891a7b8e19c75
2023-01-18 17:24:27 -08:00
Myles Watson
efa25d7287
bluetooth: Add support for linux bluetooth raw hci sockets
...
The implementation is imported from
packages/modules/Bluetooth/system/vendor_libs/linux/interface
with modifications to modernize the code.
The default bluetooth HAL implementation now jointly uses
the serial implementation and the bluetooth socket
implementation.
Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: I791fd406e56a0144e1117cb6f8e27ec71b48a192
2023-01-05 17:09:09 -08:00
Myles Watson
8678c75bca
Bluetooth HCI Hal: Initialize has_died_
...
Bug: 205758693
Test: kill Bluetooth
Change-Id: Ia0c844a454524f9cf945c9622fa795dfda12ad3a
2022-11-03 10:44:05 -07:00
Bob Badour
7cde2eee1f
[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
...
Added SPDX-license-identifier-Apache-2.0 to:
bluetooth/aidl/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I40e2b864e3ebe3d70dd37c32b2ea7b1c45010c58
2022-11-03 07:03:39 -07:00
Myles Watson
6d5e77283d
Bluetooth HAL: Add an AIDL default implementation
...
Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: Ie8839e38448a309f2e6616d852026066b6c6c064
2022-11-01 09:29:23 -07:00
Myles Watson
e4501e549c
Start with async and HCI
...
Bug: 205758693
Test: unit tests
Change-Id: I16a8be44bce5f2d233582ab6db17c30d068fa9c0
2022-11-01 09:29:23 -07:00
Myles Watson
10d29e4934
Bluetooth HIDL -> AIDL conversion
...
Bug: 205758693
Test: updated vts tests
Change-Id: Iac4d387dba3715d17c63369f392d091e9228333a
2022-11-01 09:29:23 -07:00