/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherOutputStream1Test.java | 195 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 204 CipherOutputStream cos = new CipherOutputStream(baos, c);
|
CipherTest.java | 338 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 350 baos.write(output); 357 baos.write(output); 360 byte[] decipheredCipherText = baos.toByteArray(); 396 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 408 baos.write(output); 414 baos.write(output); 416 byte[] encryptedPlaintext = baos.toByteArray(); [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
GZIPInputStreamTest.java | 215 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 216 GZIPOutputStream zipout = new GZIPOutputStream(baos); 220 GZIPInputStream in= new GZIPInputStream(new ByteArrayInputStream(baos.toByteArray()));
|
InflaterInputStreamTest.java | 275 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 276 DeflaterOutputStream dos = new DeflaterOutputStream(baos); 279 InputStream is = new ByteArrayInputStream(baos.toByteArray());
|
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/ |
OGGLoader.java | 204 ByteArrayOutputStream baos = new ByteArrayOutputStream();
local 211 baos.write(buf, 0, read);
217 byte[] dataBytes = baos.toByteArray();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
BitmapUtils.java | 243 ByteArrayOutputStream baos = new ByteArrayOutputStream(65536); local 244 bitmap.compress(CompressFormat.JPEG, quality, baos); 245 return baos.toByteArray();
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
NinePatch_Delegate.java | 81 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 84 oos = new ObjectOutputStream(baos); 99 byte[] array = baos.toByteArray();
|
/libcore/crypto/src/main/java/org/conscrypt/ |
AbstractSessionContext.java | 195 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 196 DataOutputStream daos = new DataOutputStream(baos); 216 return baos.toByteArray();
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldManifestTest.java | 116 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 118 manifest1.write(baos); 120 b = baos.toByteArray();
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 243 ByteArrayOutputStream baos = new ByteArrayOutputStream(65536); local 244 bitmap.compress(CompressFormat.JPEG, quality, baos); 245 return baos.toByteArray();
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
BitmapUtils.java | 243 ByteArrayOutputStream baos = new ByteArrayOutputStream(65536); local 244 bitmap.compress(CompressFormat.JPEG, quality, baos); 245 return baos.toByteArray();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
FlatManifestWriterImpl.java | 583 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 585 baos.write(new byte[]{0, 0, 0, 1}); 588 baos.write(sp); 590 baos.write(new byte[]{0, 0, 0, 1}); 592 baos.write(pp); 597 return baos.toByteArray();
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectOutputStreamTest.java | 330 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 335 boos = new BasicObjectOutputStream(baos); 341 buffer = baos.toByteArray();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadTest.java | 74 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 75 System.setErr(new PrintStream(baos)); 79 String s = new String(baos.toByteArray());
|
/packages/apps/Exchange/src/com/android/exchange/ |
EasOutboxService.java | 118 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 121 writeTo(baos, false); 123 return baos.size() + mFileLength; 128 baos.close();
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasOutboxSync.java | 432 final ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 435 writeTo(baos, false); 437 return baos.size() + mFileLength; 442 baos.close();
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldAbstractPreferencesTest.java | 967 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 969 pref.exportNode(baos); 970 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); 976 String xmlData = new String(baos.toByteArray()); 1017 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 1019 pref.exportSubtree(baos); 1020 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); 1028 String xmlData = new String(baos.toByteArray()); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SortedMapTestBase.java | 351 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 352 ObjectOutputStream oos = new ObjectOutputStream(baos); 355 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
ExportWizard.java | 611 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 612 t.printStackTrace(new PrintStream(baos)); 613 message = baos.toString();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
SmsMessage.java | 900 ByteArrayOutputStream baos = new ByteArrayOutputStream(100); local 936 ByteArrayOutputStream baos = new ByteArrayOutputStream(100); local [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
KeyPairGeneratorTest.java | 214 ByteArrayOutputStream baos = new ByteArrayOutputStream(16384); local 215 ObjectOutputStream oos = new ObjectOutputStream(baos); 218 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
|
/libcore/luni/src/test/java/tests/api/java/io/ |
ObjectInputStreamTest.java | 73 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 75 baos); 79 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
GeneratedMessageTest.java | 803 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 820 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local [all...] |
/build/tools/signapk/ |
SignApk.java | 687 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local 688 writeSignatureFile(manifest, baos, getAlgorithm(publicKey[k])); 689 byte[] signedData = baos.toByteArray();
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
BaseRecipientAdapter.java | [all...] |