Searched refs:allocate (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/include/binder/
H A DMemoryDealer.h39 virtual sp<IMemory> allocate(size_t size);
/frameworks/base/core/java/android/ddm/
H A DDdmHandleAppName.java94 ByteBuffer out = ByteBuffer.allocate(4 + appName.length()*2);
H A DDdmHandleHello.java123 ByteBuffer out = ByteBuffer.allocate(16
160 ByteBuffer out = ByteBuffer.allocate(size);
H A DDdmHandleThread.java161 ByteBuffer out = ByteBuffer.allocate(bufferSize);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java267 c.allocate(context, contactRef);
291 c.allocate(context, contactRef);
336 private void allocate (Context context, Uri contactRef) { method in class:CallerInfoAsyncQuery
/frameworks/base/libs/binder/
H A DMemoryDealer.cpp132 size_t allocate(size_t size, uint32_t flags = 0);
235 sp<IMemory> MemoryDealer::allocate(size_t size) function in class:android::MemoryDealer
238 const ssize_t offset = allocator()->allocate(size);
289 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) function in class:android::SimpleBestFitAllocator
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java122 encodedBytes = ByteBuffer.allocate(80);
123 decodedChars = CharBuffer.allocate(80);
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java60 private ByteBuffer mBytes = ByteBuffer.allocate(BUFFER_LEN);
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java939 result = ByteBuffer.allocate(byteCount).order(input2.order());
950 result = ByteBuffer.allocate(byteCount).order(input2.order());
962 result = ByteBuffer.allocate(byteCount).order(input2.order());
974 result = ByteBuffer.allocate(byteCount).order(input2.order());
986 result = ByteBuffer.allocate(byteCount).order(input2.order());
998 result = ByteBuffer.allocate(byteCount).order(input2.order());
1010 result = ByteBuffer.allocate(byteCount).order(input2.order());
/frameworks/base/tests/CoreTests/android/core/
H A DNIOTest.java47 b = ByteBuffer.allocate(12);
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.cpp194 buffer.mMemory = dealer->allocate(def.nBufferSize);
313 // Now allocate buffers.
/frameworks/base/media/libstagefright/
H A DOMXCodec.cpp398 LOGV("Attempting to allocate OMX node '%s'", componentName);
1217 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize);
1390 // The qcom video decoders on Nexus don't actually allocate
/frameworks/base/libs/audioflinger/
H A DAudioFlinger.cpp2327 mCblkMemory = client->heap()->allocate(size);
2961 // If we could not write all frames, allocate a buffer and queue it for next time.

Completed in 147 milliseconds