Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/utils/
DObexAppParameters.java104 byte[] bval = ByteBuffer.allocate(1).put(val).array(); in add()
109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add()
114 byte[] bval = ByteBuffer.allocate(4).putInt(val).array(); in add()
119 byte[] bval = ByteBuffer.allocate(8).putLong(val).array(); in add()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DRequestBuilder.java69 public void allocate() throws InterruptedException, ResourceAcquisitionFailedException { in allocate() method in RequestBuilder.UnregisteredStreamProvider
81 public void allocate() throws InterruptedException, in allocate() method
102 allocation.allocate(); in allocateCaptureRequest()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DMosaicTypes.h78 MosaicFrame(int _width, int _height, bool allocate=true)
82 internal_allocation = allocate;
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DAllocatingImageStream.java66 public void allocate() throws InterruptedException, ResourceAcquisitionFailedException { in allocate() method in AllocatingImageStream
79 allocate(); in bind()
DManagedImageReader.java152 stream.allocate(); in createPreallocatedStream()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java102 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray()
110 ByteBuffer converter = ByteBuffer.allocate(length); in uuidToByteArray()
123 ByteBuffer converter = ByteBuffer.allocate(length); in uuidsToByteArray()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppParams.java594 ByteBuffer appParamBuf = ByteBuffer.allocate(getParamMaxLength()); in EncodeParams()
956 ByteBuffer ret = ByteBuffer.allocate(16); in getDatabaseIdentifier()
971 ByteBuffer ret = ByteBuffer.allocate(16); in getConvoListingVerCounter()
986 ByteBuffer ret = ByteBuffer.allocate(16); in getFolderVerCounter()
999 ByteBuffer ret = ByteBuffer.allocate(16); in getChatStateConvoIdByteArray()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DOrderedDataOutputStream.java26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
/packages/apps/Camera2/src/com/android/camera/exif/
DOrderedDataOutputStream.java26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DOrderedDataOutputStream.java26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DOrderedDataOutputStream.java26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
DExifOutputStream.java82 private ByteBuffer mBuffer = ByteBuffer.allocate(4);
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java133 compressedData = ByteBuffer.allocate(origBuffer.limit()); in run()
218 compressedData = ByteBuffer.allocate(croppedResult.length); in run()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java165 ByteBuffer payload = ByteBuffer.allocate(nestedPayload.length + 1); in createHandoverSelectRecord()
185 ByteBuffer payload = ByteBuffer.allocate(nestedPayload.length + 1); in createHandoverRequestRecord()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheService.java83 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); in putImageData()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallerInfoAsyncQuery.java395 c.allocate(context, contactRef); in startQueryInternal()
567 private void allocate(Context context, Uri contactRef) { in allocate() method in CallerInfoAsyncQuery
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DMpegTsSampleSourceExtractor.java55 mCea708CcBuffer = ByteBuffer.allocate(CC_BUFFER_SIZE_IN_BYTES); in init()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfeatures.md87 …* A stack-based allocator (allocate sequentially, prohibit to free individual allocations, suitabl…
Ddom.md63 … in `GenericDocument` is `MemoryPoolAllocator`. This allocator actually allocate memory sequential…
260 …buffer to satisfy allocations. When the user buffer is used up, it will allocate a chunk of memory…
Dinternals.md157 `MemoryPoolAllocator` is the default allocator for DOM. It allocate but do not free memory. This is…
163 3. If the current block is full, allocate a new block of memory.
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java193 ByteBuffer dstBuf = ByteBuffer.allocate(bufferSize); in genVideoUsingMuxer()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DDvrStorageManager.java139 ByteBuffer buffer = ByteBuffer.allocate(len); in readByteBuffer()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java1072 boolean allocate) { in manageAllocationOfTrackingAdvertisement() argument
1078 if (allocate) { in manageAllocationOfTrackingAdvertisement()
DAdvertiseManager.java375 ByteBuffer advertisingUuidBytes = ByteBuffer.allocate( in setAdvertisingData()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
DAc3TrackRenderer.java120 mOutputBuffer = ByteBuffer.allocate(DEFAULT_OUTPUT_BUFFER_SIZE); in Ac3TrackRenderer()

12