Searched defs:buffer1 (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
H A DMemoryFileTest.java32 private void compareBuffers(byte[] buffer1, byte[] buffer2, int length) throws Exception { argument
34 if (buffer1[i] != buffer2[i]) {
/frameworks/native/libs/vr/libpdx/
H A Dthread_local_buffer_tests.cpp108 auto& buffer1 = MessageBuffer<SendSlotA>::GetBuffer(); local
113 EXPECT_EQ(buffer1.data(), buffer2.data());
115 EXPECT_NE(buffer1.data(), buffer3.data());
H A Dservice_tests.cpp517 char buffer1[10]; local
519 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}};
547 char buffer1[10]; local
549 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}};
/frameworks/av/media/libaaudio/tests/
H A Dtest_marshalling.cpp61 int32_t *buffer1 = (int32_t *)region1; local
62 buffer1[0] = 98735; // arbitrary value
76 EXPECT_NE(buffer1, buffer2);
77 EXPECT_EQ(buffer1[0], buffer2[0]);
95 int32_t *buffer1 = (int32_t *)region1; local
96 buffer1[0] = 336677; // arbitrary value
109 EXPECT_EQ(buffer1[0], buffer2[0]);
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_named_buffer-test.cpp18 DvrBuffer* buffer1 = nullptr; local
19 int ret1 = dvrSetupGlobalBuffer(buffer_key, 10, 0, &buffer1);
21 ASSERT_NE(nullptr, buffer1);
29 int e1 = dvrBufferGetAHardwareBuffer(buffer1, &hardware_buffer1);
53 dvrBufferDestroy(buffer1);
96 DvrBuffer* buffer1 = nullptr; local
97 int e1 = dvrGetGlobalBuffer(buffer_key1, &buffer1);
98 ASSERT_NE(nullptr, buffer1);
100 dvrBufferDestroy(buffer1);
/frameworks/av/media/mtp/
H A DMtpDevice.cpp753 char buffer1[MTP_BUFFER_SIZE], buffer2[MTP_BUFFER_SIZE]; local
754 mRequestIn1->buffer = buffer1;

Completed in 116 milliseconds