/frameworks/base/tools/aapt2/util/ |
D | BigBuffer_test.cpp | 59 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()); in TEST() 66 EXPECT_EQ(buffer2.begin(), buffer2.end()); in TEST()
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_named_buffer-test.cpp | 22 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/ |
D | test_marshalling.cpp | 75 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/ |
D | thread_local_buffer_tests.cpp | 109 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()
|
D | service_tests.cpp | 520 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/libs/hwui/tests/common/scenes/ |
D | TvApp.cpp | 174 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/tests/net/java/com/android/internal/util/ |
D | RingBufferTest.java | 154 RingBuffer<DummyClass2> buffer2 = new RingBuffer<>(DummyClass2.class, capacity); in testGetNextSlot() local 156 + "(No nullary constructor)", buffer2.getNextSlot()); in testGetNextSlot()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 34 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/ |
D | MtpDevice.cpp | 753 char buffer1[MTP_BUFFER_SIZE], buffer2[MTP_BUFFER_SIZE]; in readData() local 755 mRequestIn2->buffer = buffer2; in readData()
|