/frameworks/base/core/java/com/android/internal/http/multipart/ |
D | MultipartEntity.java | 118 protected Part[] parts; field in MultipartEntity 131 public MultipartEntity(Part[] parts, HttpParams params) { in MultipartEntity() argument 132 if (parts == null) { in MultipartEntity() 138 this.parts = parts; in MultipartEntity() 142 public MultipartEntity(Part[] parts) { in MultipartEntity() argument 144 if (parts == null) { in MultipartEntity() 147 this.parts = parts; in MultipartEntity() 179 for (int i = 0; i < parts.length; i++) { in isRepeatable() 180 if (!parts[i].isRepeatable()) { in isRepeatable() 190 Part.sendParts(out, parts, getMultipartBoundary()); in writeTo() [all …]
|
D | Part.java | 358 public static void sendParts(OutputStream out, final Part[] parts) in sendParts() argument 360 sendParts(out, parts, DEFAULT_BOUNDARY_BYTES); in sendParts() 374 public static void sendParts(OutputStream out, Part[] parts, byte[] partBoundary) in sendParts() argument 377 if (parts == null) { in sendParts() 383 for (int i = 0; i < parts.length; i++) { in sendParts() 385 parts[i].setPartBoundary(partBoundary); in sendParts() 386 parts[i].send(out); in sendParts() 402 public static long getLengthOfParts(Part[] parts) in getLengthOfParts() argument 404 return getLengthOfParts(parts, DEFAULT_BOUNDARY_BYTES); in getLengthOfParts() 418 public static long getLengthOfParts(Part[] parts, byte[] partBoundary) throws IOException { in getLengthOfParts() argument [all …]
|
/frameworks/base/tools/preload/ |
D | Record.java | 126 String[] parts = line.split(":"); in Record() local 128 ppid = Integer.parseInt(parts[0]); in Record() 129 pid = Integer.parseInt(parts[1]); in Record() 130 tid = Integer.parseInt(parts[2]); in Record() 132 processName = decode(parts[3]).intern(); in Record() 134 classLoader = Integer.parseInt(parts[4]); in Record() 135 className = vmTypeToLanguage(decode(parts[5])).intern(); in Record() 137 time = Long.parseLong(parts[6]); in Record()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsMessageBase.java | 342 String[] parts = mMessageBody.split("( /)|( )", 2); in extractEmailAddressFromMessageBody() local 343 if (parts.length < 2) return; in extractEmailAddressFromMessageBody() 344 mEmailFrom = parts[0]; in extractEmailAddressFromMessageBody() 345 mEmailBody = parts[1]; in extractEmailAddressFromMessageBody()
|
D | SMSDispatcher.java | 551 ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, in sendMultipartText() argument 555 int msgCount = parts.size(); in sendMultipartText() 562 TextEncodingDetails details = calculateLength(parts.get(i), false); in sendMultipartText() 602 sendNewSubmitPdu(destAddr, scAddr, parts.get(i), smsHeader, encoding, in sendMultipartText() 964 ArrayList<String> parts; in sendMultipartSms() local 973 parts = (ArrayList<String>) map.get("parts"); in sendMultipartSms() 981 for (int i = 0, count = parts.size(); i < count; i++) { in sendMultipartSms() 991 sendMultipartText(destinationAddress, scAddress, parts, sentIntents, deliveryIntents); in sendMultipartSms()
|
D | ImsSMSDispatcher.java | 173 ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, in sendMultipartText() argument 177 parts, sentIntents, deliveryIntents); in sendMultipartText() 180 parts, sentIntents, deliveryIntents); in sendMultipartText()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
D | MultipartTest.java | 45 Part[] parts = new Part[3]; in testParts() local 46 parts[0] = new StringPart("stringpart", "PART1!!"); in testParts() 47 parts[1] = new FilePart(upload.getName(), upload); in testParts() 48 parts[2] = new StringPart("stringpart", "PART2!!"); in testParts() 50 MultipartEntity me = new MultipartEntity(parts); in testParts()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SimpleSessionDescription.java | 92 String[] parts = line.substring(2).split(" ", 4); in SimpleSessionDescription() local 93 String[] ports = parts[1].split("/", 2); in SimpleSessionDescription() 94 Media media = newMedia(parts[0], Integer.parseInt(ports[0]), in SimpleSessionDescription() 96 parts[2]); in SimpleSessionDescription() 97 for (String format : parts[3].split(" ")) { in SimpleSessionDescription() 406 String[] parts = address.split(" "); in getAddress() local 407 if (parts.length != 3) { in getAddress() 410 int slash = parts[2].indexOf('/'); in getAddress() 411 return (slash < 0) ? parts[2] : parts[2].substring(0, slash); in getAddress()
|
/frameworks/base/tools/aapt/ |
D | ZipEntry.cpp | 340 struct tm parts; in getModWhen() local 342 parts.tm_sec = (mCDE.mLastModFileTime & 0x001f) << 1; in getModWhen() 343 parts.tm_min = (mCDE.mLastModFileTime & 0x07e0) >> 5; in getModWhen() 344 parts.tm_hour = (mCDE.mLastModFileTime & 0xf800) >> 11; in getModWhen() 345 parts.tm_mday = (mCDE.mLastModFileDate & 0x001f); in getModWhen() 346 parts.tm_mon = ((mCDE.mLastModFileDate & 0x01e0) >> 5) -1; in getModWhen() 347 parts.tm_year = ((mCDE.mLastModFileDate & 0xfe00) >> 9) + 80; in getModWhen() 348 parts.tm_wday = parts.tm_yday = 0; in getModWhen() 349 parts.tm_isdst = -1; // DST info "not available" in getModWhen() 351 return mktime(&parts); in getModWhen()
|
D | AaptAssets.cpp | 373 Vector<String8> parts; in initFromDirName() local 384 parts.add(val); in initFromDirName() 390 parts.add(val); in initFromDirName() 393 const int N = parts.size(); in initFromDirName() 395 String8 part = parts[index]; in initFromDirName() 407 part = parts[index]; in initFromDirName() 417 part = parts[index]; in initFromDirName() 430 part = parts[index]; in initFromDirName() 443 part = parts[index]; in initFromDirName() 459 part = parts[index]; in initFromDirName() [all …]
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsManager.java | 168 String destinationAddress, String scAddress, ArrayList<String> parts, in sendMultipartTextMessage() argument 173 if (parts == null || parts.size() < 1) { in sendMultipartTextMessage() 177 if (parts.size() > 1) { in sendMultipartTextMessage() 182 destinationAddress, scAddress, parts, in sendMultipartTextMessage() local 197 sendTextMessage(destinationAddress, scAddress, parts.get(0), in sendMultipartTextMessage()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 856 List<String> parts = new ArrayList<String>(); in runQuery() local 858 parts.add(statusClause("=", Downloads.Impl.STATUS_PENDING)); in runQuery() 861 parts.add(statusClause("=", Downloads.Impl.STATUS_RUNNING)); in runQuery() 864 parts.add(statusClause("=", Downloads.Impl.STATUS_PAUSED_BY_APP)); in runQuery() 865 parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_TO_RETRY)); in runQuery() 866 parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_FOR_NETWORK)); in runQuery() 867 parts.add(statusClause("=", Downloads.Impl.STATUS_QUEUED_FOR_WIFI)); in runQuery() 870 parts.add(statusClause("=", Downloads.Impl.STATUS_SUCCESS)); in runQuery() 873 parts.add("(" + statusClause(">=", 400) in runQuery() 876 selectionParts.add(joinStrings(" OR ", parts)); in runQuery() [all …]
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 146 String[] parts = pair.split("\\^"); in parseArgs() local 147 if (parts.length != 2) { in parseArgs() 152 mNameToResultKey.put(parts[0], parts[1]); in parseArgs() 153 mNameToLaunchTime.put(parts[0], 0L); in parseArgs()
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
D | SmsManager.java | 129 String destinationAddress, String scAddress, ArrayList<String> parts, in sendMultipartTextMessage() argument 131 mSmsMgrProxy.sendMultipartTextMessage(destinationAddress, scAddress, parts, in sendMultipartTextMessage()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 72 private ArrayList<Part> parts; field in AbstractMessageParser 104 this.parts = new ArrayList<Part>(); in AbstractMessageParser() 119 public final int getPartCount() { return parts.size(); } in getPartCount() 122 public final Part getPart(int index) { return parts.get(index); } in getPart() 125 public final List<Part> getParts() { return parts; } in getParts() 236 if (token.isMedia() || (parts.size() == 0) || lastPart().isMedia()) { in buildParts() 237 parts.add(new Part()); in buildParts() 243 if (parts.size() > 0) { in buildParts() 244 parts.get(0).setMeText(meText); in buildParts() 249 private Part lastPart() { return parts.get(parts.size() - 1); } in lastPart() [all …]
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 393 String [] parts = rationalString.split(","); in convertRationalLatLonToFloat() local 396 pair = parts[0].split("/"); in convertRationalLatLonToFloat() 400 pair = parts[1].split("/"); in convertRationalLatLonToFloat() 404 pair = parts[2].split("/"); in convertRationalLatLonToFloat()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 100 String[] parts = pair.split("\\^"); in parseArgs() local 101 if (parts.length != 2) { in parseArgs() 106 mNameToResultKey.put(parts[0], parts[1]); in parseArgs()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | RouteInfoTest.java | 36 String[] parts = prefix.split("/"); in Prefix() local 37 return new LinkAddress(Address(parts[0]), Integer.parseInt(parts[1])); in Prefix()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | BandwidthTestUtil.java | 138 Part[] parts = { in postFileToServer() local 143 MultipartEntity reqEntity = new MultipartEntity(parts, postRequest.getParams()); in postFileToServer()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 433 animation.parts.add(part); in movie() 440 const size_t pcount = animation.parts.size(); in movie() 450 if (path == animation.parts[j].path) { in movie() 460 Animation::Part& part(animation.parts.editItemAt(j)); in movie() 498 const Animation::Part& part(animation.parts[i]); in movie()
|
D | BootAnimation.h | 78 Vector<Part> parts; member
|
/frameworks/base/libs/usb/tests/AccessoryChat/ |
D | README.txt | 1 This is a test app for the USB accessory APIs. It consists of two parts:
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISms.aidl | 144 in List<String> parts, in List<PendingIntent> sentIntents, in sendMultipartText() argument
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | EventRecurrence.java | 594 String[] parts; in parse() local 596 parts = recur.toUpperCase().split(";"); in parse() 598 parts = recur.split(";"); in parse() 600 for (String part : parts) { in parse()
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
D | PduPersister.java | 361 PduPart[] parts = null; in loadParts() local 373 parts = new PduPart[partCount]; in loadParts() 470 parts[partIdx++] = part; in loadParts() 478 return parts; in loadParts() 609 PduPart[] parts = loadParts(msgId); in load() local 610 if (parts != null) { in load() 611 int partsNum = parts.length; in load() 613 body.addPart(parts[i]); in load()
|