Home
last modified time | relevance | path

Searched refs:compare_length (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/bluetooth/1.0/vts/functional/
DVtsHalBluetoothV1_0TargetTest.cpp448 size_t compare_length = in sendAndCheckHCI() local
451 ASSERT_GT(event.size(), compare_length + EVENT_FIRST_PAYLOAD_BYTE - 1); in sendAndCheckHCI()
454 ASSERT_EQ(compare_length, event[EVENT_LENGTH_BYTE]); in sendAndCheckHCI()
457 if (compare_length + EVENT_FIRST_PAYLOAD_BYTE > event.size()) { in sendAndCheckHCI()
458 compare_length = event.size() - EVENT_FIRST_PAYLOAD_BYTE; in sendAndCheckHCI()
459 ALOGE("Only comparing %d bytes", static_cast<int>(compare_length)); in sendAndCheckHCI()
466 for (size_t i = 0; i < compare_length; i++) in sendAndCheckHCI()
/hardware/interfaces/bluetooth/1.1/vts/functional/
DVtsHalBluetoothV1_1TargetTest.cpp460 size_t compare_length = in sendAndCheckHCI() local
463 EXPECT_GT(event.size(), compare_length + EVENT_FIRST_PAYLOAD_BYTE - 1); in sendAndCheckHCI()
466 EXPECT_EQ(compare_length, event[EVENT_LENGTH_BYTE]); in sendAndCheckHCI()
469 if (compare_length + EVENT_FIRST_PAYLOAD_BYTE > event.size()) { in sendAndCheckHCI()
470 compare_length = event.size() - EVENT_FIRST_PAYLOAD_BYTE; in sendAndCheckHCI()
471 ALOGE("Only comparing %d bytes", static_cast<int>(compare_length)); in sendAndCheckHCI()
478 for (size_t i = 0; i < compare_length; i++) in sendAndCheckHCI()