Home
last modified time | relevance | path

Searched defs:allocator (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/services/audioflinger/
DAllocatorFactory.h38 static const auto allocator = in getDedicated() local
45 static const auto allocator = std::make_shared< in getSharedLarge() local
52 static const auto allocator = in getSharedSmall() local
59 inline auto wrapWithPolicySnooping(Allocator allocator, std::string_view name) { in wrapWithPolicySnooping()
/frameworks/av/media/utils/tests/
Dshared_memory_allocator_tests.cpp92 MemoryHeapBaseAllocator allocator; in TEST() local
112 MemoryHeapBaseAllocator allocator; in TEST() local
126 SnoopingAllocator<MemoryHeapBaseAllocator> allocator{"allocator"}; in TEST() local
167 PolicyAllocator allocator{MemoryHeapBaseAllocator{}, in TEST() local
189 IndirectAllocator allocator{allocator_handle}; in TEST() local
202 PolicyAllocator allocator{IndirectAllocator(primary_allocator), SizePolicy<4096>{}}; in TEST() local
227 SnoopingAllocator allocator{PolicyAllocator{MemoryHeapBaseAllocator{}, SizePolicy<4096 * 2>{}}}; in TEST() local
326 ScopedAllocator allocator{underlying_allocator}; in TEST() local
/frameworks/native/vulkan/libvulkan/
Ddebug_report.cpp25 const VkAllocationCallbacks& allocator) { in AddCallback()
42 const VkAllocationCallbacks& allocator) { in RemoveCallback()
120 const VkAllocationCallbacks* allocator, in CreateDebugReportCallbackEXT()
151 const VkAllocationCallbacks* allocator) { in DestroyDebugReportCallbackEXT()
Dapi.cpp58 OverrideLayerNames(bool is_instance, const VkAllocationCallbacks& allocator) in OverrideLayerNames()
346 const VkAllocationCallbacks& allocator) in OverrideExtensionNames()
523 const VkAllocationCallbacks& allocator) in LayerChain()
815 const VkAllocationCallbacks* allocator, in Create()
888 const VkAllocationCallbacks* allocator, in Create()
1047 const VkAllocationCallbacks& allocator) { in DestroyLayers()
1105 const VkAllocationCallbacks* allocator, in CreateInstance()
1131 const VkAllocationCallbacks* allocator, in CreateDevice()
1157 const VkAllocationCallbacks* allocator) { in DestroyInstance()
1178 const VkAllocationCallbacks* allocator) { in DestroyDevice()
Ddriver.h74 const VkAllocationCallbacks allocator; member
94 const VkAllocationCallbacks allocator; member
Ddriver.cpp365 const VkAllocationCallbacks& allocator) in CreateInfoWrapper()
377 const VkAllocationCallbacks& allocator) in CreateInfoWrapper()
839 InstanceData* AllocateInstanceData(const VkAllocationCallbacks& allocator) { in AllocateInstanceData()
850 const VkAllocationCallbacks& allocator) { in FreeInstanceData()
856 const VkAllocationCallbacks& allocator, in AllocateDeviceData()
867 void FreeDeviceData(DeviceData* data, const VkAllocationCallbacks& allocator) { in FreeDeviceData()
/frameworks/native/libs/binder/ndk/
Dparcel.cpp123 ContiguousArrayAllocator<T> allocator) { in ReadArray()
157 ContiguousArrayAllocator<char16_t> allocator) { in ReadArray()
210 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, ArrayAllocator<T> allocator, in ReadArray()
358 AParcel_stringAllocator allocator) { in AParcel_readString()
431 AParcel_stringArrayAllocator allocator, in AParcel_readStringArray()
475 AParcel_parcelableArrayAllocator allocator, in AParcel_readParcelableArray()
627 AParcel_int32ArrayAllocator allocator) { in AParcel_readInt32Array()
632 AParcel_uint32ArrayAllocator allocator) { in AParcel_readUint32Array()
637 AParcel_int64ArrayAllocator allocator) { in AParcel_readInt64Array()
642 AParcel_uint64ArrayAllocator allocator) { in AParcel_readUint64Array()
[all …]
/frameworks/av/media/codec2/vndk/
DC2Store.cpp133 id_t id, std::shared_ptr<C2Allocator> *const allocator) { in fetchAllocator()
183 const std::shared_ptr<C2AllocatorIon> allocator, in UseComponentStoreForIonAllocator()
235 void UseComponentStoreForDmaBufAllocator(const std::shared_ptr<C2DmaBufAllocator> allocator, in UseComponentStoreForDmaBufAllocator()
324 std::shared_ptr<C2AllocatorIon> allocator = gIonAllocator.lock(); in fetchIonAllocator() local
340 std::shared_ptr<C2DmaBufAllocator> allocator = gDmaBufAllocator.lock(); in fetchDmaBufAllocator() local
358 std::shared_ptr<C2Allocator> allocator = blobAllocator.lock(); in fetchBlobAllocator() local
370 std::shared_ptr<C2Allocator> allocator = grallocAllocator.lock(); in fetchGrallocAllocator() local
382 std::shared_ptr<C2Allocator> allocator = grallocAllocator.lock(); in fetchBufferQueueAllocator() local
462 std::shared_ptr<C2Allocator> allocator; in _createBlockPool() local
608 std::shared_ptr<C2Allocator> allocator; in GetCodec2BlockPool() local
DC2PlatformStorePluginLoader.cpp80 std::shared_ptr<C2Allocator>* const allocator, in createAllocator()
DC2Buffer.cpp333 const std::shared_ptr<C2Allocator> &allocator) in C2BasicLinearBlockPool()
434 std::shared_ptr<C2Allocator> allocator; in CreateLinearBlock() local
461 std::shared_ptr<C2Allocator> allocator; in CreateLinearBlock() local
492 std::shared_ptr<C2Allocator> allocator; in CreateLinearBlock() local
526 _C2BufferPoolAllocator(const std::shared_ptr<C2Allocator> &allocator) in _C2BufferPoolAllocator()
734 Impl(const std::shared_ptr<C2Allocator> &allocator) in Impl()
837 _C2BufferPoolAllocator2(const std::shared_ptr<C2Allocator> &allocator) in _C2BufferPoolAllocator2()
1045 Impl2(const std::shared_ptr<C2Allocator> &allocator) in Impl2()
1143 const std::shared_ptr<C2Allocator> &allocator, in C2PooledBlockPool()
1487 const std::shared_ptr<C2Allocator> &allocator) in C2BasicGraphicBlockPool()
/frameworks/base/libs/hwui/tests/common/scenes/
DTvApp.cpp57 explicit TvApp(BitmapAllocationTestUtils::BitmapAllocator allocator) in TvApp()
241 …explicit TvAppNoRoundedCorner(BitmapAllocationTestUtils::BitmapAllocator allocator) : TvApp(alloca… in TvAppNoRoundedCorner()
249 …explicit TvAppColorFilter(BitmapAllocationTestUtils::BitmapAllocator allocator) : TvApp(allocator)… in TvAppColorFilter()
257 explicit TvAppNoRoundedCornerColorFilter(BitmapAllocationTestUtils::BitmapAllocator allocator) in TvAppNoRoundedCornerColorFilter()
DBitmapShaders.cpp40 explicit BitmapShaders(BitmapAllocationTestUtils::BitmapAllocator allocator) in BitmapShaders()
DBitmapFillrate.cpp35 explicit BitmapFillrate(BitmapAllocationTestUtils::BitmapAllocator allocator) in BitmapFillrate()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.h161 explicit LinearStdAllocator(LinearAllocator& allocator) : linearAllocator(allocator) {} in LinearStdAllocator()
201 explicit LsaVector(const LinearStdAllocator<T>& allocator) in LsaVector()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dbuffer_wrapper.h114 BufferWrapper(const BufferType& buffer, const Allocator& allocator) in BufferWrapper()
117 BufferWrapper(BufferType&& buffer, const Allocator& allocator) in BufferWrapper()
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp40 VkAllocationCallbacks allocator; member
100 VkAllocationCallbacks allocator; member
293 const VkAllocationCallbacks* allocator, in CreateInstance()
662 const VkAllocationCallbacks* allocator, in CreateDevice()
707 VkAllocationCallbacks allocator; member
805 const VkAllocationCallbacks* allocator) { in FreeMemory()
863 const VkAllocationCallbacks* allocator) { in DestroyBuffer()
923 const VkAllocationCallbacks* allocator) { in DestroyImage()
1248 void DestroyFence(VkDevice device, VkFence fence, const VkAllocationCallbacks* allocator) { in DestroyFence()
1264 … DestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* allocator) { in DestroySemaphore()
[all …]
/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp86 bool decodeRegion(SkBitmap* bitmap, skia::BRDAllocator* allocator, const SkIRect& desiredSubset, in decodeRegion()
118 RecyclingClippingPixelAllocator allocator(nativeBitmap.get(), false); in decodeGainmapRegion() local
281 skia::BRDAllocator* allocator = nullptr; in nativeDecodeRegion() local
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h161 LinearAllocator allocator; variable
/frameworks/base/tools/lock_agent/
Dagent.cpp227 const unsigned char* classData, dex::Writer::Allocator* allocator) { in maybeTransform()
293 JvmtiAllocator allocator(jvmtiEnv); in transformHook() local
523 NewDeleteAllocator allocator; in locktest_main() local
/frameworks/base/libs/hwui/tests/unit/
DLinearAllocatorTests.cpp117 LinearAllocator allocator; in TEST() local
/frameworks/native/libs/ui/
DGraphicBuffer.cpp125 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in free_handle() local
161 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in reallocate() local
184 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in initWithSize() local
DGralloc5.cpp45 std::shared_ptr<IAllocator> allocator; member
54 auto allocator = IAllocator::fromBinder( in waitForAllocator() local
78 auto allocator = waitForAllocator(); in loadIMapperLibrary() local
98 auto allocator = waitForAllocator(); in getInstance() local
/frameworks/av/media/module/bufferpool/1.0/
DAccessor.cpp134 Accessor::Accessor(const std::shared_ptr<BufferPoolAllocator> &allocator) in Accessor()
DClientManager.cpp263 const std::shared_ptr<BufferPoolAllocator> &allocator, in create()
439 const std::shared_ptr<BufferPoolAllocator> &allocator, in create()
DAccessorImpl.cpp134 const std::shared_ptr<BufferPoolAllocator> &allocator) in Impl()
469 const std::shared_ptr<BufferPoolAllocator> &allocator, in getFreeBuffer()

12