Searched refs:baos (Results 1 – 19 of 19) sorted by relevance
49 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in decodeBaseQuotedPrintable() local59 baos.write(b); in decodeBaseQuotedPrintable()68 return baos.toByteArray(); in decodeBaseQuotedPrintable()78 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in decodeBase64() local88 baos.write(b); in decodeBase64()97 return baos.toByteArray(); in decodeBase64()
161 ByteArrayOutputStream baos = new ByteArrayOutputStream(cursor.getCount() * 10); in getDictionary() local164 gzip = new GZIPOutputStream(baos); in getDictionary()189 return baos.toByteArray(); in getDictionary()199 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in restoreDictionary() local203 baos.write(tempData, 0, got); in restoreDictionary()206 dictionary = baos.toByteArray(); in restoreDictionary()
253 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getCompressedBytes() local254 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()
398 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in addCallToBackup() local399 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()
84 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in sendRequestAsByteArray() local89 baos.write(buffer, 0, bytesRead); in sendRequestAsByteArray()93 handleBadResponse(url.toString(), baos.toByteArray()); in sendRequestAsByteArray()100 byte[] response = baos.toByteArray(); in sendRequestAsByteArray()
66 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in readResponse() local72 baos.write(buf, 0, len); in readResponse()83 bmsg = baos.toString(StandardCharsets.UTF_8.name()); in readResponse()
36 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in toBytes() local38 ObjectOutputStream os = new ObjectOutputStream(baos); in toBytes()44 return baos.toByteArray(); in toBytes()
69 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in assertImageRawData() local74 baos.write(buffer, 0, count); in assertImageRawData()78 assertImageRawData(context, expected, baos.toByteArray()); in assertImageRawData()
242 ByteArrayOutputStream baos = new ByteArrayOutputStream(65536); in compressToBytes() local243 bitmap.compress(CompressFormat.JPEG, quality, baos); in compressToBytes()244 return baos.toByteArray(); in compressToBytes()
656 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadText() local662 baos.write(buffer, 0, len); in loadText()677 data = baos.toByteArray(); in loadText()
637 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in roundTripXml() local638 serializer.setOutput(new BufferedOutputStream(baos), "utf-8"); in roundTripXml()641 data = baos.toByteArray(); in roundTripXml()
1240 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadUriBasedPhotos() local1244 baos.write(mBuffer, 0, size); in loadUriBasedPhotos()1249 cacheBitmap(originalUri, baos.toByteArray(), false, uriRequest.getRequestedExtent()); in loadUriBasedPhotos()
447 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadParts() local460 baos.write(blob, 0, blob.length); in loadParts()469 baos.write(buffer, 0, len); in loadParts()486 part.setData(baos.toByteArray()); in loadParts()
343 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadPhotoBinaryData() local347 baos.write(buffer, 0, size); in loadPhotoBinaryData()349 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData()
541 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadPhotoBinaryData() local545 baos.write(buffer, 0, size); in loadPhotoBinaryData()547 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData()
1601 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in loadUriBasedPhotos() local1605 baos.write(mBuffer, 0, size); in loadUriBasedPhotos()1610 cacheBitmap(originalUri, baos.toByteArray(), false, in loadUriBasedPhotos()
2091 ByteArrayOutputStream baos = null; in doInBackground() local2108 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()
META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
1dictionary=main:es,locale=es,description=Español,date=1414726268, ...