Home
last modified time | relevance | path

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

12

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java176 BitwiseOutputStream bos = new BitwiseOutputStream(10); in createBearerDataStream() local
177 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER); in createBearerDataStream()
178 bos.write(8, 3); // length: 3 bytes in createBearerDataStream()
179 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream()
180 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream()
181 bos.write(8, (messageId & 0xff)); in createBearerDataStream()
182 bos.write(1, 0); // no User Data Header in createBearerDataStream()
183 bos.write(3, 0); // reserved in createBearerDataStream()
186 bos.write(8, SUBPARAM_PRIORITY_INDICATOR); in createBearerDataStream()
187 bos.write(8, 1); // length: 1 byte in createBearerDataStream()
[all …]
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java1160 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in checkBuildOfferPacket() local
1162 bos.write(new byte[] { in checkBuildOfferPacket()
1170 bos.write(CLIENT_ADDR.getAddress()); in checkBuildOfferPacket()
1172 bos.write(SERVER_ADDR.getAddress()); in checkBuildOfferPacket()
1174 bos.write(INADDR_ANY.getAddress()); in checkBuildOfferPacket()
1176 bos.write(CLIENT_MAC); in checkBuildOfferPacket()
1179 bos.write(new byte[202]); in checkBuildOfferPacket()
1182 bos.write(new byte[]{ in checkBuildOfferPacket()
1189 bos.write(new byte[] { (byte) 0x36, (byte) 0x04 }); in checkBuildOfferPacket()
1190 bos.write(SERVER_ADDR.getAddress()); in checkBuildOfferPacket()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DInternalDataUtils.java80 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in serializeInternalProviderData() local
81 try (ObjectOutputStream out = new ObjectOutputStream(bos)) { in serializeInternalProviderData()
85 return bos.toByteArray(); in serializeInternalProviderData()
126 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in serializeInternalProviderData() local
127 try (ObjectOutputStream out = new ObjectOutputStream(bos)) { in serializeInternalProviderData()
130 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/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/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/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.java2619 final BufferedOutputStream bos = new BufferedOutputStream(fos);
2621 bos.write(rawPdu);
2622 bos.flush();
2624 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.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
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.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpl_wordlist.combined.gz
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...

12