Searched refs:buffer1 (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_named_buffer-test.cpp | 33 DvrBuffer* buffer1 = nullptr; in TEST_F() local 35 dvrDisplayManagerSetupNamedBuffer(client_, buffer_name, 10, 0, &buffer1); in TEST_F() 37 ASSERT_NE(nullptr, buffer1); in TEST_F() 46 int e1 = dvrBufferGetAHardwareBuffer(buffer1, &hardware_buffer1); in TEST_F() 70 dvrBufferDestroy(buffer1); in TEST_F() 115 DvrBuffer* buffer1 = nullptr; in TEST_F() local 116 int e1 = dvrGetNamedBuffer(buffer_name1, &buffer1); in TEST_F() 117 ASSERT_NE(nullptr, buffer1); in TEST_F() 119 dvrBufferDestroy(buffer1); in TEST_F()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 59 int32_t *buffer1 = (int32_t *)region1; in TEST() local 60 buffer1[0] = 98735; // arbitrary value in TEST() 74 EXPECT_NE(buffer1, buffer2); in TEST() 75 EXPECT_EQ(buffer1[0], buffer2[0]); in TEST() 93 int32_t *buffer1 = (int32_t *)region1; in TEST() local 94 buffer1[0] = 336677; // arbitrary value in TEST() 107 EXPECT_EQ(buffer1[0], buffer2[0]); in TEST()
|
/frameworks/native/libs/vr/libpdx/ |
D | thread_local_buffer_tests.cpp | 108 auto& buffer1 = MessageBuffer<SendSlotA>::GetBuffer(); in TEST() local 113 EXPECT_EQ(buffer1.data(), buffer2.data()); in TEST() 115 EXPECT_NE(buffer1.data(), buffer3.data()); in TEST()
|
D | service_tests.cpp | 517 char buffer1[10]; in TEST_F() local 519 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F() 547 char buffer1[10]; in TEST_F() local 549 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 32 private void compareBuffers(byte[] buffer1, byte[] buffer2, int length) throws Exception { in compareBuffers() argument 34 if (buffer1[i] != buffer2[i]) { in compareBuffers()
|
/frameworks/av/media/mtp/ |
D | MtpDevice.cpp | 753 char buffer1[MTP_BUFFER_SIZE], buffer2[MTP_BUFFER_SIZE]; in readData() local 754 mRequestIn1->buffer = buffer1; in readData()
|