/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | ObexAppParameters.java | 104 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/ |
D | ObexAppParameters.java | 104 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/ |
D | RequestBuilder.java | 69 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/ |
D | Utils.java | 180 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/ |
D | MosaicTypes.h | 78 MosaicFrame(int _width, int _height, bool allocate=true) 82 internal_allocation = allocate;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | AllocatingImageStream.java | 66 public void allocate() throws InterruptedException, ResourceAcquisitionFailedException { in allocate() method in AllocatingImageStream 79 allocate(); in bind()
|
D | ManagedImageReader.java | 152 stream.allocate(); in createPreallocatedStream()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 134 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/ |
D | PhoneEnrolmentController.java | 106 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/ |
D | BluetoothMapAppParams.java | 605 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/ |
D | HandoverDataParser.java | 189 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/ |
D | TaskCompressImageToJpeg.java | 133 compressedData = ByteBuffer.allocate(origBuffer.limit()); in run() 218 compressedData = ByteBuffer.allocate(croppedResult.length); in run()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 134 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/ |
D | DhcpDeclinePacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpReleasePacket.java | 43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpInformPacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpDiscoverPacket.java | 50 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpNakPacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpRequestPacket.java | 47 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpOfferPacket.java | 59 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpAckPacket.java | 57 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | OrderedDataOutputStream.java | 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | OrderedDataOutputStream.java | 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | OrderedDataOutputStream.java | 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | PipeThread.java | 63 mPipe.write(ByteBuffer.allocate(4) in send()
|