/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
D | MsrpParser.java | 46 int i = stream.read(); in parse() 59 i = stream.read(); in parse() 75 for (i = stream.read(); (i != CHAR_LF) && (i != -1); i = stream.read()) { in parse() 99 i = stream.read(); in parse() 124 i = stream.read(); in parse() 142 for (int i = stream.read(); (i != CHAR_LF) && (i != -1); ) { in readHeaders() 144 for (; (i != CHAR_DOUBLE_POINT) && (i != -1); i = stream.read()) { in readHeaders() 151 stream.read(); // skip space in readHeaders() 153 for (i = stream.read(); (i != CHAR_LF) && (i != -1); i = stream.read()) { in readHeaders() 162 stream.read(); in readHeaders() [all …]
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | SmsHeader.java | 231 int id = inStream.read(); in fromByteArray() 232 int length = inStream.read(); in fromByteArray() 238 concatRef.refNumber = inStream.read(); in fromByteArray() 239 concatRef.msgCount = inStream.read(); in fromByteArray() 240 concatRef.seqNumber = inStream.read(); in fromByteArray() 249 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); in fromByteArray() 250 concatRef.msgCount = inStream.read(); in fromByteArray() 251 concatRef.seqNumber = inStream.read(); in fromByteArray() 260 portAddrs.destPort = inStream.read(); in fromByteArray() 261 portAddrs.origPort = inStream.read(); in fromByteArray() [all …]
|
D | BearerData.java | 186 int paramBits = inStream.read(8) * 8; in decodeMessageId() 191 bData.messageId = inStream.read(8) << 8; in decodeMessageId() 192 bData.messageId |= inStream.read(8); in decodeMessageId() 193 bData.hasUserDataHeader = (inStream.read(1) == 1); in decodeMessageId() 208 int subparamLen = inStream.read(8); // SUBPARAM_LEN in decodeReserved() 226 int paramBits = inStream.read(8) * 8; in decodeUserData() 228 bData.userData.msgEncoding = inStream.read(5); in decodeUserData() 234 bData.userData.msgType = inStream.read(8); in decodeUserData() 237 bData.userData.numFields = inStream.read(8); in decodeUserData() 294 int charCode = inStream.read(7); in decode7bitAscii() [all …]
|
D | GsmSmsCbMessage.java | 196 int type = bitReader.read(4); in createGeoFencingTriggerMessage() 197 int length = bitReader.read(7); in createGeoFencingTriggerMessage() 206 int messageIdentifier = bitReader.read(16); in createGeoFencingTriggerMessage() 207 int serialNumber = bitReader.read(16); in createGeoFencingTriggerMessage() 253 int type = bitReader.read(4); in parseWarningAreaCoordinates() 254 int length = bitReader.read(10); in parseWarningAreaCoordinates() 261 maximumWaitTimeSec = bitReader.read(8); in parseWarningAreaCoordinates() 280 double radius = (bitReader.read(20) * 1.0 / (1 << 6)) * 1000.0; in parseWarningAreaCoordinates() 304 int wacLat = bitReader.read(22); in getLatLng() 305 int wacLng = bitReader.read(22); in getLatLng() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | PeekableInputStream.java | 37 public int read() throws IOException { in read() method in PeekableInputStream 39 return in.read(); in read() 48 peekedByte = read(); in peek() 55 public int read(byte[] b, int offset, int length) throws IOException { in read() method in PeekableInputStream 57 return in.read(b, offset, length); in read() 61 int r = in.read(b, offset + 1, length - 1); in read() 71 public int read(byte[] b) throws IOException { in read() method in PeekableInputStream 72 return read(b, 0, b.length); in read()
|
D | FixedLengthInputStream.java | 42 public int read() throws IOException { in read() method in FixedLengthInputStream 45 return in.read(); in read() 52 public int read(byte[] b, int offset, int length) throws IOException { in read() method in FixedLengthInputStream 54 int d = in.read(b, offset, Math.min(this.length - count, length)); in read() 67 public int read(byte[] b) throws IOException { in read() method in FixedLengthInputStream 68 return read(b, 0, b.length); in read()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | ServerInterface.java | 83 int read = 0; in requestSignedCertificates() local 84 while ((read = inputStream.read(buffer, 0, buffer.length)) != -1) { in requestSignedCertificates() 85 cborBytes.write(buffer, 0, read); in requestSignedCertificates() 135 int read = 0; in fetchGeek() local 136 while ((read = inputStream.read(buffer, 0, buffer.length)) != -1) { in fetchGeek() 137 cborBytes.write(buffer, 0, read); in fetchGeek()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | XmpInterface.java | 257 public int read(byte[] b) throws IOException { in read() method in XmpInterface.ByteCountingInputStream 258 return read(b, 0, b.length); in read() 262 public int read(byte[] b, int off, int len) throws IOException { in read() method in XmpInterface.ByteCountingInputStream 263 final int read = mWrapped.read(b, off, len); in read() local 264 if (read == -1) return -1; in read() 266 for (int i = 0; i < read; i++) { in read() 272 mOffset += read; in read() 273 return read; in read() 277 public int read() throws IOException { in read() method in XmpInterface.ByteCountingInputStream 278 int r = mWrapped.read(); in read()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 384 paramCount = is.read(); in readMessage() 446 private static void read(InputStream is, byte[] buffer) throws IOException { in read() method in SapMessage 451 tmpBytesRead = is.read(buffer, bytesRead, bytesToRead - bytesRead); in read() 468 is.read(); // Do not use the InputStream.skip as it fails for some stream types in skip() 488 paramId = is.read(); in parseParameters() 489 is.read(); // Skip the reserved byte in parseParameters() 490 paramLength = is.read(); in parseParameters() 491 paramLength = paramLength << 8 | is.read(); in parseParameters() 509 mMaxMsgSize = is.read(); in parseParameters() 510 mMaxMsgSize = mMaxMsgSize << 8 | is.read(); in parseParameters() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | CountedDataInputStream.java | 45 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 46 int r = in.read(b); in read() 52 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 53 int r = in.read(b, off, len); in read() 59 public int read() throws IOException { in read() method in CountedDataInputStream 60 int r = in.read(); in read() 86 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 45 int r = in.read(b); in read() 51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 52 int r = in.read(b, off, len); in read() 58 public int read() throws IOException { in read() method in CountedDataInputStream 59 int r = in.read(); in read() 83 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 45 int r = in.read(b); in read() 51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 52 int r = in.read(b, off, len); in read() 58 public int read() throws IOException { in read() method in CountedDataInputStream 59 int r = in.read(); in read() 85 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { in read() method in CountedDataInputStream 45 int r = in.read(b); in read() 51 public int read(byte[] b, int off, int len) throws IOException { in read() method in CountedDataInputStream 52 int r = in.read(b, off, len); in read() 58 public int read() throws IOException { in read() method in CountedDataInputStream 59 int r = in.read(); in read() 83 int r = read(b, off, len); in readOrThrow()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchiveEntryInputStream.java | 46 public int read() throws IOException { in read() method in ArchiveEntryInputStream 51 public int read(byte[] b, int off, int len) throws IOException { in read() method in ArchiveEntryInputStream 53 return mReadSource.read(b, off, len); in read() 75 int read(byte[] b, int off, int len) throws IOException; in read() method 136 (b, off, len) -> ((SevenZFile) commonArchive).read(b, off, len), in create() 143 (b, off, len) -> inputStream.read(b, off, len), in create() 148 (b, off, len) -> ((ArchiveInputStream) commonArchive).read(b, off, len), in create()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreTest.java | 376 mWifiConfigStore.read(); in testForceWriteAfterBufferedWrite() 413 mWifiConfigStore.read(); in testForceWriteWithNoNewDataAfterBufferedWrite() 442 mWifiConfigStore.read(); in testReadAfterWrite() 469 mWifiConfigStore.read(); in testReadWithNoSharedStoreFileAndUserStoreNotVisible() 498 mWifiConfigStore.read(); in testReadWithNoStoreFiles() 520 mWifiConfigStore.read(); in testReadAfterWriteWithNoUserStore() 547 mWifiConfigStore.read(); in testReadWillResetStoreData() 666 mWifiConfigStore.read(); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 687 mWifiConfigStore.read(); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 708 mWifiConfigStore.read(); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() [all …]
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | PduParser.java | 899 pduDataStream.read(partData, 0, dataLength); in parseParts() 966 int temp = pduDataStream.read(); in parseUnsignedInt() 974 temp = pduDataStream.read(); in parseUnsignedInt() 1002 int temp = pduDataStream.read(); in parseValueLength() 1030 int temp = pduDataStream.read(); in parseEncodedStringValue() 1089 int temp = pduDataStream.read(); in parseWapString() 1192 int temp = pduDataStream.read(); in getWapString() 1206 temp = pduDataStream.read(); in getWapString() 1225 int temp = pduDataStream.read(); in extractByteValue() 1245 int temp = pduDataStream.read(); in parseShortInteger() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduParser.java | 933 pduDataStream.read(partData, 0, dataLength); in parseParts() 1000 int temp = pduDataStream.read(); in parseUnsignedInt() 1008 temp = pduDataStream.read(); in parseUnsignedInt() 1036 int temp = pduDataStream.read(); in parseValueLength() 1065 int temp = pduDataStream.read(); in parseEncodedStringValue() 1124 int temp = pduDataStream.read(); in parseWapString() 1229 int temp = pduDataStream.read(); in getWapString() 1243 temp = pduDataStream.read(); in getWapString() 1262 int temp = pduDataStream.read(); in extractByteValue() 1282 int temp = pduDataStream.read(); in parseShortInteger() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | LocalSocketTest.java | 75 assertEquals(12, serverInStream.read()); in testLocalConnections() 81 assertEquals(3, clientInStream.read()); in testLocalConnections() 86 assertEquals(32, serverInStream.read()); in testLocalConnections() 95 assertEquals(-1, clientInStream.read()); in testLocalConnections() 108 assertEquals(-1, serverInStream.read()); in testLocalConnections() 122 clientInStream.read(); in testLocalConnections() 131 serverInStream.read(); in testLocalConnections() 213 clientSocket.getInputStream().read(); in testSetSoTimeout_readTimeout() 314 assertEquals(12, serverInputStream.read()); in testLocalSocketCreatedFromFileDescriptor() 384 while ((readCount = is.read(buffer)) >= 0) { in run()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 149 final Action read = calls.get(0).action; in testReadDraft() local 151 final Object result = read.executeAction(); in testReadDraft() 208 final Action read = calls.get(0).action; in testReadDraftForNewConversation() local 210 final Object result = read.executeAction(); in testReadDraftForNewConversation() 261 final Action read = calls.get(1).action; in testWriteAndReadDraft() local 263 result = read.executeAction(); in testWriteAndReadDraft() 380 final int read = inputStream.read(buffer); in testBugleDatabaseDraftOperations() local 381 assertEquals(read, text.getBytes().length); in testBugleDatabaseDraftOperations() 432 final int read = inputStream.read(buffer); in testBugleDatabaseDraftOperations() local 433 assertEquals(read, moreText.getBytes().length); in testBugleDatabaseDraftOperations()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | Parcelables.java | 46 Parcel read = Parcel.obtain(); in parcel() local 52 read.unmarshall(data, 0, data.length); in parcel() 53 read.setDataPosition(0); in parcel() 54 restored = read.readParcelable(p.getClass().getClassLoader()); in parcel() 57 read.recycle(); in parcel()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPdu.java | 184 int currentId = pdu.read(); in cdmaGetParameterOffset() 185 int currentLen = pdu.read(); in cdmaGetParameterOffset() 219 int currentId = pdu.read(); in cdmaGetSubParameterOffset() 220 int currentLen = pdu.read(); in cdmaGetSubParameterOffset() 342 int userDataLength = pdu.read(); in gsmDecodeUserDataHeader() 344 int userDataHeaderLength = pdu.read(); in gsmDecodeUserDataHeader() 351 pdu.read(udh); in gsmDecodeUserDataHeader() 767 int id = inStream.read(); in getTableFromByteArray() 768 int length = inStream.read(); in getTableFromByteArray() 771 tableValue[1] = inStream.read(); in getTableFromByteArray() [all …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | XmpUtil.java | 340 if (is.read() != 0xff || is.read() != M_SOI) { in parse() 345 while ((c = is.read()) != -1) { in parse() 350 while ((c = is.read()) == 0xff) { in parse() 364 is.read(section.data, 0, section.data.length); in parse() 369 int lh = is.read(); in parse() 370 int ll = is.read(); in parse() 380 is.read(section.data, 0, length - 2); in parse()
|
/packages/modules/adb/client/ |
D | usb_libusb.cpp | 260 void CreateRead(ReadBlock* read, bool header) { in CreateRead() 261 read->self = this; in CreateRead() 262 read->transfer = libusb_alloc_transfer(0); in CreateRead() 263 if (!read->transfer) { in CreateRead() 266 libusb_fill_bulk_transfer(read->transfer, device_handle_.get(), read_endpoint_, nullptr, 0, in CreateRead() 267 header ? header_read_cb : payload_read_cb, read, 0); in CreateRead() 270 void SubmitRead(ReadBlock* read, size_t length) { in SubmitRead() 271 read->block.resize(length); in SubmitRead() 272 read->transfer->buffer = reinterpret_cast<unsigned char*>(read->block.data()); in SubmitRead() 273 read->transfer->length = length; in SubmitRead() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
D | JPEGInputStream.java | 91 public int read() throws IOException { in read() method in JPEGInputStream 92 read(mTmpBuffer, 0, 1); in read() 97 public int read(byte[] buffer) throws IOException { in read() method in JPEGInputStream 98 return read(buffer, 0, buffer.length); in read() 102 public int read(byte[] buffer, int offset, int count) throws IOException { in read() method in JPEGInputStream
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | TestUtil.java | 45 int read; in installDummyApp() local 47 while ((read = in.read(buff)) > 0) { in installDummyApp() 48 out.write(buff, 0, read); in installDummyApp()
|