Lines Matching refs:readData
423 int8_t readData[dataLen]; in TEST_F() local
424 ASSERT_TRUE(aidlFmq.read(readData, dataLen)); in TEST_F()
426 ASSERT_EQ(data[0], readData[0]); in TEST_F()
427 ASSERT_EQ(data[1], readData[1]); in TEST_F()
428 ASSERT_EQ(data[2], readData[2]); in TEST_F()
429 ASSERT_EQ(data[3], readData[3]); in TEST_F()
459 int8_t readData[dataLen]; in TEST_F() local
460 ASSERT_TRUE(aidlFmq.read(readData, dataLen)); in TEST_F()
464 ASSERT_EQ(data[0], readData[0]); in TEST_F()
465 ASSERT_EQ(data[1], readData[1]); in TEST_F()
466 ASSERT_EQ(data[2], readData[2]); in TEST_F()
467 ASSERT_EQ(data[3], readData[3]); in TEST_F()
801 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
802 ASSERT_TRUE(this->mQueue->read(readData, dataLen)); in TYPED_TEST()
803 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TYPED_TEST()
824 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
828 ASSERT_TRUE(tx.copyFrom(readData, 0 /* startIdx */, dataLen)); in TYPED_TEST()
832 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TYPED_TEST()
859 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
870 readData[i] = *ptr; in TYPED_TEST()
875 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TYPED_TEST()
885 uint8_t readData[dataLen]; in TYPED_TEST() local
886 ASSERT_FALSE(this->mQueue->read(readData, dataLen)); in TYPED_TEST()
921 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
922 ASSERT_TRUE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
923 ASSERT_EQ(data, readData); in TYPED_TEST()
957 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
958 ASSERT_TRUE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
959 ASSERT_EQ(data, readData); in TYPED_TEST()
975 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
976 ASSERT_FALSE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
977 ASSERT_NE(data, readData); in TYPED_TEST()
991 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
992 ASSERT_TRUE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
993 ASSERT_EQ(data, readData); in TYPED_TEST()
1028 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
1030 ASSERT_TRUE(this->mQueue->read(readData + i * chunkSize, chunkSize)); in TYPED_TEST()
1032 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TYPED_TEST()
1049 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
1050 ASSERT_TRUE(this->mQueue->read(readData, dataLen)); in TYPED_TEST()
1051 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TYPED_TEST()
1063 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1066 ASSERT_TRUE(this->mQueue->read(&readData[0], numMessages)); in TYPED_TEST()
1068 ASSERT_TRUE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
1069 ASSERT_EQ(data, readData); in TYPED_TEST()
1083 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1086 ASSERT_TRUE(this->mQueue->read(&readData[0], dataLen)); in TYPED_TEST()
1110 ASSERT_TRUE(tx.copyFrom(&readData[0], 0 /* startIdx */, this->mNumMessagesMax)); in TYPED_TEST()
1113 ASSERT_EQ(data, readData); in TYPED_TEST()
1126 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
1127 ASSERT_TRUE(this->mQueue->read(readData, dataLen)); in TYPED_TEST()
1128 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TYPED_TEST()
1138 uint8_t readData[dataLen]; in TYPED_TEST() local
1139 ASSERT_FALSE(this->mQueue->read(readData, dataLen)); in TYPED_TEST()
1155 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1156 ASSERT_FALSE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
1178 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1179 ASSERT_FALSE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
1191 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1192 ASSERT_TRUE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
1193 ASSERT_EQ(data, readData); in TYPED_TEST()
1208 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1209 ASSERT_FALSE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
1210 ASSERT_NE(data, readData); in TYPED_TEST()
1224 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1225 ASSERT_FALSE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
1239 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
1241 ASSERT_TRUE(this->mQueue->read(readData + i * chunkSize, chunkSize)); in TYPED_TEST()
1243 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TYPED_TEST()
1261 uint8_t readData[dataLen] = {}; in TYPED_TEST() local
1262 ASSERT_TRUE(this->mQueue->read(readData, dataLen)); in TYPED_TEST()
1263 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TYPED_TEST()
1275 std::vector<uint8_t> readData(this->mNumMessagesMax); in TYPED_TEST() local
1279 ASSERT_TRUE(this->mQueue->read(&readData[0], numMessages)); in TYPED_TEST()
1281 ASSERT_TRUE(this->mQueue->read(&readData[0], this->mNumMessagesMax)); in TYPED_TEST()
1282 ASSERT_EQ(data, readData); in TYPED_TEST()