mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
Bluetooth HCI: Add VTS requirement for HCI 4.2 - Annotations
Bug: 285456310 Test: atest VtsHalBluetoothV1_1TargetTest Test: atest VtsHalBluetoothV1_0TargetTest Test: atest VtsHalBluetoothTargetTest Change-Id: I5a910d2a7d778b2e64a524d0a389b911c080e189
This commit is contained in:
@@ -657,11 +657,11 @@ TEST_P(BluetoothHidlTest, HciVersionTest) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Requirements
|
|
||||||
*
|
|
||||||
* VSR-5.3.14-007 MUST support Bluetooth 4.2 and Bluetooth LE Data Length Extension.
|
* 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).
|
* 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) {
|
TEST_P(BluetoothHidlTest, Bluetooth4_2) {
|
||||||
// Bluetooth 4.2+
|
// Bluetooth 4.2+
|
||||||
hidl_vec<uint8_t> cmd = COMMAND_HCI_READ_LOCAL_VERSION_INFORMATION;
|
hidl_vec<uint8_t> cmd = COMMAND_HCI_READ_LOCAL_VERSION_INFORMATION;
|
||||||
|
|||||||
@@ -680,11 +680,11 @@ TEST_P(BluetoothHidlTest, HciVersionTest) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Requirements
|
|
||||||
*
|
|
||||||
* VSR-5.3.14-007 MUST support Bluetooth 4.2 and Bluetooth LE Data Length Extension.
|
* 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).
|
* 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) {
|
TEST_P(BluetoothHidlTest, Bluetooth4_2) {
|
||||||
// Bluetooth 4.2+
|
// Bluetooth 4.2+
|
||||||
hidl_vec<uint8_t> cmd = COMMAND_HCI_READ_LOCAL_VERSION_INFORMATION;
|
hidl_vec<uint8_t> cmd = COMMAND_HCI_READ_LOCAL_VERSION_INFORMATION;
|
||||||
|
|||||||
@@ -1055,11 +1055,11 @@ TEST_P(BluetoothAidlTest, Vsr_Bluetooth5Requirements) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Requirements
|
|
||||||
*
|
|
||||||
* VSR-5.3.14-007 MUST support Bluetooth 4.2 and Bluetooth LE Data Length Extension.
|
* 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).
|
* 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_P(BluetoothAidlTest, Vsr_Bluetooth4_2Requirements) {
|
||||||
// test only applies to handheld devices
|
// test only applies to handheld devices
|
||||||
if (!isHandheld()) {
|
if (!isHandheld()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user