/frameworks/minikin/tests/unittest/ |
D | SparseBitSetTest.cpp | 67 std::vector<uint8_t> newBuffer = writeToBuffer(bitset); in TEST() local 68 ASSERT_EQ(buffer, newBuffer); in TEST() 78 std::vector<uint8_t> newBuffer = writeToBuffer(bitset); in TEST() local 79 ASSERT_EQ(buffer, newBuffer); in TEST()
|
D | FontTest.cpp | 38 std::vector<uint8_t> newBuffer = writeToBuffer<Font, writeFreeTypeMinikinFontForTest>(*font); in TEST() local 39 EXPECT_EQ(buffer, newBuffer); in TEST()
|
D | FontCollectionTest.cpp | 201 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local 202 EXPECT_EQ(buffer, newBuffer); in TEST() 215 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local 216 EXPECT_EQ(buffer, newBuffer); in TEST() 232 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local 233 EXPECT_EQ(buffer, newBuffer); in TEST()
|
D | FontFamilyTest.cpp | 841 std::vector<uint8_t> newBuffer = in TEST_F() local 843 ASSERT_EQ(buffer, newBuffer); in TEST_F() 855 std::vector<uint8_t> newBuffer = in TEST_F() local 857 ASSERT_EQ(buffer, newBuffer); in TEST_F()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 66 return localBufferPool->newBuffer(capacity); in AllocateInputGraphicBuffer() 430 sp<ABuffer> LocalBufferPool::newBuffer(size_t capacity) { in newBuffer() function in android::LocalBufferPool 766 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local 767 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer() 768 *buffer = newBuffer; in requestNewBuffer() 804 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local 805 if (newBuffer == nullptr) { in requestNewBuffer() 808 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer() 809 *buffer = newBuffer; in requestNewBuffer() 981 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local [all …]
|
D | CCodecBuffers.h | 500 sp<ABuffer> newBuffer(size_t capacity);
|
/frameworks/rs/ |
D | rsList.h | 59 LinkedBuffer* newBuffer = new LinkedBuffer(); in push_back() local 60 currentBuffer->next = newBuffer; in push_back() 61 currentBuffer = newBuffer; in push_back()
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 184 MediaBufferBase **newBuffer) { in createMediaBufferCopy() argument 190 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy() 191 memcpy((*newBuffer)->data(), sourcePointer, sourceSize); in createMediaBufferCopy() 193 (*newBuffer)->meta_data().setInt64(kKeyTime, frameTime); in createMediaBufferCopy()
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 159 sp<ABuffer> newBuffer = new ABuffer(bufferSize); in muxing() local 176 err = extractor->readSampleData(newBuffer); in muxing() 208 err = muxer->writeSampleData(newBuffer, in muxing() 218 newBuffer.clear(); in muxing()
|
/frameworks/base/libs/hwui/renderthread/ |
D | ReliableSurface.cpp | 162 AHardwareBuffer* newBuffer; in acquireFallbackBuffer() local 163 int result = AHardwareBuffer_allocate(&desc, &newBuffer); in acquireFallbackBuffer() 171 mScratchBuffer.reset(newBuffer); in acquireFallbackBuffer() 172 return AHardwareBuffer_to_ANativeWindowBuffer(newBuffer); in acquireFallbackBuffer()
|
/frameworks/av/media/extractors/mpeg2/ |
D | MPEG2PSExtractor.cpp | 178 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore() local 179 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in feedMore() 180 newBuffer->setRange(0, mBuffer->size()); in feedMore() 181 mBuffer = newBuffer; in feedMore()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | RenderSurface.cpp | 169 sp<GraphicBuffer> newBuffer = GraphicBuffer::from(buffer); in dequeueBuffer() local 175 if (cachedTexture->getBuffer()->getId() == newBuffer->getId()) { in dequeueBuffer()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 980 sp<ABuffer> newBuffer, newScrambledBuffer; in ensureBufferCapacity() local 1040 newBuffer = new ABuffer(neededSize); in ensureBufferCapacity() 1042 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in ensureBufferCapacity() 1043 newBuffer->setRange(0, mBuffer->size()); in ensureBufferCapacity() 1045 newBuffer->setRange(0, 0); in ensureBufferCapacity() 1047 mBuffer = newBuffer; in ensureBufferCapacity() 2436 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append() local 2439 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in append() 2440 newBuffer->setRange(0, mBuffer->size()); in append() 2442 newBuffer->setRange(0, 0); in append() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 3798 public void put(int index, @Nullable ByteBuffer newBuffer) { in put() argument 3804 buffer.setByteBuffer(newBuffer); in put() 4076 ByteBuffer newBuffer = getBuffer(true /* input */, index); in getInputBuffer() local 4079 mDequeuedInputBuffers.put(index, newBuffer); in getInputBuffer() 4081 return newBuffer; in getInputBuffer() 4149 ByteBuffer newBuffer = getBuffer(false /* input */, index); in getOutputBuffer() local 4152 mDequeuedOutputBuffers.put(index, newBuffer); in getOutputBuffer() 4154 return newBuffer; in getOutputBuffer()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 888 sp<GraphicBuffer> newBuffer = new GraphicBuffer( in migrate() local 892 if (newBuffer->initCheck() == android::NO_ERROR) { in migrate() 893 graphicBuffer = std::move(newBuffer); in migrate()
|
/frameworks/av/camera/ |
D | CameraMetadata.cpp | 75 camera_metadata_t *newBuffer = clone_camera_metadata(buffer); in operator =() local 77 mBuffer = newBuffer; in operator =()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 6279 bool newBuffer = false; in read() local 6281 newBuffer = true; in read() 6328 if (newBuffer) { in read() 6686 bool newBuffer = false; in fragmentedRead() local 6688 newBuffer = true; in fragmentedRead() 6771 if (newBuffer) { in fragmentedRead()
|