HomeSort by relevance Sort by last modified time
    Searched defs:baos (Results 51 - 75 of 110) sorted by null

1 23 4 5

  /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();
  /libcore/luni/src/test/java/libcore/java/security/cert/
CertificateFactoryTest.java 215 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
216 baos.write(VALID_CERTIFICATE_PEM_HEADER);
223 baos.write(Arrays.copyOfRange(VALID_CERTIFICATE_PEM_DATA, offset, end));
224 baos.write('\n');
227 baos.write(VALID_CERTIFICATE_PEM_FOOTER);
230 cf.generateCertificate(new ByteArrayInputStream(baos.toByteArray()));
235 baos.reset();
236 baos.write(VALID_CERTIFICATE_PEM_HEADER);
500 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
501 ObjectOutputStream oos = new ObjectOutputStream(baos);
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
ManifestTest.java 130 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
131 m.write(baos);
132 InputStream is = new ByteArrayInputStream(baos.toByteArray());
246 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
257 m.write(baos); // ok
419 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
420 m.write(baos);
421 m = new Manifest(new ByteArrayInputStream(baos.toByteArray()));
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
InflaterInputStreamTest.java 275 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
276 DeflaterOutputStream dos = new DeflaterOutputStream(baos);
279 InputStream is = new ByteArrayInputStream(baos.toByteArray());
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 274 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
284 baos.write(output);
291 baos.write(output);
294 byte[] decipheredCipherText = baos.toByteArray();
323 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
333 baos.write(output);
339 baos.write(output);
341 byte[] encryptedPlaintext = baos.toByteArray();
  /libcore/luni/src/test/java/libcore/java/io/
OldOutputStreamWriterTest.java 340 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
411 writer = new OutputStreamWriter(baos, "utf-8");
416 "hi", baos.toString("utf-8"));
422 "hi" + testString, baos.toString("utf-8"));
485 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
559 writer = new OutputStreamWriter(baos, "utf-8");
565 "bc", baos.toString("utf-8"));
571 "bc" + testString, baos.toString("utf-8"));
OldObjectOutputStreamTest.java 330 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
335 boos = new BasicObjectOutputStream(baos);
341 buffer = baos.toByteArray();
  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.java 97 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
98 ZipOutputStream out = new ZipOutputStream(baos);
106 byte[] buffer = baos.toByteArray();
126 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
127 ZipOutputStream out = new ZipOutputStream(baos);
146 byte[] outBuffer = baos.toByteArray();
  /frameworks/opt/mms/src/java/com/google/android/mms/pdu/
PduPersister.java 431 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
442 baos.write(blob, 0, blob.length);
451 baos.write(buffer, 0, len);
468 part.setData(baos.toByteArray());
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ContactLoader.java 527 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
531 baos.write(buffer, 0, size);
533 contactData.setPhotoBinaryData(baos.toByteArray());
    [all...]
  /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());
  /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());
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ObjectOutputStreamTest.java 963 ByteArrayOutputStream baos = new ByteArrayOutputStream(1024); local
964 ObjectOutputStream oos = new ObjectOutputStream(baos);
973 baos.close();
976 byte[] bytes = baos.toByteArray();
1129 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1160 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1216 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
    [all...]
ObjectInputStreamTest.java 681 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
683 baos);
687 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
746 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
747 ObjectOutputStream oos = new ObjectOutputStream(baos);
750 byte[] bytes = baos.toByteArray();
786 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
787 ObjectOutputStream oos = new ObjectOutputStream(baos);
793 byte[] bytes = baos.toByteArray();
807 ByteArrayOutputStream baos = new ByteArrayOutputStream() local
964 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
PropertiesTest.java 150 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
151 PrintStream ps = new PrintStream(baos);
159 String propList = baos.toString();
180 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
181 PrintWriter pw = new PrintWriter(baos);
189 String propList = baos.toString();
1072 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1081 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1090 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1099 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1108 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1117 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1126 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1135 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1144 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1153 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1162 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
1171 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
    [all...]
SortedMapTestBase.java 351 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
352 ObjectOutputStream oos = new ObjectOutputStream(baos);
355 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 1336 ByteArrayOutputStream baos = new ByteArrayOutputStream(); local
    [all...]
  /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/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...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
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...]
  /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());
  /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/base/core/java/android/os/
Parcel.java 1308 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();

Completed in 2907 milliseconds

1 23 4 5