Home
last modified time | relevance | path

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

123

/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
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/Bluetooth/src/com/android/bluetooth/mapclient/obex/
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/services/Car/service/src/com/android/car/
DUtils.java180 ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES); in longToBytes()
191 ByteBuffer buffer = ByteBuffer.allocate(Long.SIZE / Byte.SIZE); in bytesToLong()
222 return ByteBuffer.allocate(UUID_LENGTH) in uuidToBytes()
/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.java134 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray()
142 ByteBuffer converter = ByteBuffer.allocate(length); in uuidToByteArray()
155 ByteBuffer converter = ByteBuffer.allocate(length); in uuidsToByteArray()
/packages/services/Car/tests/CarTrustAgentClientApp/src/com/android/car/trust/client/
DPhoneEnrolmentController.java106 ByteBuffer buffer = ByteBuffer.allocate(Long.SIZE / Byte.SIZE); in generateEscrowToken()
191 ByteBuffer buffer = ByteBuffer.allocate(Long.SIZE / Byte.SIZE);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppParams.java605 ByteBuffer appParamBuf = ByteBuffer.allocate(getParamMaxLength()); in encodeParams()
978 ByteBuffer ret = ByteBuffer.allocate(16); in getDatabaseIdentifier()
995 ByteBuffer ret = ByteBuffer.allocate(16); in getConvoListingVerCounter()
1012 ByteBuffer ret = ByteBuffer.allocate(16); in getFolderVerCounter()
1027 ByteBuffer ret = ByteBuffer.allocate(16); in getChatStateConvoIdByteArray()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java189 ByteBuffer payload = ByteBuffer.allocate(nestedPayload.length + 1); in createHandoverSelectRecord()
209 ByteBuffer payload = ByteBuffer.allocate(nestedPayload.length + 1); in createHandoverRequestRecord()
628 ByteBuffer buffer = ByteBuffer.allocate(Integer.BYTES); in parseBluetoothClassFromBluetoothRecord()
/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/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java134 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
1111 return ByteBuffer.allocate(4).putInt(val).array(); in intToByteArray()
1115 return ByteBuffer.allocate(2).putShort(val).array(); in shortToByteArray()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpDeclinePacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpReleasePacket.java43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpInformPacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpDiscoverPacket.java50 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpNakPacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpRequestPacket.java47 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpOfferPacket.java59 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpAckPacket.java57 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/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/Messaging/src/com/android/messaging/util/exif/
DOrderedDataOutputStream.java26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
/packages/apps/Car/Cluster/src/android/car/cluster/
DPipeThread.java63 mPipe.write(ByteBuffer.allocate(4) in send()

123