/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMime.java | 149 private ArrayList<MimePart> parts = null; field in BluetoothMapbMessageMime 168 return parts; in getMimeParts() 176 if(parts != null) { in getMessageAsText() 177 for(MimePart part : parts) { in getMessageAsText() 186 if(parts == null) in addMimePart() 187 parts = new ArrayList<BluetoothMapbMessageMime.MimePart>(); in addMimePart() 189 parts.add(newPart); in addMimePart() 300 if(parts != null) { in updateCharset() 302 for(MimePart part : parts) { in updateCharset() 314 if(parts != null) { in getSize() [all …]
|
D | BluetoothMapbMessage.java | 252 String[] parts; in parseVcard() local 258 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 259 if(parts.length == 2) { in parseVcard() 260 name = parts[1]; in parseVcard() 265 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 266 if(parts.length == 2) { in parseVcard() 267 formattedName = parts[1]; in parseVcard() 272 parts = line.split("[^\\\\]:"); // Split on "un-escaped" ':' in parseVcard() 273 if(parts.length == 2) { in parseVcard() 274 String[] subParts = parts[1].split("[^\\\\];"); in parseVcard() [all …]
|
D | BluetoothMapContentObserver.java | 2422 int parts; field in BluetoothMapContentObserver.PushMsgInfo 2553 ArrayList<String> parts = smsMng.divideMessage(msgBody); in pushMessage() local 2554 int smsParts = parts.size(); in pushMessage() 2974 ArrayList<String> parts = smsMng.divideMessage(msgBody); in sendMessage() local 2975 msgInfo.parts = parts.size(); in sendMessage() 2981 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(msgInfo.parts); in sendMessage() 2982 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(msgInfo.parts); in sendMessage() 2991 if (parts != null && parts.size() > 0) { in sendMessage() 2992 for (int i = 0; i < msgInfo.parts; i++) { in sendMessage() 3028 smsMng.sendMultipartTextMessage(msgInfo.phone, null, parts, sentIntents, in sendMessage() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | WallpaperManagerCompatVL.java | 151 String[] parts = value.split(","); in parseValue() local 152 Integer wallpaperId = Integer.parseInt(parts[1]); in parseValue() 153 if (parts.length == 2) { in parseValue() 158 int primary = parts.length > 2 ? Integer.parseInt(parts[2]) : 0; in parseValue() 159 int secondary = parts.length > 3 ? Integer.parseInt(parts[3]) : 0; in parseValue() 160 int tertiary = parts.length > 4 ? Integer.parseInt(parts[4]) : 0; in parseValue()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CityDAO.java | 153 final String[] parts = formattedName.split("[=:]"); in createCity() local 154 final String name = parts[1]; in createCity() 157 final String indexString = TextUtils.isEmpty(parts[0]) in createCity() 158 ? name.substring(0, 1) : parts[0]; in createCity() 159 final String phoneticName = parts.length == 3 ? parts[2] : name; in createCity()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
D | Utility.java | 31 public static String combine(Object[] parts, char separator) { in combine() argument 32 if (parts == null) { in combine() 36 for (int i = 0; i < parts.length; i++) { in combine() 37 sb.append(parts[i].toString()); in combine() 38 if (i < parts.length - 1) { in combine()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DetailsAddressResolver.java | 86 String parts[] = { in updateLocation() local 99 for (int i = 0; i < parts.length; i++) { in updateLocation() 100 if (parts[i] == null || parts[i].isEmpty()) continue; in updateLocation() 104 addressText += parts[i]; in updateLocation()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 180 String[] parts = id.split(":"); in findImages() local 181 if (parts.length > 2) { in findImages() 184 albumIds.add(parts[1]); in findImages() 283 String[] parts = id.split(":"); in resolveAlbumIds() local 284 if (parts.length < 3) { in resolveAlbumIds() 291 String selection = (PICASA_ALBUM_USER + " = '" + parts[2] + "' AND " + in resolveAlbumIds() 292 PICASA_ALBUM_TYPE + " = '" + parts[1] + "'"); in resolveAlbumIds()
|
D | LocalSource.java | 196 String[] parts = id.split(":"); in findImages() local 197 if (parts.length > 1) { in findImages() 201 selection += MediaStore.Images.Media.BUCKET_ID + " = '" + parts[1] + "'"; in findImages()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageData.java | 282 final List<MessagePartData> parts = new LinkedList<MessagePartData>(); 284 parts.add(makePartData( 294 parts, 304 return parts; 309 final List<MessagePartData> parts, 327 parts.add(makePartData( 337 if (parts.size() != partsCount) { 338 LogUtil.wtf(TAG, "Only unpacked " + parts.size() + " parts from message (id="
|
D | MessageData.java | 910 public static String toString(String messageId, List<MessagePartData> parts) { in toString() argument 916 for (MessagePartData part : parts) { in toString()
|
/packages/services/Car/tools/ |
D | update-obd2-sensors.py | 59 parts = string.split('\n') 60 parts = [indent + part for part in parts] 61 return '\n'.join(parts) + "\n"
|
/packages/apps/Protips/src/com/android/protips/ |
D | ProtipWidget.java | 212 String[] parts = sNewlineRegex.split(mTips[mMessage], 2); in buildUpdate() local 213 String title = parts[0]; in buildUpdate() 214 String text = parts.length > 1 ? parts[1] : ""; in buildUpdate()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/ |
D | SwipeDetectorTest.java | 43 public static void L(String s, Object... parts) { in L() argument 44 Log.d(TAG, (parts.length == 0) ? s : String.format(s, parts)); in L()
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 647 parts = line.split(None, 2) 648 if len(parts) < 2 or parts[1] not in "+-=": 652 name, op = parts[:2] 666 current_state[name] = "".join(parts[2:]).strip()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsUtil.java | 409 String[] parts = sizeSettingString.split(SIZE_SETTING_STRING_DIMENSION_DELIMITER); in sizeFromSettingString() local 410 if (parts.length != 2) { in sizeFromSettingString() 415 int width = Integer.parseInt(parts[0]); in sizeFromSettingString() 416 int height = Integer.parseInt(parts[1]); in sizeFromSettingString()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 108 public static String combine(Object[] parts, char separator) { in combine() argument 109 if (parts == null) { in combine() 113 for (int i = 0; i < parts.length; i++) { in combine() 114 sb.append(parts[i].toString()); in combine() 115 if (i < parts.length - 1) { in combine()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 377 PduPart[] parts = null; in loadParts() local 389 parts = new PduPart[partCount]; in loadParts() 488 parts[partIdx++] = part; in loadParts() 496 return parts; in loadParts() 711 final PduPart[] parts = loadParts(msgId); in loadBody() local 712 if (parts != null) { in loadBody() 713 final int partsNum = parts.length; in loadBody() 715 body.addPart(parts[i]); in loadBody()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 196 String[] parts = unfold(header).split(";"); in getHeaderParameter() local 198 return parts[0].trim(); in getHeaderParameter() 201 for (String part : parts) { in getHeaderParameter()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeUtility.java | 186 String[] parts = unfold(header).split(";"); in getHeaderParameter() local 188 return parts[0].trim(); in getHeaderParameter() 191 for (String part : parts) { in getHeaderParameter()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 325 final String[] parts = uri.getSchemeSpecificPart().split("\\?"); in parseRecipientsFromSmsMmsUri() local 326 if (TextUtils.isEmpty(parts[0])) { in parseRecipientsFromSmsMmsUri() 331 return TextUtil.replaceUnicodeDigits(parts[0]).replace(';', ',').split(","); in parseRecipientsFromSmsMmsUri()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialog.java | 388 String[] parts = address.split("/", 2); in validateAddresses() local 389 address = parts[0]; in validateAddresses() 390 prefixLength = Integer.parseInt(parts[1]); in validateAddresses()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | Pop3Store.java | 242 String[] parts = response.split(" "); in open() local 243 if (parts.length < 2) { in open() 246 mMessageCount = Integer.parseInt(parts[1]); in open()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | TestDataFactory.java | 159 final List<MessagePartData> parts = ConversationMessageData.makeParts( in getMessageText() local 169 for (final MessagePartData part : parts) { in getMessageText()
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetService.java | 445 private SpannableStringBuilder elideParticipants(List<SpannableString> parts) { 457 for (SpannableString sender : parts) {
|