Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/media/mtp/
DMtpDataPacket.cpp154 allocate(mOffset + 1); in putInt8()
161 allocate(mOffset + 1); in putUInt8()
168 allocate(mOffset + 2); in putInt16()
176 allocate(mOffset + 2); in putUInt16()
184 allocate(mOffset + 4); in putInt32()
194 allocate(mOffset + 4); in putUInt32()
204 allocate(mOffset + 8); in putInt64()
218 allocate(mOffset + 8); in putUInt64()
364 allocate(length); in writeData()
384 allocate(totalLength); in read()
DMtpPacket.cpp50 allocate(MTP_CONTAINER_HEADER_SIZE); in reset()
55 void MtpPacket::allocate(int length) { in allocate() function in android::MtpPacket
89 allocate(length); in copyFrom()
DMtpPacket.h44 void allocate(int length);
/frameworks/compile/linkloader/include/impl/
DELFSectionProgBits.hxx55 if (!result->chunk.allocate(sh->getSize() + stub_size)) { in read()
62 if (!result->chunk.allocate(sh->getSize())) { in read()
DELFSectionNoBits.hxx35 if (!result->chunk.allocate(sh->getSize())) { in read()
/frameworks/base/core/java/android/ddm/
DDdmHandleHello.java122 ByteBuffer out = ByteBuffer.allocate(16 in handleHELO()
159 ByteBuffer out = ByteBuffer.allocate(size); in handleFEAT()
DDdmHandleAppName.java93 ByteBuffer out = ByteBuffer.allocate(4 + appName.length()*2); in sendAPNM()
/frameworks/compile/linkloader/include/
DMemChunk.h33 bool allocate(size_t size);
DELFObject.h47 if (!SHNCommonData.allocate(SHNCommonDataSize)) { in initSHNCommonDataSize()
/frameworks/base/docs/html/guide/topics/renderscript/
Dindex.jd169 framework. This layer also provides methods and constructors that allow you to allocate memory
195 allocated in the Android VM for the pointer to the native RenderScript (you cannot allocate
205 <code>struct</code>, which allows you to allocate memory for one or more instances of this
234 some situations where you would want to use these classes directly to allocate memory on your
235 own, such as loading a bitmap from a resource or when you want to allocate memory for pointers to
271 android.renderscript.Element}s) but does not allocate the memory for the data that it
306 …<p>RenderScript has support for pointers, but you must allocate the memory in your Android framewo…
307 code. When you declare a global pointer in your <code>.rs</code> file, you allocate memory
311 layer. The following sections show you how to work with pointers, allocate memory for them, and
336 <p>You cannot allocate memory for these pointers in your RenderScript code, but the Android
[all …]
/frameworks/base/include/binder/
DMemoryDealer.h39 virtual sp<IMemory> allocate(size_t size);
/frameworks/base/libs/binder/
DMemoryDealer.cpp132 size_t allocate(size_t size, uint32_t flags = 0);
235 sp<IMemory> MemoryDealer::allocate(size_t size) in allocate() function in android::MemoryDealer
238 const ssize_t offset = allocator()->allocate(size); in allocate()
289 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) in allocate() function in android::SimpleBestFitAllocator
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java313 c.allocate(context, contactRef); in startQuery()
397 c.allocate(context, contactRef); in startQuery()
445 private void allocate(Context context, Uri contactRef) { in allocate() method in CallerInfoAsyncQuery
/frameworks/base/core/java/android/net/dhcp/
DDhcpDeclinePacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpDiscoverPacket.java45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpInformPacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpNakPacket.java46 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpRequestPacket.java49 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpOfferPacket.java62 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpAckPacket.java60 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
/frameworks/compile/linkloader/lib/
DMemChunk.cpp47 bool MemChunk::allocate(size_t size) { in allocate() function in MemChunk
/frameworks/base/core/java/android/nfc/tech/
DMifareClassic.java475 ByteBuffer cmd = ByteBuffer.allocate(6); in increment()
503 ByteBuffer cmd = ByteBuffer.allocate(6); in decrement()
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java122 encodedBytes = ByteBuffer.allocate(80); in write()
123 decodedChars = CharBuffer.allocate(80); in write()
/frameworks/base/media/java/android/media/videoeditor/
DTransitionAlpha.java126 ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4); in TransitionAlpha()
/frameworks/base/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.cpp41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); in NuPlayerStreamListener()

12