Searched refs:bos (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 85 BitwiseOutputStream bos = new BitwiseOutputStream(10); in createBearerDataStream() local 86 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER); in createBearerDataStream() 87 bos.write(8, 3); // length: 3 bytes in createBearerDataStream() 88 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream() 89 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream() 90 bos.write(8, (messageId & 0xff)); in createBearerDataStream() 91 bos.write(1, 0); // no User Data Header in createBearerDataStream() 92 bos.write(3, 0); // reserved in createBearerDataStream() 95 bos.write(8, SUBPARAM_PRIORITY_INDICATOR); in createBearerDataStream() 96 bos.write(8, 1); // length: 1 byte in createBearerDataStream() [all …]
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiAutomatorBridge.java | 113 BufferedOutputStream bos = null; in takeScreenshot() local 115 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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 74 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadLegacyNetwork() local 75 collection.write(new DataOutputStream(bos)); in testReadLegacyNetwork() 83 collection.read(new ByteArrayInputStream(bos.toByteArray())); in testReadLegacyNetwork() 100 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadLegacyUid() local 101 collection.write(new DataOutputStream(bos)); in testReadLegacyUid() 109 collection.read(new ByteArrayInputStream(bos.toByteArray())); in testReadLegacyUid() 126 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadLegacyUidTags() local 127 collection.write(new DataOutputStream(bos)); in testReadLegacyUidTags() 135 collection.read(new ByteArrayInputStream(bos.toByteArray())); in testReadLegacyUidTags()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 375 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeFile() local 377 writer.write(bos); in writeFile() 378 bos.flush(); in writeFile() 381 IoUtils.closeQuietly(bos); in writeFile()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 332 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in openDocumentThumbnail() local 333 bitmap.compress(CompressFormat.JPEG, 50, bos); in openDocumentThumbnail() 335 final ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in openDocumentThumbnail()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | UserManagerService.java | 629 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeUserLocked() local 633 serializer.setOutput(bos, "utf-8"); in writeUserLocked() 709 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeUserListLocked() local 713 serializer.setOutput(bos, "utf-8"); in writeUserListLocked() 1375 final BufferedOutputStream bos = new BufferedOutputStream(fos); in writeApplicationRestrictionsLocked() local 1379 serializer.setOutput(bos, "utf-8"); in writeApplicationRestrictionsLocked()
|