/frameworks/compile/mclinker/unittests/ |
H A D | LinearAllocatorTest.cpp | 38 Data* pointer = m_pTestee->allocate(10); 44 TEST_F(LinearAllocatorTest, allocate) { 45 Data* pointer = m_pTestee->allocate(); 52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); 59 Data* pointer = m_pTestee->allocate(); 68 Data* pointer = m_pTestee->allocate(); 79 Data* pointer = m_pTestee->allocate(10); 88 Data* pointer = m_pTestee->allocate(10); 100 Data* pointer = m_pTestee->allocate(); 117 Data* pointer = m_pTestee->allocate(1 [all...] |
H A D | RTLinearAllocatorTest.cpp | 39 Data* pointer = m_pTestee->allocate(10); 45 TEST_F(RTLinearAllocatorTest, allocate) { 46 Data* pointer = m_pTestee->allocate(); 53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); 60 Data* pointer = m_pTestee->allocate(); 69 Data* pointer = m_pTestee->allocate(); 80 Data* pointer = m_pTestee->allocate(10); 89 Data* pointer = m_pTestee->allocate(10); 101 Data* pointer = m_pTestee->allocate(); 118 Data* pointer = m_pTestee->allocate(1 [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | IPAddressTypeAvailabilityElementTest.java | 49 IPAddressTypeAvailabilityElement.parse(ByteBuffer.allocate(0)); 60 ByteBuffer buffer = ByteBuffer.allocate( 65 IPAddressTypeAvailabilityElement.parse(ByteBuffer.allocate(0)); 76 ByteBuffer buffer = ByteBuffer.allocate(
|
H A D | HSWanMetricsElementTest.java | 49 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE) 71 HSWanMetricsElement.parse(ByteBuffer.allocate(0)); 82 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE - 1); 96 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE + 1);
|
H A D | ProtocolPortTupleTest.java | 47 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE) 63 ProtocolPortTuple.parse(ByteBuffer.allocate(0)); 74 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1);
|
H A D | HSConnectionCapabilityElementTest.java | 61 ByteBuffer buffer = ByteBuffer.allocate(tuples.length * ProtocolPortTuple.RAW_BYTE_SIZE) 79 HSConnectionCapabilityElement.parse(ByteBuffer.allocate(0)); 91 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1); 106 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE + 1);
|
H A D | HSFriendlyNameElementTest.java | 86 assertTrue(HSFriendlyNameElement.parse(ByteBuffer.allocate(0)).getNames().isEmpty()); 99 ByteBuffer buffer = ByteBuffer.allocate(testData.length - 1); 114 ByteBuffer buffer = ByteBuffer.allocate(testData.length); 140 ByteBuffer buffer = ByteBuffer.allocate(testData.length); 164 ByteBuffer buffer = ByteBuffer.allocate(testData.length);
|
/frameworks/native/include/ui/ |
H A D | Gralloc2.h | 92 Error allocate(BufferDescriptor descriptor, uint32_t count, 95 Error allocate(BufferDescriptor descriptor, function in class:android::Gralloc2::Allocator 98 return allocate(descriptor, 1, outStride, outBufferHandle); 101 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, function in class:android::Gralloc2::Allocator 107 error = allocate(descriptor, count, outStride, outBufferHandles); 112 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, function in class:android::Gralloc2::Allocator 115 return allocate(descriptorInfo, 1, outStride, outBufferHandle);
|
/frameworks/native/libs/ui/include/ui/ |
H A D | Gralloc2.h | 92 Error allocate(BufferDescriptor descriptor, uint32_t count, 95 Error allocate(BufferDescriptor descriptor, function in class:android::Gralloc2::Allocator 98 return allocate(descriptor, 1, outStride, outBufferHandle); 101 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, function in class:android::Gralloc2::Allocator 107 error = allocate(descriptor, count, outStride, outBufferHandles); 112 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, function in class:android::Gralloc2::Allocator 115 return allocate(descriptorInfo, 1, outStride, outBufferHandle);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | ContextFactory.cpp | 27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); 39 LDContext* result = allocate();
|
H A D | InputFactory.cpp | 37 Input* result = Alloc::allocate(); 46 Input* result = Alloc::allocate();
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | MemoryAreaFactory.cpp | 29 MemoryArea* result = allocate(); 43 MemoryArea* result = allocate(); 56 MemoryArea* result = allocate();
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | Charsets.java | 53 CharBuffer cb = CharBuffer.allocate(length); 63 CharBuffer cb = CharBuffer.allocate(length); 73 CharBuffer cb = CharBuffer.allocate(length);
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioMixer.h | 30 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);
|
H A D | SharedRingBuffer.h | 45 aaudio_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | SectionData.cpp | 32 SectionData* result = g_SectDataFactory->allocate();
|
H A D | RelocationFactory.cpp | 72 Relocation* result = allocate(); 78 Relocation* result = allocate();
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeBuffer.java | 40 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
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | BufferPool.java | 48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed)); 72 buffer = ByteBuffer.allocate(capacity);
|
/frameworks/av/include/media/audiohal/ |
H A D | EffectBufferHalInterface.h | 50 static status_t allocate(size_t size, sp<EffectBufferHalInterface>* buffer);
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
H A D | EffectBufferHalInterface.h | 50 static status_t allocate(size_t size, sp<EffectBufferHalInterface>* buffer);
|
/frameworks/av/media/mtp/ |
H A D | MtpPacket.h | 47 void allocate(size_t length);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | OrderedDataOutputStream.java | 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
|
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpDeclinePacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
H A D | DhcpDiscoverPacket.java | 43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|