Searched defs:allocate (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/av/services/oboeservice/
H A DSharedRingBuffer.cpp40 aaudio_result_t SharedRingBuffer::allocate(fifo_frames_t bytesPerFrame, function in class:SharedRingBuffer
49 ALOGE("allocate() ashmem_create_region() failed %d", errno);
52 ALOGV("allocate() mFileDescriptor = %d\n", mFileDescriptor.get());
56 ALOGE("allocate() ashmem_set_prot_region() failed %d", errno);
67 ALOGE("allocate() mmap() failed %d", errno);
H A DAAudioMixer.cpp40 void AAudioMixer::allocate(int32_t samplesPerFrame, int32_t framesPerBurst) { function in class:AAudioMixer
/frameworks/native/include/ui/
H A DGralloc2.h106 Error allocate(BufferDescriptor descriptor, uint32_t count,
109 Error allocate(BufferDescriptor descriptor, function in class:android::Gralloc2::Allocator
112 return allocate(descriptor, 1, outStride, outBufferHandle);
115 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, function in class:android::Gralloc2::Allocator
121 error = allocate(descriptor, count, outStride, outBufferHandles);
126 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, function in class:android::Gralloc2::Allocator
129 return allocate(descriptorInfo, 1, outStride, outBufferHandle);
/frameworks/native/libs/ui/include/ui/
H A DGralloc2.h106 Error allocate(BufferDescriptor descriptor, uint32_t count,
109 Error allocate(BufferDescriptor descriptor, function in class:android::Gralloc2::Allocator
112 return allocate(descriptor, 1, outStride, outBufferHandle);
115 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, function in class:android::Gralloc2::Allocator
121 error = allocate(descriptor, count, outStride, outBufferHandles);
126 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, function in class:android::Gralloc2::Allocator
129 return allocate(descriptorInfo, 1, outStride, outBufferHandle);
/frameworks/native/libs/ui/include_vndk/ui/
H A DGralloc2.h106 Error allocate(BufferDescriptor descriptor, uint32_t count,
109 Error allocate(BufferDescriptor descriptor, function in class:android::Gralloc2::Allocator
112 return allocate(descriptor, 1, outStride, outBufferHandle);
115 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, function in class:android::Gralloc2::Allocator
121 error = allocate(descriptor, count, outStride, outBufferHandles);
126 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, function in class:android::Gralloc2::Allocator
129 return allocate(descriptorInfo, 1, outStride, outBufferHandle);
/frameworks/av/media/libaudiohal/2.0/
H A DEffectBufferHalHidl.cpp40 status_t EffectBufferHalHidl::allocate( function in class:android::EffectBufferHalHidl
73 Return<void> result = ashmem->allocate(
93 ALOGE("Failed to allocate %d bytes from ashmem", (int)mBufferSize);
/frameworks/av/media/libaudiohal/4.0/
H A DEffectBufferHalHidl.cpp41 status_t EffectBufferHalHidl::allocate( function in class:android::V4_0::EffectBufferHalHidl
74 Return<void> result = ashmem->allocate(
94 ALOGE("Failed to allocate %d bytes from ashmem", (int)mBufferSize);
/frameworks/base/libs/hwui/
H A DRenderBuffer.h63 * storage. See allocate() and resize().
71 void allocate() { function in struct:android::uirenderer::RenderBuffer
/frameworks/base/libs/hwui/utils/
H A DFatVector.h61 T* allocate(size_t num, const void* = 0) { function in class:android::uirenderer::InlineStdAllocator
H A DLinearAllocator.h174 T* allocate(size_t num, const void* = 0) { function in class:android::uirenderer::LinearStdAllocator
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeBuffer.java40 allocate(count * getElementSize());
50 throw new RuntimeException("Unable to allocate a copy of " + getClass() + "! Make " +
126 private native boolean allocate(int size); method in class:NativeBuffer
H A DNativeProgram.java38 allocate();
155 private native boolean allocate(); method in class:NativeProgram
H A DShaderProgram.java56 allocate(mGLEnvironment, null, fragmentShader);
65 allocate(mGLEnvironment, vertexShader, fragmentShader);
251 private native boolean allocate(GLEnvironment glEnv, method in class:ShaderProgram
/frameworks/av/media/mtp/
H A DMtpPacket.cpp50 allocate(MTP_CONTAINER_HEADER_SIZE);
55 void MtpPacket::allocate(size_t length) { function in class:android::MtpPacket
89 allocate(length);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTextureSource.java63 public void allocate(int width, int height) { method in class:TextureSource
H A DBackingStore.java267 backing.allocate(mType);
339 public abstract void allocate(FrameType frameType); method in class:BackingStore.Backing
406 throw new RuntimeException("Cannot allocate texture with non-RGBA data type!");
408 throw new RuntimeException("Cannot allocate non 2-dimensional texture!");
419 public void allocate(FrameType frameType) { method in class:BackingStore.ObjectBacking
492 public void allocate(FrameType frameType) { method in class:BackingStore.BitmapBacking
586 public void allocate(FrameType frameType) { method in class:BackingStore.TextureBacking
678 mTexture.allocate(mDimensions[0], mDimensions[1]);
699 public void allocate(FrameType frameType) { method in class:BackingStore.ByteBufferBacking
806 public void allocate(FrameTyp method in class:BackingStore.AllocationBacking
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp95 status_t GraphicBufferAllocator::allocate(uint32_t width, uint32_t height, function in class:android::GraphicBufferAllocator
102 // make sure to not allocate a N x 0 or 0 x N buffer, since this is
103 // allowed from an API stand-point allocate a 1x1 buffer instead.
118 Gralloc2::Error error = mAllocator->allocate(info, stride, handle);
136 ALOGE("Failed to allocate (%u x %u) layerCount %u format %d "
H A DGralloc2.cpp336 Error Allocator::allocate(BufferDescriptor descriptor, uint32_t count, function in class:android::Gralloc2::Allocator
340 auto ret = mAllocator->allocate(descriptor, count,
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java404 c.allocate(context, contactRef);
470 c.allocate(context, contactRef);
519 private void allocate(Context context, Uri contactRef) { method in class:CallerInfoAsyncQuery
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DTlvBufferUtils.java54 * {@link TlvConstructor#allocate(int)}).
109 public TlvConstructor allocate(int capacity) { method in class:TlvBufferUtils.TlvConstructor
132 allocate(size);
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h134 /// allocate - allocate N data in order.
135 // - Disallow to allocate a chunk whose size is bigger than a chunk.
139 pointer allocate(size_type N) { function in class:mcld::LinearAllocatorBase
155 /// allocate - clone function of allocating one datum.
156 pointer allocate() { function in class:mcld::LinearAllocatorBase
261 * deallocation. Interleaving 'allocate' and 'deallocate' increases the size
331 pointer allocate(size_type pNumOfElements, const void* = 0) { function in class:mcld::MallocAllocator
379 DataType* allocate(size_type pNumOfElements, const void* = 0) { function in class:mcld::MallocAllocator
384 pointer allocate(size_typ function in class:mcld::MallocAllocator
[all...]
H A DGCFactory.h124 value_type* allocate(size_t N) { function in class:mcld::GCFactoryBase
125 value_type* result = Alloc::allocate(N);
131 value_type* allocate() { function in class:mcld::GCFactoryBase
133 return Alloc::allocate();
/frameworks/base/core/java/android/os/
H A DHwParcel.java48 private HwParcel(boolean allocate) { argument
49 native_setup(allocate);
60 native_setup(true /* allocate */);
532 private native final void native_setup(boolean allocate); argument
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp132 size_t allocate(size_t size, uint32_t flags = 0);
241 sp<IMemory> MemoryDealer::allocate(size_t size) function in class:android::MemoryDealer
244 const ssize_t offset = allocator()->allocate(size);
309 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) function in class:android::SimpleBestFitAllocator
/frameworks/base/core/jni/
H A Dandroid_os_HwParcel.cpp203 return env->NewObject(clazz.get(), constructID, false /* allocate */);
246 JNIEnv *env, jobject thiz, jboolean allocate) {
249 if (allocate) {
245 JHwParcel_native_setup( JNIEnv *env, jobject thiz, jboolean allocate) argument

Completed in 527 milliseconds

12