Home
last modified time | relevance | path

Searched refs:buffer1 (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp61 int32_t *buffer1 = (int32_t *)region1; in TEST() local
62 buffer1[0] = 98735; // arbitrary value in TEST()
76 EXPECT_NE(buffer1, buffer2); in TEST()
77 EXPECT_EQ(buffer1[0], buffer2[0]); in TEST()
95 int32_t *buffer1 = (int32_t *)region1; in TEST() local
96 buffer1[0] = 336677; // arbitrary value in TEST()
109 EXPECT_EQ(buffer1[0], buffer2[0]); in TEST()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp17 DvrBuffer* buffer1 = nullptr; in TEST() local
18 int ret1 = dvrSetupGlobalBuffer(buffer_key, 10, 0, &buffer1); in TEST()
20 ASSERT_NE(nullptr, buffer1); in TEST()
28 int e1 = dvrBufferGetAHardwareBuffer(buffer1, &hardware_buffer1); in TEST()
52 dvrBufferDestroy(buffer1); in TEST()
95 DvrBuffer* buffer1 = nullptr; in TEST() local
96 int e1 = dvrGetGlobalBuffer(buffer_key1, &buffer1); in TEST()
97 ASSERT_NE(nullptr, buffer1); in TEST()
99 dvrBufferDestroy(buffer1); in TEST()
/frameworks/native/libs/vr/libpdx/
Dthread_local_buffer_tests.cpp108 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()
Dservice_tests.cpp519 char buffer1[10]; in TEST_F() local
521 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F()
549 char buffer1[10]; in TEST_F() local
551 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F()
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java34 private void compareBuffers(byte[] buffer1, byte[] buffer2, int length) throws Exception { in compareBuffers() argument
36 if (buffer1[i] != buffer2[i]) { in compareBuffers()
/frameworks/av/media/mtp/
DMtpDevice.cpp753 char buffer1[MTP_BUFFER_SIZE], buffer2[MTP_BUFFER_SIZE]; in readData() local
754 mRequestIn1->buffer = buffer1; in readData()