Home
last modified time | relevance | path

Searched refs:baos (Results 1 – 19 of 19) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DDecoderUtil.java49 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in decodeBaseQuotedPrintable() local
59 baos.write(b); in decodeBaseQuotedPrintable()
68 return baos.toByteArray(); in decodeBaseQuotedPrintable()
78 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in decodeBase64() local
88 baos.write(b); in decodeBase64()
97 return baos.toByteArray(); in decodeBase64()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DDictionaryBackupAgent.java161 ByteArrayOutputStream baos = new ByteArrayOutputStream(cursor.getCount() * 10); in getDictionary() local
164 gzip = new GZIPOutputStream(baos); in getDictionary()
189 return baos.toByteArray(); in getDictionary()
199 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in restoreDictionary() local
203 baos.write(tempData, 0, got); in restoreDictionary()
206 dictionary = baos.toByteArray(); in restoreDictionary()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java253 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getCompressedBytes() local
254 final boolean compressed = b.compress(Bitmap.CompressFormat.JPEG, quality, baos); in getCompressedBytes()
255 baos.flush(); in getCompressedBytes()
256 baos.close(); in getCompressedBytes()
257 byte[] result = baos.toByteArray(); in getCompressedBytes()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java398 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in addCallToBackup() local
399 DataOutputStream data = new DataOutputStream(baos); in addCallToBackup()
428 output.writeEntityHeader(Integer.toString(call.id), baos.size()); in addCallToBackup()
429 output.writeEntityData(baos.toByteArray(), baos.size()); in addCallToBackup()
432 Log.d(TAG, "Wrote call to backup: " + call + " with byte array: " + baos); in addCallToBackup()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java84 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in sendRequestAsByteArray() local
89 baos.write(buffer, 0, bytesRead); in sendRequestAsByteArray()
93 handleBadResponse(url.toString(), baos.toByteArray()); in sendRequestAsByteArray()
100 byte[] response = baos.toByteArray(); in sendRequestAsByteArray()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequestGetMessage.java66 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in readResponse() local
72 baos.write(buf, 0, len); in readResponse()
83 bmsg = baos.toString(StandardCharsets.UTF_8.name()); in readResponse()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java36 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in toBytes() local
38 ObjectOutputStream os = new ObjectOutputStream(baos); in toBytes()
44 return baos.toByteArray(); in toBytes()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java69 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in assertImageRawData() local
74 baos.write(buffer, 0, count); in assertImageRawData()
78 assertImageRawData(context, expected, baos.toByteArray()); in assertImageRawData()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java242 ByteArrayOutputStream baos = new ByteArrayOutputStream(65536); in compressToBytes() local
243 bitmap.compress(CompressFormat.JPEG, quality, baos); in compressToBytes()
244 return baos.toByteArray(); in compressToBytes()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java656 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadText() local
662 baos.write(buffer, 0, len); in loadText()
677 data = baos.toByteArray(); in loadText()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java637 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in roundTripXml() local
638 serializer.setOutput(new BufferedOutputStream(baos), "utf-8"); in roundTripXml()
641 data = baos.toByteArray(); in roundTripXml()
/packages/apps/Dialer/java/com/android/contacts/common/
DContactPhotoManagerImpl.java1240 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadUriBasedPhotos() local
1244 baos.write(mBuffer, 0, size); in loadUriBasedPhotos()
1249 cacheBitmap(originalUri, baos.toByteArray(), false, uriRequest.getRequestedExtent()); in loadUriBasedPhotos()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java447 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadParts() local
460 baos.write(blob, 0, blob.length); in loadParts()
469 baos.write(buffer, 0, len); in loadParts()
486 part.setData(baos.toByteArray()); in loadParts()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java343 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadPhotoBinaryData() local
347 baos.write(buffer, 0, size); in loadPhotoBinaryData()
349 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java541 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadPhotoBinaryData() local
545 baos.write(buffer, 0, size); in loadPhotoBinaryData()
547 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java1601 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadUriBasedPhotos() local
1605 baos.write(mBuffer, 0, size); in loadUriBasedPhotos()
1610 cacheBitmap(originalUri, baos.toByteArray(), false, in loadUriBasedPhotos()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java2091 ByteArrayOutputStream baos = null; in doInBackground() local
2108 baos = new ByteArrayOutputStream(); in doInBackground()
2109 bitmap.compress(Bitmap.CompressFormat.PNG, 100, baos); in doInBackground()
2110 byte[] bytes = baos.toByteArray(); in doInBackground()
2130 IoUtils.closeQuietly(baos); in doInBackground()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...