Searched refs:bos (Results 1 – 16 of 16) sorted by relevance
90 BitwiseOutputStream bos = new BitwiseOutputStream(10); in createBearerDataStream() local91 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER); in createBearerDataStream()92 bos.write(8, 3); // length: 3 bytes in createBearerDataStream()93 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream()94 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream()95 bos.write(8, (messageId & 0xff)); in createBearerDataStream()96 bos.write(1, 0); // no User Data Header in createBearerDataStream()97 bos.write(3, 0); // reserved in createBearerDataStream()100 bos.write(8, SUBPARAM_PRIORITY_INDICATOR); in createBearerDataStream()101 bos.write(8, 1); // length: 1 byte in createBearerDataStream()[all …]
113 BufferedOutputStream bos = null; in takeScreenshot() local115 bos = new BufferedOutputStream(new FileOutputStream(storePath)); in takeScreenshot()116 if (bos != null) { in takeScreenshot()117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot()118 bos.flush(); in takeScreenshot()124 if (bos != null) { in takeScreenshot()126 bos.close(); in takeScreenshot()
80 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadLegacyNetwork() local81 collection.write(new DataOutputStream(bos)); in testReadLegacyNetwork()89 collection.read(new ByteArrayInputStream(bos.toByteArray())); in testReadLegacyNetwork()106 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadLegacyUid() local107 collection.write(new DataOutputStream(bos)); in testReadLegacyUid()115 collection.read(new ByteArrayInputStream(bos.toByteArray())); in testReadLegacyUid()132 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadLegacyUidTags() local133 collection.write(new DataOutputStream(bos)); in testReadLegacyUidTags()141 collection.read(new ByteArrayInputStream(bos.toByteArray())); in testReadLegacyUidTags()
179 ByteArrayOutputStream bos = null; in serializeAndDeserialize() local182 bos = new ByteArrayOutputStream(); in serializeAndDeserialize()183 oos = new ObjectOutputStream(bos); in serializeAndDeserialize()187 closeQuietly(bos); in serializeAndDeserialize()193 bis = new ByteArrayInputStream(bos.toByteArray()); in serializeAndDeserialize()
380 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeFile() local382 writer.write(bos); in writeFile()383 bos.flush(); in writeFile()386 IoUtils.closeQuietly(bos); in writeFile()
701 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in createWpaSupplicantConfBackupData() local702 OutputStreamWriter out = new OutputStreamWriter(bos); in createWpaSupplicantConfBackupData()708 return bos.toByteArray(); in createWpaSupplicantConfBackupData()776 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in createIpConfBackupData() local777 DataOutputStream out = new DataOutputStream(bos); in createIpConfBackupData()786 return bos.toByteArray(); in createIpConfBackupData()
332 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in openDocumentThumbnail() local333 bitmap.compress(CompressFormat.JPEG, 50, bos); in openDocumentThumbnail()335 final ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in openDocumentThumbnail()
304 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in getByteArray() local308 bos.write(buffer, 0, read); in getByteArray()310 return bos.toByteArray(); in getByteArray()
544 ByteArrayOutputStream bos = new ByteArrayOutputStream(input.length); in compressToBase64() local549 bos.write(buf, 0, count); in compressToBase64()554 bos.close(); in compressToBase64()561 byte[] compressed = bos.toByteArray(); in compressToBase64()
339 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeAppIdleTimes() local342 xml.setOutput(bos, StandardCharsets.UTF_8.name()); in writeAppIdleTimes()
897 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in assertZipContent() local898 Streams.copy(zis, bos); in assertZipContent()899 String actualContent = new String(bos.toByteArray(), "UTF-8"); in assertZipContent()900 bos.close(); in assertZipContent()
398 BufferedOutputStream bos = null; in generateCrop() local451 bos = new BufferedOutputStream(f, 32*1024); in generateCrop()452 finalCrop.compress(Bitmap.CompressFormat.JPEG, 100, bos); in generateCrop()453 … bos.flush(); // don't rely on the implicit flush-at-close when noting success in generateCrop()461 IoUtils.closeQuietly(bos); in generateCrop()
1996 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeUserLP() local1997 writeUserLP(userData, bos); in writeUserLP()2110 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeUserListLP() local2114 serializer.setOutput(bos, StandardCharsets.UTF_8.name()); in writeUserListLP()2999 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeApplicationRestrictionsLP() local3002 serializer.setOutput(bos, StandardCharsets.UTF_8.name()); in writeApplicationRestrictionsLP()
956 final BufferedOutputStream bos = new BufferedOutputStream(os); in saveUserInternalLocked() local960 out.setOutput(bos, StandardCharsets.UTF_8.name()); in saveUserInternalLocked()967 bos.flush(); in saveUserInternalLocked()
2849 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in addTimedTextSource()2859 bos.write(buffer, 0, bytes); in addTimedTextSource()2866 Pair<SubtitleTrack, byte[]> trackData = Pair.create(track, bos.toByteArray()); in addTimedTextSource()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...