/frameworks/native/libs/gui/ |
D | IGraphicBufferProducerFlattenables.cpp | 34 size_t IGraphicBufferProducer::QueueBufferInput::getFlattenedSize() const { in getFlattenedSize() function in android::IGraphicBufferProducer::QueueBufferInput 36 fence->getFlattenedSize() + in getFlattenedSize() 37 surfaceDamage.getFlattenedSize() + in getFlattenedSize() 38 hdrMetadata.getFlattenedSize(); in getFlattenedSize() 48 if (size < getFlattenedSize()) { in flatten() 69 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in flatten() 74 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in flatten() 104 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in unflatten() 109 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in unflatten() 120 size_t IGraphicBufferProducer::QueueBufferOutput::getFlattenedSize() const { in getFlattenedSize() function in android::IGraphicBufferProducer::QueueBufferOutput [all …]
|
D | BufferItem.cpp | 92 size_t BufferItem::getFlattenedSize() const { in getFlattenedSize() function in android::BufferItem 95 size += mGraphicBuffer->getFlattenedSize(); in getFlattenedSize() 99 size += mFence->getFlattenedSize(); in getFlattenedSize() 102 size += mSurfaceDamage.getFlattenedSize(); in getFlattenedSize() 103 size += mHdrMetadata.getFlattenedSize(); in getFlattenedSize() 129 if (size < BufferItem::getFlattenedSize()) { in flatten() 155 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in flatten() 159 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in flatten() 221 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in unflatten() 225 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in unflatten()
|
D | HdrMetadata.cpp | 22 size_t HdrMetadata::getFlattenedSize() const { in getFlattenedSize() function in android::HdrMetadata 38 if (size < getFlattenedSize()) { in flatten()
|
D | FrameTimestamps.cpp | 609 size_t FrameEventsDelta::getFlattenedSize() const { in getFlattenedSize() function in android::FrameEventsDelta 614 return a + fence->getFlattenedSize(); in getFlattenedSize() 628 if (size < getFlattenedSize() || count < getFdCount()) { in flatten() 740 size_t FrameEventHistoryDelta::getFlattenedSize() const { in getFlattenedSize() function in android::FrameEventHistoryDelta 744 return a + delta.getFlattenedSize(); in getFlattenedSize() 760 if (size < getFlattenedSize()) { in flatten()
|
/frameworks/native/libs/ui/include_private/ui/ |
D | FlattenableHelpers.h | 37 static constexpr size_t getFlattenedSize(const T&) { in getFlattenedSize() function 62 static size_t getFlattenedSize(const std::string& str) { in getFlattenedSize() function 67 if (*size < getFlattenedSize(str)) return NO_MEMORY; in flatten() 85 static size_t getFlattenedSize(const LightFlattenable<T>& value) { in getFlattenedSize() function 86 return value.getFlattenedSize(); in getFlattenedSize() 92 FlattenableUtils::advance(*buffer, *size, value.getFlattenedSize()); in flatten() 99 FlattenableUtils::advance(*buffer, *size, value->getFlattenedSize()); in unflatten() 105 static size_t getFlattenedSize(const std::optional<T>& value) { in getFlattenedSize() function 106 return sizeof(bool) + (value ? getFlattenedSize(*value) : 0); in getFlattenedSize() 135 static size_t getFlattenedSize(const std::vector<T>& value) { in getFlattenedSize() function [all …]
|
/frameworks/native/libs/ui/tests/ |
D | FlattenableHelpers_test.cpp | 37 size_t getFlattenedSize() const { return sizeof(int32_t); } in getFlattenedSize() function 75 testWriteThenRead(value, FlattenableHelpers::getFlattenedSize(value)); in testWriteThenRead() 104 buffer.assign(FlattenableHelpers::getFlattenedSize(value), 0); in TEST_F() 122 buffer.assign(FlattenableHelpers::getFlattenedSize(value), 0); in TEST_F() 147 size_t getFlattenedSize() const { return kSizeTag; } in TEST_F() function 163 EXPECT_EQ(kSizeTag, FlattenableHelpers::getFlattenedSize(foo)); in TEST_F()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 433 size_t const baseSize = l.getFlattenedSize(); in wrapAs() 539 size_t getFlattenedSize( in getFlattenedSize() function 583 if (size < getFlattenedSize(t)) { in flatten() 678 size_t getFlattenedSize( in getFlattenedSize() function 681 getFlattenedSize(t.gpuCompositionDoneFence) + in getFlattenedSize() 682 getFlattenedSize(t.displayPresentFence) + in getFlattenedSize() 683 getFlattenedSize(t.displayRetireFence) + in getFlattenedSize() 684 getFlattenedSize(t.releaseFence); in getFlattenedSize() 831 size_t getFlattenedSize( in getFlattenedSize() function 836 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize() [all …]
|
D | H2BGraphicBufferProducer.cpp | 309 size_t const baseSize = l.getFlattenedSize(); in wrapAs() 540 size_t const baseSize = l.getFlattenedSize(); in wrapAs() 582 inline size_t getFlattenedSize( in getFlattenedSize() function 628 if (size < getFlattenedSize(t)) { in flatten() 683 inline size_t getFlattenedSize( in getFlattenedSize() function 686 getFlattenedSize(t.gpuCompositionDoneFence) + in getFlattenedSize() 687 getFlattenedSize(t.displayPresentFence) + in getFlattenedSize() 688 getFlattenedSize(t.displayRetireFence) + in getFlattenedSize() 689 getFlattenedSize(t.releaseFence); in getFlattenedSize() 784 inline size_t getFlattenedSize( in getFlattenedSize() function [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | IGraphicBufferProducer.h | 357 size_t getFlattenedSize() const; 394 size_t getFlattenedSize() const; 697 size_t getFlattenedSize() const; 719 size_t getFlattenedSize() const; 735 size_t getFlattenedSize() const; 768 size_t getFlattenedSize() const; 798 size_t getFlattenedSize() const; 819 size_t getFlattenedSize() const;
|
D | HdrMetadata.h | 44 size_t getFlattenedSize() const;
|
D | BufferItem.h | 39 size_t getFlattenedSize() const;
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | Conversion.h | 365 size_t getFlattenedSize(HGraphicBufferProducer::FenceTimeSnapshot const& t); 420 size_t getFlattenedSize(HGraphicBufferProducer::FrameEventsDelta const& t); 476 size_t getFlattenedSize( 564 size_t getFlattenedSize(Region const& t); 614 size_t getFlattenedSize(HGraphicBufferProducer::QueueBufferInput const& t);
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 318 size_t size = mBC->getFlattenedSize(); in roundTrip() 366 size_t size = mBC->getFlattenedSize(); in TEST_F() 388 size_t size = mBC->getFlattenedSize() - 1; in TEST_F() 400 size_t size = mBC->getFlattenedSize(); in TEST_F() 417 size_t size = mBC->getFlattenedSize(); in TEST_F() 436 size_t size = mBC->getFlattenedSize(); in TEST_F() 455 size_t size = mBC->getFlattenedSize(); in TEST_F() 485 size_t size = mBC->getFlattenedSize(); in TEST_F()
|
D | FileBlobCache.cpp | 128 size_t cacheSize = getFlattenedSize(); in writeToFile() 197 return getFlattenedSize() + cacheFileHeaderSize; in getSize()
|
D | BlobCache.h | 99 size_t getFlattenedSize() const;
|
/frameworks/native/libs/ui/ |
D | FrameStats.cpp | 25 size_t FrameStats::getFlattenedSize() const { in getFlattenedSize() function in android::FrameStats 35 if (size < getFlattenedSize()) { in flatten()
|
D | Fence.cpp | 156 size_t Fence::getFlattenedSize() const { in getFlattenedSize() function in android::Fence 165 if (size < getFlattenedSize() || count < getFdCount()) { in flatten() 184 if (size < getFlattenedSize()) { in unflatten()
|
D | FenceTime.cpp | 226 size_t FenceTime::Snapshot::getFlattenedSize() const { in getFlattenedSize() function in android::FenceTime::Snapshot 232 return min + fence->getFlattenedSize(); in getFlattenedSize() 245 if (size < getFlattenedSize()) { in flatten()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FrameStats.h | 57 size_t getFlattenedSize() const;
|
D | Fence.h | 143 size_t getFlattenedSize() const;
|
/frameworks/native/libs/ui/include/ui/ |
D | FrameStats.h | 57 size_t getFlattenedSize() const;
|
D | Fence.h | 143 size_t getFlattenedSize() const;
|
/frameworks/native/libs/sensor/fuzz/sensor_fuzzer/ |
D | sensor_fuzzer.cpp | 49 std::vector<uint8_t> buffer1(sensor1.getFlattenedSize()); in LLVMFuzzerTestOneInput()
|
/frameworks/av/include/private/media/ |
D | VideoFrame.h | 68 size_t getFlattenedSize() const { in getFlattenedSize() function
|
/frameworks/native/libs/sensor/include/sensor/ |
D | Sensor.h | 109 size_t getFlattenedSize() const;
|