Searched refs:readData (Results 1 – 3 of 3) sorted by relevance
/system/libfmq/tests/ |
D | fmq_unit_tests.cpp | 327 uint8_t readData[dataLen] = {}; in TEST_F() local 328 ASSERT_TRUE(mQueue->read(readData, dataLen)); in TEST_F() 329 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TEST_F() 350 uint8_t readData[dataLen] = {}; in TEST_F() local 354 ASSERT_TRUE(tx.copyFrom(readData, 0 /* startIdx */, dataLen)); in TEST_F() 358 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TEST_F() 385 uint8_t readData[dataLen] = {}; in TEST_F() local 396 readData[i] = *ptr; in TEST_F() 401 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TEST_F() 411 uint8_t readData[dataLen]; in TEST_F() local [all …]
|
D | msgq_test_client.cpp | 170 std::vector<uint16_t> readData(numMessagesMax); in TEST_F() local 171 ASSERT_FALSE(queue->read(&readData[0], numMessagesMax)); in TEST_F() 183 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TEST_F() 184 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TEST_F() 208 std::vector<uint16_t> readData(dataLen); in TEST_F() local 209 ASSERT_FALSE(queue->read(&readData[0], dataLen)); in TEST_F() 220 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TEST_F() 221 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TEST_F() 422 uint16_t readData[dataLen] = {}; in TEST_F() local 423 ASSERT_TRUE(mQueue->read(readData, dataLen)); in TEST_F() [all …]
|
/system/netd/client/ |
D | NetdClient.cpp | 348 int readData(int fd, void* buf, size_t size) { in readData() function 597 int rc = readData(fd, answer, size); in resNetworkResult()
|