Home
last modified time | relevance | path

Searched refs:bos (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java1024 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in checkBuildOfferPacket() local
1026 bos.write(new byte[] { in checkBuildOfferPacket()
1034 bos.write(CLIENT_ADDR.getAddress()); in checkBuildOfferPacket()
1036 bos.write(SERVER_ADDR.getAddress()); in checkBuildOfferPacket()
1038 bos.write(INADDR_ANY.getAddress()); in checkBuildOfferPacket()
1040 bos.write(CLIENT_MAC); in checkBuildOfferPacket()
1043 bos.write(new byte[202]); in checkBuildOfferPacket()
1046 bos.write(new byte[]{ in checkBuildOfferPacket()
1053 bos.write(new byte[] { (byte) 0x36, (byte) 0x04 }); in checkBuildOfferPacket()
1054 bos.write(SERVER_ADDR.getAddress()); in checkBuildOfferPacket()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DInternalDataUtils.java77 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in serializeInternalProviderData() local
78 try (ObjectOutputStream out = new ObjectOutputStream(bos)) { in serializeInternalProviderData()
82 return bos.toByteArray(); in serializeInternalProviderData()
123 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in serializeInternalProviderData() local
124 try (ObjectOutputStream out = new ObjectOutputStream(bos)) { in serializeInternalProviderData()
127 return bos.toByteArray(); in serializeInternalProviderData()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DDumpDatabaseAction.java55 BufferedOutputStream bos = null; in executeAction() local
67 bos = new BufferedOutputStream(new FileOutputStream(outFile)); in executeAction()
73 bos.write(buffer, 0, bytesRead); in executeAction()
80 if (bos != null) { in executeAction()
82 bos.close(); in executeAction()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ddocumenttest.cpp136 StringBuffer bos; in TEST() local
138 OutputStream eos(bos, false); // Not writing BOM in TEST()
152 EXPECT_EQ(bos.GetSize(), bos2.GetSize()); in TEST()
153 EXPECT_EQ(0, memcmp(bos.GetString(), bos2.GetString(), bos2.GetSize())); in TEST()
177 StringBuffer bos; in TEST() local
178 Writer<StringBuffer> writer(bos); in TEST()
191 EXPECT_EQ(bos.GetSize(), bos2.GetSize()); in TEST()
192 EXPECT_EQ(0, memcmp(bos.GetString(), bos2.GetString(), bos2.GetSize())); in TEST()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java328 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in readRaw() local
333 bos.write(buf, 0, read); in readRaw()
335 bos.flush(); in readRaw()
336 return bos.toByteArray(); in readRaw()
339 bos.close(); in readRaw()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java433 BufferedOutputStream bos = null; in receiveFile() local
458 bos = new BufferedOutputStream(fileInfo.mOutputStream, 0x10000); in receiveFile()
484 bos.write(b, 0, readLength); in receiveFile()
539 if (bos != null) { in receiveFile()
541 bos.close(); in receiveFile()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java504 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in setBookmark() local
505 DataOutputStream dos = new DataOutputStream(bos); in setBookmark()
510 cache.insert(uri.hashCode(), bos.toByteArray()); in setBookmark()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java323 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in lookupAddress() local
324 DataOutputStream dos = new DataOutputStream(bos); in lookupAddress()
349 mGeoCache.insert(locationKey, bos.toByteArray()); in lookupAddress()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md174 FileWriteStream bos(fp, writeBuffer, sizeof(writeBuffer));
177 OutputStream eos(bos, true); // Write BOM
225 FileWriteStream bos(fp, writeBuffer, sizeof(writeBuffer));
228 OutputStream eos(bos, type, putBOM);
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java2709 final BufferedOutputStream bos = new BufferedOutputStream(fos);
2711 bos.write(rawPdu);
2712 bos.flush();
2714 bos.close();
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dro_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dpt_PT_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dlv_wordlist.combined.gz
Dtr_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...

12