Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 30) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DPduBody.java44 private void putPartToMaps(PduPart part) { in putPartToMaps() argument
46 byte[] contentId = part.getContentId(); in putPartToMaps()
48 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
52 byte[] contentLocation = part.getContentLocation(); in putPartToMaps()
55 mPartMapByContentLocation.put(clc, part); in putPartToMaps()
59 byte[] name = part.getName(); in putPartToMaps()
62 mPartMapByName.put(clc, part); in putPartToMaps()
66 byte[] fileName = part.getFilename(); in putPartToMaps()
69 mPartMapByFileName.put(clc, part); in putPartToMaps()
80 public boolean addPart(PduPart part) { in addPart() argument
[all …]
DPduParser.java846 PduPart part = new PduPart(); in parseParts() local
857 part.setContentType(contentType); in parseParts()
859 part.setContentType((PduContentTypes.contentTypes[0]).getBytes()); //"*/*" in parseParts()
865 part.setName(name); in parseParts()
871 part.setCharset(charset); in parseParts()
878 if (false == parsePartHeaders(pduDataStream, part, partHeaderLen)) { in parseParts()
890 if ((null == part.getContentLocation()) in parseParts()
891 && (null == part.getName()) in parseParts()
892 && (null == part.getFilename()) in parseParts()
893 && (null == part.getContentId())) { in parseParts()
[all …]
DPduComposer.java870 PduPart part; in makeMessageBody() local
872 part = body.getPart(0); in makeMessageBody()
874 byte[] start = part.getContentId(); in makeMessageBody()
886 appendTextString(part.getContentType()); in makeMessageBody()
901 part = body.getPart(i); in makeMessageBody()
908 byte[] partContentType = part.getContentType(); in makeMessageBody()
928 byte[] name = part.getName(); in makeMessageBody()
931 name = part.getFilename(); in makeMessageBody()
934 name = part.getContentLocation(); in makeMessageBody()
948 int charset = part.getCharset(); in makeMessageBody()
[all …]
/development/gsi/repack_super_image/
Drepack_super_image.py45 part, sep, img = part_img.partition("=")
46 if not part or not sep:
49 return part, (existing_abs_path(img) if img else "")
156 for part, img in args.part_imgs:
157 if part in args_part_imgs:
158 raise ValueError(part + " partition is repeated.")
159 args_part_imgs[part] = img
197 part = file_name[:-len(IMG_FILE_EXT)]
198 unpacked_part_imgs[part] = os.path.join(unpack_dir, file_name)
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java378 final PduPart part = new PduPart(); in addTextPart() local
380 part.setCharset(CharacterSets.UTF_8); in addTextPart()
382 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); in addTextPart()
384 part.setContentLocation(TEXT_PART_FILENAME.getBytes()); in addTextPart()
388 part.setContentId(contentId.getBytes()); in addTextPart()
389 part.setData(message.getBytes()); in addTextPart()
390 pb.addPart(part); in addTextPart()
395 return part.getData().length; in addTextPart()
442 final PduPart part = body.getPart(i); in getMessageText() local
443 if (part != null in getMessageText()
[all …]
/development/tools/winscope/src/
Dtransform.js147 var part = (elapsedRealtimeNanos % div).toFixed()
149 parts.push(part + str);
/development/samples/browseable/WearDrawers/
D_index.jd8 A simple sample that demonstrates Navigation and Action Drawers, part of Material Design for Wear.
/development/apps/Fallback/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/Development/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/CustomLocale/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/NinePatchLab/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/samples/VoicemailProviderDemo/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/samples/AccelerometerPlay/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/launchperf/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/BluetoothDebug/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/samples/CubeLiveWallpaper/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/SdkSetup/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/OBJViewer/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/cmds/monkey/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
DREADME.NETWORK.txt55 will add the KEYCODE part). Do note that this last part doesn't work
/development/apps/GestureBuilder/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/apps/DevelopmentSettings/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/samples/Home/
DNOTICE116 excluding those notices that do not pertain to any part of
119 (d) If the Work includes a "NOTICE" text file as part of its
123 pertain to any part of the Derivative Works, in at least one
125 as part of the Derivative Works; within the Source form or
/development/host/windows/usb/
DNOTICE103 excluding those notices that do not pertain to any part of
106 (d) If the Work includes a "NOTICE" text file as part of its
110 pertain to any part of the Derivative Works, in at least one
112 as part of the Derivative Works; within the Source form or
/development/samples/ToyVpn/server/linux/
DToyVpnServer.cpp80 #error Sorry, you have to implement this part by yourself.

12