Bluetooth HCI: Add VTS requirement for HCI 4.2 - Annotations
Bug: <285456310>
Test: atest VtsHalBluetoothV1_1TargetTest
Test: atest VtsHalBluetoothV1_0TargetTest
Test: atest VtsHalBluetoothTargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:eff7b9102fa5353d96822b5e7b401b033bdd4513)
Merged-In: I5a910d2a7d778b2e64a524d0a389b911c080e189
Change-Id: I5a910d2a7d778b2e64a524d0a389b911c080e189
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
diff --git a/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp b/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp
index 63d04c2..82dda61 100644
--- a/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp
+++ b/bluetooth/1.0/vts/functional/VtsHalBluetoothV1_0TargetTest.cpp
@@ -657,11 +657,11 @@
}
/**
- * Requirements
- *
* VSR-5.3.14-007 MUST support Bluetooth 4.2 and Bluetooth LE Data Length Extension.
* VSR-5.3.14-008 MUST support Bluetooth Low Energy (BLE).
*/
+// @VsrTest = 5.3.14-007
+// @VsrTest = 5.3.14-008
TEST_P(BluetoothHidlTest, Bluetooth4_2) {
// Bluetooth 4.2+
hidl_vec<uint8_t> cmd = COMMAND_HCI_READ_LOCAL_VERSION_INFORMATION;
diff --git a/bluetooth/1.1/vts/functional/VtsHalBluetoothV1_1TargetTest.cpp b/bluetooth/1.1/vts/functional/VtsHalBluetoothV1_1TargetTest.cpp
index 5a455bf..687765f 100644
--- a/bluetooth/1.1/vts/functional/VtsHalBluetoothV1_1TargetTest.cpp
+++ b/bluetooth/1.1/vts/functional/VtsHalBluetoothV1_1TargetTest.cpp
@@ -680,11 +680,11 @@
}
/**
- * Requirements
- *
* VSR-5.3.14-007 MUST support Bluetooth 4.2 and Bluetooth LE Data Length Extension.
* VSR-5.3.14-008 MUST support Bluetooth Low Energy (BLE).
*/
+// @VsrTest = 5.3.14-007
+// @VsrTest = 5.3.14-008
TEST_P(BluetoothHidlTest, Bluetooth4_2) {
// Bluetooth 4.2+
hidl_vec<uint8_t> cmd = COMMAND_HCI_READ_LOCAL_VERSION_INFORMATION;
diff --git a/bluetooth/aidl/vts/VtsHalBluetoothTargetTest.cpp b/bluetooth/aidl/vts/VtsHalBluetoothTargetTest.cpp
index 4d32ab2..87f0f11 100644
--- a/bluetooth/aidl/vts/VtsHalBluetoothTargetTest.cpp
+++ b/bluetooth/aidl/vts/VtsHalBluetoothTargetTest.cpp
@@ -1044,11 +1044,11 @@
}
/**
- * Requirements
- *
* VSR-5.3.14-007 MUST support Bluetooth 4.2 and Bluetooth LE Data Length Extension.
* VSR-5.3.14-008 MUST support Bluetooth Low Energy (BLE).
*/
+// @VsrTest = 5.3.14-007
+// @VsrTest = 5.3.14-008
TEST_P(BluetoothAidlTest, Vsr_Bluetooth4_2Requirements) {
// test only applies to handheld devices
if (!isHandheld()) {