Searched refs:compare_length (Results 1 – 2 of 2) sorted by relevance
448 size_t compare_length = in sendAndCheckHCI() local451 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()
460 size_t compare_length = in sendAndCheckHCI() local463 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()