Searched refs:readData (Results 1 – 5 of 5) sorted by relevance
/system/libfmq/tests/ |
D | fmq_unit_tests.cpp | 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() [all …]
|
D | msgq_test_client.cpp | 365 std::vector<int32_t> readData(numMessagesMax); in TYPED_TEST() local 366 ASSERT_FALSE(queue->read(&readData[0], numMessagesMax)); in TYPED_TEST() 377 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TYPED_TEST() 378 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TYPED_TEST() 400 std::vector<int32_t> readData(dataLen); in TYPED_TEST() local 401 ASSERT_FALSE(queue->read(&readData[0], dataLen)); in TYPED_TEST() 411 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TYPED_TEST() 412 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TYPED_TEST() 658 int32_t readData[dataLen] = {}; in TYPED_TEST() local 659 ASSERT_TRUE(this->mQueue->read(readData, dataLen)); in TYPED_TEST() [all …]
|
/system/media/audio_utils/tests/ |
D | circular_buffer_tests.cpp | 57 uint8_t readData[sizeof(REFERENCE_DATA_2)] = { 0 }; in TEST() local 58 ASSERT_EQ(sizeof(REFERENCE_DATA_2), buffer.read(readData, sizeof(readData))); in TEST() 59 ASSERT_EQ(0, memcmp(REFERENCE_DATA_2, readData, sizeof(REFERENCE_DATA_2))); in TEST()
|
/system/netd/client/ |
D | NetdClient.cpp | 344 int readData(int fd, void* buf, size_t size) { in readData() function 582 int rc = readData(fd, answer, size); in resNetworkResult()
|
/system/tools/aidl/tests/java/src/android/aidl/tests/ |
D | TestServiceClient.java | 522 byte[] readData = new byte[testData.length]; in verifyFileContents() 524 assertThat(fis.read(readData), is(readData.length)); in verifyFileContents() 525 assertThat(readData, is(testData)); in verifyFileContents()
|