/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | ByteBufferPerfTest.java | 85 public static ByteBuffer newBuffer( in newBuffer() method in ByteBufferPerfTest 123 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte() 137 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByteArray() 152 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte_indexed() 166 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar() 181 ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); in timeCharBuffer_getCharArray() 196 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar_indexed() 210 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getDouble() 225 ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer(); in timeDoubleBuffer_getDoubleArray() 240 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getFloat() [all …]
|
D | BulkPerfTest.java | 92 public static ByteBuffer newBuffer(boolean aligned, MyBufferType bufferType, int bsize) in newBuffer() method in BulkPerfTest 121 ByteBuffer src = BulkPerfTest.newBuffer(align, sBuf, size); in timePut() 122 ByteBuffer data = BulkPerfTest.newBuffer(align, dBuf, size); in timePut()
|
D | ByteBufferScalarVersusVectorPerfTest.java | 113 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy() 114 ByteBuffer dst = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy()
|
/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 | FontCollectionTest.cpp | 216 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local 217 EXPECT_EQ(buffer, newBuffer); in TEST() 230 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local 231 EXPECT_EQ(buffer, newBuffer); in TEST() 247 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local 248 EXPECT_EQ(buffer, newBuffer); in TEST()
|
D | FontTest.cpp | 55 std::vector<uint8_t> newBuffer = writeToBuffer<Font>(font); in TEST() local 56 EXPECT_EQ(buffer, newBuffer); in TEST()
|
D | FontFamilyTest.cpp | 930 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST_F() local 931 ASSERT_EQ(buffer, newBuffer); in TEST_F()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 71 return localBufferPool->newBuffer(capacity); in AllocateInputGraphicBuffer() 613 sp<ABuffer> LocalBufferPool::newBuffer(size_t capacity) { in newBuffer() function in android::LocalBufferPool 949 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local 950 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer() 951 *buffer = newBuffer; in requestNewBuffer() 987 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local 988 if (newBuffer == nullptr) { in requestNewBuffer() 991 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer() 992 *buffer = newBuffer; in requestNewBuffer() 1164 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local [all …]
|
D | CCodecBuffers.h | 517 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/cmds/stagefright/ |
D | muxer.cpp | 163 sp<ABuffer> newBuffer = new ABuffer(bufferSize); in muxing() local 180 err = extractor->readSampleData(newBuffer); in muxing() 212 err = muxer->writeSampleData(newBuffer, in muxing() 222 newBuffer.clear(); in muxing()
|
/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/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/codec2/hal/client/ |
D | GraphicsTracker.cpp | 125 std::shared_ptr<BufferItem> newBuffer = in migrateBuffer() local 128 return newBuffer; in migrateBuffer() 952 std::shared_ptr<BufferItem> newBuffer = in render() local 954 sp<GraphicBuffer> gb = newBuffer ? newBuffer->getGraphicBuffer() : nullptr; in render() 965 if (cache->mIgbp->attachBuffer(&(newBuffer->mSlot), gb) != ::android::OK) { in render() 974 cache->waitOnSlot(newBuffer->mSlot); in render() 975 cache->blockSlot(newBuffer->mSlot); in render() 977 buffer = newBuffer; in render()
|
/frameworks/av/media/module/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/module/mpeg2ts/ |
D | ATSParser.cpp | 1067 sp<ABuffer> newBuffer, newScrambledBuffer; in ensureBufferCapacity() local 1122 newBuffer = new ABuffer(neededSize); in ensureBufferCapacity() 1124 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in ensureBufferCapacity() 1125 newBuffer->setRange(0, mBuffer->size()); in ensureBufferCapacity() 1127 newBuffer->setRange(0, 0); in ensureBufferCapacity() 1129 mBuffer = newBuffer; in ensureBufferCapacity() 2585 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append() local 2588 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in append() 2589 newBuffer->setRange(0, mBuffer->size()); in append() 2591 newBuffer->setRange(0, 0); in append() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 4283 public void put(int index, @Nullable ByteBuffer newBuffer) { in put() argument 4289 buffer.setByteBuffer(newBuffer); in put() 4582 ByteBuffer newBuffer = getBuffer(true /* input */, index); in getInputBuffer() local 4585 mDequeuedInputBuffers.put(index, newBuffer); in getInputBuffer() 4587 return newBuffer; in getInputBuffer() 4655 ByteBuffer newBuffer = getBuffer(false /* input */, index); in getOutputBuffer() local 4658 mDequeuedOutputBuffers.put(index, newBuffer); in getOutputBuffer() 4660 return newBuffer; in getOutputBuffer()
|
/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/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 1001 sp<GraphicBuffer> newBuffer = new GraphicBuffer( in migrate() local 1005 if (newBuffer->initCheck() == android::NO_ERROR) { in migrate() 1006 graphicBuffer = std::move(newBuffer); in migrate()
|
/frameworks/av/media/module/extractors/mp4/ |
D | MPEG4Extractor.cpp | 6310 bool newBuffer = false; in read() local 6312 newBuffer = true; in read() 6359 if (newBuffer) { in read() 6727 bool newBuffer = false; in fragmentedRead() local 6729 newBuffer = true; in fragmentedRead() 6812 if (newBuffer) { in fragmentedRead()
|