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.cpp415 size_t compare_length = in sendAndCheckHCI() local
418 ASSERT_GT(event.size(), compare_length + EVENT_FIRST_PAYLOAD_BYTE - 1); in sendAndCheckHCI()
421 ASSERT_EQ(compare_length, event[EVENT_LENGTH_BYTE]); in sendAndCheckHCI()
424 if (compare_length + EVENT_FIRST_PAYLOAD_BYTE > event.size()) { in sendAndCheckHCI()
425 compare_length = event.size() - EVENT_FIRST_PAYLOAD_BYTE; in sendAndCheckHCI()
426 ALOGE("Only comparing %d bytes", static_cast<int>(compare_length)); in sendAndCheckHCI()
433 for (size_t i = 0; i < compare_length; i++) in sendAndCheckHCI()
/hardware/interfaces/bluetooth/1.1/vts/functional/
DVtsHalBluetoothV1_1TargetTest.cpp427 size_t compare_length = in sendAndCheckHCI() local
430 EXPECT_GT(event.size(), compare_length + EVENT_FIRST_PAYLOAD_BYTE - 1); in sendAndCheckHCI()
433 EXPECT_EQ(compare_length, event[EVENT_LENGTH_BYTE]); in sendAndCheckHCI()
436 if (compare_length + EVENT_FIRST_PAYLOAD_BYTE > event.size()) { in sendAndCheckHCI()
437 compare_length = event.size() - EVENT_FIRST_PAYLOAD_BYTE; in sendAndCheckHCI()
438 ALOGE("Only comparing %d bytes", static_cast<int>(compare_length)); in sendAndCheckHCI()
445 for (size_t i = 0; i < compare_length; i++) in sendAndCheckHCI()