HomeSort by relevance Sort by last modified time
    Searched defs:bos (Results 26 - 50 of 65) sorted by null

12 3

  /libcore/luni/src/test/java/libcore/java/util/logging/
OldMemoryHandlerTest.java 55 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
56 p.store(bos, "");
57 return new ByteArrayInputStream(bos.toByteArray());
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SealedObjectTest.java 70 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
71 ObjectOutputStream oos = new ObjectOutputStream(bos);
75 bos.toByteArray()));
  /frameworks/base/core/java/com/android/internal/util/
FileRotator.java 375 final BufferedOutputStream bos = new BufferedOutputStream(fos); local
377 writer.write(bos);
378 bos.flush();
381 IoUtils.closeQuietly(bos);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestOutputStreamTest.java 148 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
149 DigestOutputStream dos = new DigestOutputStream(bos, md);
154 assertTrue("write", Arrays.equals(MDGoldenData.getMessage(), bos.toByteArray()));
180 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
181 DigestOutputStream dos = new DigestOutputStream(bos, md);
191 assertTrue("write", Arrays.equals(MDGoldenData.getMessage(), bos.toByteArray()));
264 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
265 DigestOutputStream dos = new DigestOutputStream(bos, null);
273 assertTrue(Arrays.equals(MDGoldenData.getMessage(), bos.toByteArray()));
286 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN) local
319 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
356 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
397 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
486 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
524 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
    [all...]
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
LayoutTestsAutoTest.java 439 BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(tests_list, false)); local
440 FsUtils.writeLayoutTestListRecursively(bos, getTestPath(), false); // Don't ignore results
441 bos.flush();
442 bos.close();
  /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaSmsCbTest.java 85 BitwiseOutputStream bos = new BitwiseOutputStream(10); local
86 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER);
87 bos.write(8, 3); // length: 3 bytes
88 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER);
89 bos.write(8, ((messageId >>> 8) & 0xff));
90 bos.write(8, (messageId & 0xff));
91 bos.write(1, 0); // no User Data Header
92 bos.write(3, 0); // reserved
95 bos.write(8, SUBPARAM_PRIORITY_INDICATOR);
96 bos.write(8, 1); // length: 1 byt
167 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); local
193 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); local
555 BitwiseOutputStream bos = createBearerDataStream(r.nextInt(65536), r.nextInt(4), local
604 BitwiseOutputStream bos = createBearerDataStream(123, -1, -1); local
645 BitwiseOutputStream bos = createBearerDataStream(456, -1, -1); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CompressedTextureActivity.java 120 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
121 ETC1Util.writeTexture(etc1Texture, bos);
122 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
SerializedGrammar.java 92 BufferedInputStream bos = new BufferedInputStream(fis); local
93 DataInputStream in = new DataInputStream(bos);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DataOutputStreamTest.java 32 private ByteArrayOutputStream bos; field in class:DataOutputStreamTest
237 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray()));
245 bos = new ByteArrayOutputStream();
246 os = new DataOutputStream(bos);
PrintStreamTest.java 34 ByteArrayOutputStream bos = new ByteArrayOutputStream(); field in class:PrintStreamTest
100 PrintStream os = new PrintStream(bos);
106 os = new PrintStream(bos, true, null);
116 PrintStream os = new PrintStream(bos);
119 assertTrue("Bytes not written", bos.size() > 0);
174 PrintStream os = new PrintStream(bos);
176 bos.close();
184 PrintStream os = new PrintStream(bos);
187 assertEquals("Bytes not written after flush", 501, bos.size());
188 bos.close()
    [all...]
DataInputStreamTest.java 33 private ByteArrayOutputStream bos; field in class:DataInputStreamTest
568 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray()));
576 bos = new ByteArrayOutputStream();
577 os = new DataOutputStream(bos);
InputStreamReaderTest.java 113 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
114 OutputStreamWriter osw = new OutputStreamWriter(bos);
119 fis = new ByteArrayInputStream(bos.toByteArray());
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl3Test.java 136 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
145 kss[i].store(bos, null);
147 kss[i].store(bos, pwd);
148 ByteArrayInputStream bis = new ByteArrayInputStream(bos
  /libcore/luni/src/main/java/org/apache/harmony/lang/annotation/
AnnotationMember.java 310 ByteArrayOutputStream bos = new ByteArrayOutputStream( local
312 ObjectOutputStream oos = new ObjectOutputStream(bos);
316 ByteArrayInputStream bis = new ByteArrayInputStream(bos
  /libcore/luni/src/test/java/libcore/java/io/
OldDataInputStreamTest.java 34 private ByteArrayOutputStream bos; field in class:OldDataInputStreamTest
354 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray()));
362 bos = new ByteArrayOutputStream();
363 os = new DataOutputStream(bos);
OldDataOutputStreamTest.java 34 private ByteArrayOutputStream bos; field in class:OldDataOutputStreamTest
47 BufferedOutputStream buf = new BufferedOutputStream(bos);
52 bos.toByteArray().length == 0);
55 bos.toByteArray().length > 0);
180 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray()));
185 bos = new ByteArrayOutputStream();
186 os = new DataOutputStream(bos);
OldInputStreamReaderTest.java 51 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
52 OutputStreamWriter osw = new OutputStreamWriter(bos);
57 fis = new ByteArrayInputStream(bos.toByteArray());
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldZipInputStreamTest.java 44 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
45 ZipOutputStream zos = new ZipOutputStream(bos);
  /external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/
ANTLR3.java 93 private ByteArrayOutputStream bos = new ByteArrayOutputStream(); field in class:ANTLR3
451 bos.close();
461 Matcher m = p.matcher(bos.toString());
627 bos.close();
651 Matcher m = p.matcher(bos.toString());
760 psh = new PumpStreamHandler(out, bos);
762 psh = new PumpStreamHandler(out, new TeeOutputStream(err, bos));
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
MoviePlayer.java 475 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
476 DataOutputStream dos = new DataOutputStream(bos);
481 cache.insert(uri.hashCode(), bos.toByteArray());
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
ZipInputStreamTest.java 53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
54 ZipOutputStream zos = new ZipOutputStream(bos);
60 zipBytes = bos.toByteArray();
ZipOutputStreamTest.java 34 ByteArrayOutputStream bos; field in class:ZipOutputStreamTest
51 zos = new ZipOutputStream(bos);
109 zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray()));
185 zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray()));
283 zos = new ZipOutputStream(bos = new ByteArrayOutputStream());
  /packages/apps/Browser/src/com/android/browser/provider/
BrowserProvider2.java 719 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
    [all...]
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
ConsoleHandlerTest.java 353 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
354 System.setErr(new PrintStream(bos));
367 assertTrue(bos.toString().indexOf("testPublish_Record1") >= 0);
372 assertTrue(bos.toString().indexOf("testPublish_Record2") >= 0);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-antlr.jar 

Completed in 1801 milliseconds

12 3