Searched refs:allocate (Results 76 - 100 of 162) sorted by relevance

1234567

/frameworks/compile/mclinker/lib/Script/
H A DRpnExpr.cpp55 RpnExpr* result = g_ExprFactory->allocate();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DCellularNetworkTest.java49 CellularNetwork.parse(ByteBuffer.allocate(0));
H A DDomainNameElementTest.java77 assertTrue(DomainNameElement.parse(ByteBuffer.allocate(0)).getDomains().isEmpty());
H A DThreeGPPNetworkElementTest.java87 ThreeGPPNetworkElement.parse(ByteBuffer.allocate(0));
/frameworks/base/core/java/android/os/
H A DHwParcel.java33 private HwParcel(boolean allocate) { argument
34 native_setup(allocate);
42 native_setup(true /* allocate */);
230 private native final void native_setup(boolean allocate); argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
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/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java363 c.allocate(context, contactRef);
429 c.allocate(context, contactRef);
478 private void allocate(Context context, Uri contactRef) { method in class:CallerInfoAsyncQuery
/frameworks/base/core/java/android/nfc/
H A DNdefMessage.java194 ByteBuffer buffer = ByteBuffer.allocate(length);
/frameworks/base/libs/hwui/
H A DRenderBufferCache.cpp120 buffer->allocate();
/frameworks/base/media/tests/audiotests/
H A Dshared_mem_test.cpp93 iMem = heap->allocate(BUF_SZ*sizeof(short));
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DKeepalivePacketData.java115 ByteBuffer buf = ByteBuffer.allocate(length);
/frameworks/base/services/net/java/android/net/netlink/
H A DNetlinkSocket.java122 ByteBuffer byteBuffer = ByteBuffer.allocate(bufsize);
/frameworks/compile/mclinker/lib/LD/
H A DBranchIslandFactory.cpp68 BranchIsland* island = allocate();
/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);
301 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) function in class:android::SimpleBestFitAllocator
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DPortableFloatMap.java57 mData = ByteBuffer.allocate(bytesPerRow * mHeight);
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java476 ByteBuffer cmd = ByteBuffer.allocate(6);
504 ByteBuffer cmd = ByteBuffer.allocate(6);
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java122 encodedBytes = ByteBuffer.allocate(80);
123 decodedChars = CharBuffer.allocate(80);
/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/native/libs/ui/
H A DGralloc2.cpp217 Error Allocator::allocate(BufferDescriptor descriptor, uint32_t count, function in class:android::Gralloc2::Allocator
221 auto ret = mAllocator->allocate(descriptor, count,
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessList.java271 // Ask the kernel to try to keep enough memory free to allocate 3 full
289 ByteBuffer buf = ByteBuffer.allocate(4 * (2*mOomAdj.length + 1));
635 ByteBuffer buf = ByteBuffer.allocate(4 * 4);
652 ByteBuffer buf = ByteBuffer.allocate(4 * 2);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize);
/frameworks/av/media/libstagefright/foundation/
H A DMediaBuffer.cpp65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl));
67 ALOGW("Failed to allocate shared memory, trying regular allocation!");
H A DMediaBufferGroup.cpp59 sp<IMemory> mem = memoryDealer->allocate(augmented_size);
180 ALOGV("allocate buffer, requested size %zu", requestedSize);
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamBase.cpp54 return mUpMessageQueue->allocate(sizeof(AAudioServiceMessage), QUEUE_UP_CAPACITY_COMMANDS);
H A DAAudioServiceStreamShared.cpp113 mAudioDataQueue->allocate(calculateBytesPerFrame(), mCapacityInFrames);

Completed in 511 milliseconds

1234567