/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);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexServerSession.java | 417 BufferedOutputStream bos = null; local 442 bos = new BufferedOutputStream(fileInfo.mOutputStream, 0x10000); 462 bos.write(b, 0, readLength); 507 if (bos != null) { 509 bos.close();
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
PartnerBookmarksProvider.java | 328 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 333 bos.write(buf, 0, read); 335 bos.flush(); 336 return bos.toByteArray(); 339 bos.close();
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
TestDocumentsProvider.java | 332 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 333 bitmap.compress(CompressFormat.JPEG, 50, bos); 335 final ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
InputStreamReaderTest.java | 111 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 112 OutputStreamWriter osw = new OutputStreamWriter(bos); 117 fis = new ByteArrayInputStream(bos.toByteArray());
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldFileHandlerTest.java | 89 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 90 p.store(bos, ""); 91 return new ByteArrayInputStream(bos.toByteArray());
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/ |
SerializedLambdaTest.java | 86 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 87 ObjectOutputStream oos = new ObjectOutputStream(bos); 90 return bos.toByteArray();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MoviePlayer.java | 504 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 505 DataOutputStream dos = new DataOutputStream(bos); 510 cache.insert(uri.hashCode(), bos.toByteArray());
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ReverseGeocoder.java | 323 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 324 DataOutputStream dos = new DataOutputStream(bos); 349 mGeoCache.insert(locationKey, bos.toByteArray());
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiLogger.java | 552 ByteArrayOutputStream bos = new ByteArrayOutputStream(input.length); local 557 bos.write(buf, 0, count); 562 bos.close(); 569 byte[] compressed = bos.toByteArray();
|
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtilsTest.java | 350 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 351 PrintStream os = new PrintStream(bos); 355 assertEquals(expected, bos.toString()); 390 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 391 PrintStream os = new PrintStream(bos); 396 assertEquals(expected, bos.toString());
|
/external/libdrm/nouveau/ |
pushbuf.c | 70 struct nouveau_bo *bos[]; member in struct:nouveau_pushbuf_priv 560 nvpb = calloc(1, sizeof(*nvpb) + nr * sizeof(*nvpb->bos)); 594 NULL, &nvpb->bos[nvpb->bo_nr]); 625 nouveau_bo_ref(NULL, &nvpb->bos[nvpb->bo_nr]); 654 nouveau_bo_ref(nvpb->bos[nvpb->bo_next++], &bo); 659 nvpb->bos[0]->size, NULL, &bo);
|
/cts/tests/tests/media/src/android/media/cts/ |
DecodeEditEncodeTest.java | 881 BufferedOutputStream bos = null; local [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
JSR166TestCase.java | [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmGeneratorTest.java | 444 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 448 bos.write(buffer, 0, read); 450 return bos.toByteArray();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageInstallerService.java | 550 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 551 bitmap.compress(Bitmap.CompressFormat.PNG, 0, bos); 555 fos.write(bos.toByteArray());
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
AppIdleHistory.java | 340 final BufferedOutputStream bos = new BufferedOutputStream(fos); local 343 xml.setOutput(bos, StandardCharsets.UTF_8.name());
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
SoapSerializationEnvelope.java | 641 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 643 xw.setOutput(bos, "UTF-8"); 652 //bos.write('\r'); 653 //bos.write('\n'); 654 bos.flush(); 655 writer.cdsect(bos.toString());
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiManagerFacade.java | 474 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 475 ObjectOutput out = new ObjectOutputStream(bos); 477 byte[] data = bos.toByteArray(); 478 bos.close(); [all...] |
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
BugreportReceiverTest.java | 804 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local [all...] |
/external/libogg/src/ |
framing.c | 775 int bos=ogg_page_bos(og); local 838 bos=0; 864 if(bos){ 866 bos=0; 962 int bos=os->lacing_vals[ptr]&0x100; /* first packet of the stream? */ local 973 op->b_o_s=bos; [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
SetsTest.java | 360 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 361 ObjectOutputStream out = new ObjectOutputStream(bos); 367 bos.write(ref); 369 return bos.toByteArray(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalTest.java | 887 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
JSR166TestCase.java | [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 1184 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local [all...] |