Home
last modified time | relevance | path

Searched refs:buffer2 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/aapt2/util/
DBigBuffer_test.cpp59 BigBuffer buffer2(16); in TEST() local
60 b1 = buffer2.NextBlock<uint32_t>(); in TEST()
64 buffer.AppendBuffer(std::move(buffer2)); in TEST()
65 EXPECT_EQ(0u, buffer2.size()); // NOLINT in TEST()
66 EXPECT_EQ(buffer2.begin(), buffer2.end()); in TEST()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp22 DvrBuffer* buffer2 = nullptr; in TEST() local
23 int ret2 = dvrSetupGlobalBuffer(buffer_key, 10, 0, &buffer2); in TEST()
25 ASSERT_NE(nullptr, buffer2); in TEST()
33 int e2 = dvrBufferGetAHardwareBuffer(buffer2, &hardware_buffer2); in TEST()
53 dvrBufferDestroy(buffer2); in TEST()
101 DvrBuffer* buffer2 = nullptr; in TEST() local
102 int e2 = dvrGetGlobalBuffer(buffer_key2, &buffer2); in TEST()
103 ASSERT_NE(nullptr, buffer2); in TEST()
105 dvrBufferDestroy(buffer2); in TEST()
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp75 int32_t *buffer2 = (int32_t *)region2; in TEST() local
76 EXPECT_NE(buffer1, buffer2); in TEST()
77 EXPECT_EQ(buffer1[0], buffer2[0]); in TEST()
108 int32_t *buffer2 = (int32_t *)region2; in TEST() local
109 EXPECT_EQ(buffer1[0], buffer2[0]); in TEST()
/frameworks/native/libs/vr/libpdx/
Dthread_local_buffer_tests.cpp109 auto& buffer2 = MessageBuffer<SendSlotA>::GetBuffer(); in TEST() local
113 EXPECT_EQ(buffer1.data(), buffer2.data()); in TEST()
116 EXPECT_NE(buffer2.data(), buffer4.data()); in TEST()
Dservice_tests.cpp520 char buffer2[20]; in TEST_F() local
521 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F()
550 char buffer2[20]; in TEST_F() local
551 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F()
/frameworks/base/tests/net/java/com/android/internal/util/
DRingBufferTest.java152 RingBuffer<DummyClass2> buffer2 = new RingBuffer<>(DummyClass2.class, capacity); in testGetNextSlot() local
154 + "(No nullary constructor)", buffer2.getNextSlot()); in testGetNextSlot()
/frameworks/base/libs/hwui/tests/common/scenes/
DTvApp.cpp174 char buffer2[128]; in createCard() local
175 sprintf(buffer2, "Studio %d", mSeed2++); in createCard()
177 createInfoNode(canvas, 0, dp(120), width, height, buffer, buffer2); in createCard()
/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
755 mRequestIn2->buffer = buffer2; in readData()