Searched refs:compare_length (Results 1 – 2 of 2) sorted by relevance
415 size_t compare_length = in sendAndCheckHCI() local418 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()
427 size_t compare_length = in sendAndCheckHCI() local430 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()