Searched defs:parts (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/tools/aapt/
H A DAaptUtil.cpp25 Vector<String8> parts; local
32 parts.add(String8(p, strlen(p)));
33 return parts;
36 parts.add(String8(p, q-p));
39 return parts;
43 Vector<String8> parts; local
52 parts.add(val);
53 return parts;
58 parts.add(val);
61 return parts;
[all...]
H A DZipEntry.cpp322 struct tm parts; local
324 parts.tm_sec = (mCDE.mLastModFileTime & 0x001f) << 1;
325 parts.tm_min = (mCDE.mLastModFileTime & 0x07e0) >> 5;
326 parts.tm_hour = (mCDE.mLastModFileTime & 0xf800) >> 11;
327 parts.tm_mday = (mCDE.mLastModFileDate & 0x001f);
328 parts.tm_mon = ((mCDE.mLastModFileDate & 0x01e0) >> 5) -1;
329 parts.tm_year = ((mCDE.mLastModFileDate & 0xfe00) >> 9) + 80;
330 parts.tm_wday = parts.tm_yday = 0;
331 parts
[all...]
H A DAaptConfig.cpp35 Vector<String8> parts = AaptUtil::splitAndLowerCase(str, '-'); local
41 const ssize_t N = parts.size();
42 const char* part = parts[index].string();
53 part = parts[index].string();
61 part = parts[index].string();
66 localeIndex = locale.initFromDirName(parts, index);
75 part = parts[index].string();
83 part = parts[index].string();
91 part = parts[index].string();
99 part = parts[inde
234 Vector<String8> parts = AaptUtil::splitAndLowerCase(str, ','); local
[all...]
H A DAaptAssets.cpp215 Vector<String8> parts = AaptUtil::splitAndLowerCase(str, '_'); local
217 const int numTags = parts.size();
220 const String8& lang = parts[0];
232 const String8& part2 = parts[1];
249 const String8& part3 = parts[2];
263 const String8& part4 = parts[3];
277 int AaptLocaleValue::initFromDirName(const Vector<String8>& parts, const int startIndex) { argument
278 const int size = parts.size();
281 String8 part = parts[currentIndex];
361 part = parts[currentInde
[all...]
/frameworks/base/tools/aapt2/
H A DLocale_test.cpp26 std::vector<std::string> parts = util::splitAndLowercase(std::string(input), '-'); local
28 ssize_t count = lv.initFromParts(std::begin(parts), std::end(parts));
35 << " parts were consumed parsing '" << input << "' but expected 1.";
48 std::vector<std::string> parts = util::splitAndLowercase(std::string(input), '-'); local
50 ssize_t count = lv.initFromParts(std::begin(parts), std::end(parts));
57 << " parts were consumed parsing '" << input << "' but expected 2.";
H A DLocale.cpp76 std::vector<std::string> parts = util::splitAndLowercase(str, '_'); local
78 const int numTags = parts.size();
81 const std::string& lang = parts[0];
93 const std::string& part2 = parts[1];
110 const std::string& part3 = parts[2];
124 const std::string& part4 = parts[3];
H A DConfigDescription.cpp581 std::vector<std::string> parts = util::splitAndLowercase(str, '-'); local
587 const auto partsEnd = parts.end();
588 auto partIter = parts.begin();
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DIconTest.java39 public static void L(String s, Object... parts) { argument
40 Log.d(TAG, (parts.length == 0) ? s : String.format(s, parts));
/frameworks/base/tools/split-select/
H A DSplitDescription.cpp85 ssize_t parseAbi(const Vector<String8>& parts, const ssize_t index, argument
87 const ssize_t N = parts.size();
90 if (parts[endIndex] == "arm64") {
93 if (parts[endIndex] == "v8a") {
98 } else if (parts[endIndex] == "armeabi") {
102 if (parts[endIndex] == "v7a") {
107 } else if (parts[endIndex] == "x86") {
110 } else if (parts[endIndex] == "x86_64") {
113 } else if (parts[endIndex] == "mips") {
116 } else if (parts[endInde
148 Vector<String8> parts = AaptUtil::splitAndLowerCase(extensionStr, '-'); local
[all...]
H A DMain.cpp229 Vector<String8> parts = AaptUtil::splitAndLowerCase(dir->getFileName(i), '-'); local
230 if (parseAbi(parts, 0, &splits.editTop()) < 0) {
/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsManager.java99 * divided the message into correctly sized parts by calling
105 * @param parts an <code>ArrayList</code> of strings that, in order,
129 String destinationAddress, String scAddress, ArrayList<String> parts,
131 mSmsMgrProxy.sendMultipartTextMessage(destinationAddress, scAddress, parts,
128 sendMultipartTextMessage( String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) argument
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h84 Vector<Part> parts; member in struct:android::BootAnimation::Animation
/frameworks/base/core/java/android/service/carrier/
H A DCarrierMessagingService.java245 * @param parts a {@link List} of the message parts
251 public void onSendMultipartTextSms(@NonNull List<String> parts, argument
265 * @param parts a {@link List} of the message parts
272 public void onSendMultipartTextSms(@NonNull List<String> parts, argument
276 onSendMultipartTextSms(parts, subId, destAddress, callback);
501 public void sendMultipartTextSms(List<String> parts, int subId, String destAddress, argument
503 onSendMultipartTextSms(parts, subId, destAddress, sendSmsFlag,
/frameworks/base/tools/aapt2/util/
H A DUtil.cpp33 std::vector<std::string> parts; local
39 parts.emplace_back(str.substr(start, current).toString());
41 std::string& part = parts.back();
46 return parts;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DImsSMSDispatcher.java172 ArrayList<String> parts, ArrayList<PendingIntent> sentIntents,
177 parts, sentIntents, deliveryIntents, messageUri, callingPkg, persistMessage);
180 parts, sentIntents, deliveryIntents, messageUri, callingPkg, persistMessage);
171 sendMultipartText(String destAddr, String scAddr, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, boolean persistMessage) argument
H A DUiccSmsController.java159 List<String> parts, List<PendingIntent> sentIntents,
162 scAddr, parts, sentIntents, deliveryIntents,
168 String scAddr, List<String> parts, List<PendingIntent> sentIntents,
173 iccSmsIntMgr.sendMultipartText(callingPackage, destAddr, scAddr, parts, sentIntents,
158 sendMultipartText(String callingPackage, String destAddr, String scAddr, List<String> parts, List<PendingIntent> sentIntents, List<PendingIntent> deliveryIntents) argument
167 sendMultipartTextForSubscriber(int subId, String callingPackage, String destAddr, String scAddr, List<String> parts, List<PendingIntent> sentIntents, List<PendingIntent> deliveryIntents, boolean persistMessageForNonDefaultSmsApp) argument
H A DIccSmsInterfaceManager.java482 * @param parts an <code>ArrayList</code> of strings that, in order,
503 List<String> parts, List<PendingIntent> sentIntents,
514 for (String part : parts) {
526 if (parts.size() > 1 && parts.size() < 10 && !SmsMessage.hasEmsSupport()) {
527 for (int i = 0; i < parts.size(); i++) {
530 String singlePart = parts.get(i);
532 singlePart = String.valueOf(i + 1) + '/' + parts.size() + ' ' + singlePart;
534 singlePart = singlePart.concat(' ' + String.valueOf(i + 1) + '/' + parts.size());
555 mDispatcher.sendMultipartText(destAddr, scAddr, (ArrayList<String>) parts,
502 sendMultipartText(String callingPackage, String destAddr, String scAddr, List<String> parts, List<PendingIntent> sentIntents, List<PendingIntent> deliveryIntents, boolean persistMessageForNonDefaultSmsApp) argument
[all...]
H A DSMSDispatcher.java515 MultipartSmsSender(ArrayList<String> parts, SmsTracker[] trackers) { argument
516 mParts = parts;
810 * @param parts an <code>ArrayList</code> of strings that, in order,
834 ArrayList<String> parts, ArrayList<PendingIntent> sentIntents,
837 final String fullMessageText = getMultipartMessageText(parts);
839 int msgCount = parts.size();
844 TextEncodingDetails details = calculateLength(parts.get(i), false);
855 // States to track at the message level (for all parts)
865 // send more than 255 parts (it converts the message to MMS well before that).
891 getNewSubmitPduTracker(destAddr, scAddr, parts
833 sendMultipartText(String destAddr, String scAddr, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, boolean persistMessage) argument
1713 getMultipartMessageText(ArrayList<String> parts) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DCompile.cpp63 std::vector<std::string> parts = util::split(path, file::sDirSep); local
64 if (parts.size() < 2) {
69 std::string& dir = parts[parts.size() - 2];
88 std::string& filename = parts[parts.size() - 1];
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java72 private ArrayList<Part> parts; field in class:AbstractMessageParser
104 this.parts = new ArrayList<Part>();
118 /** Return the number of parts. */
119 public final int getPartCount() { return parts.size(); }
122 public final Part getPart(int index) { return parts.get(index); }
124 /** Return the list of parts from the parsed text */
125 public final List<Part> getParts() { return parts; }
229 * Builds the parts list.
236 if (token.isMedia() || (parts.size() == 0) || lastPart().isMedia()) {
237 parts
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsManager.java180 * When the number of parts of a multipart SMS reaches this threshold, it should be converted
415 * divided the message into correctly sized parts by calling
430 * @param parts an <code>ArrayList</code> of strings that, in order,
455 String destinationAddress, String scAddress, ArrayList<String> parts,
457 sendMultipartTextMessageInternal(destinationAddress, scAddress, parts,
462 String destinationAddress, String scAddress, ArrayList<String> parts,
468 if (parts == null || parts.size() < 1) {
472 if (parts.size() > 1) {
477 destinationAddress, scAddress, parts,
454 sendMultipartTextMessage( String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) argument
461 sendMultipartTextMessageInternal( String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents, boolean persistMessageForCarrierApp) argument
504 sendMultipartTextMessageWithoutPersisting( String destinationAddress, String scAddress, ArrayList<String> parts, ArrayList<PendingIntent> sentIntents, ArrayList<PendingIntent> deliveryIntents) argument
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java913 List<String> parts = new ArrayList<String>();
915 parts.add(statusClause("=", Downloads.Impl.STATUS_PENDING));
918 parts.add(statusClause("=", Downloads.Impl.STATUS_RUNNING));
921 parts.add(statusClause("=", Downloads.Impl.STATUS_PAUSED_BY_APP));
922 parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_TO_RETRY));
923 parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_FOR_NETWORK));
924 parts.add(statusClause("=", Downloads.Impl.STATUS_QUEUED_FOR_WIFI));
927 parts.add(statusClause("=", Downloads.Impl.STATUS_SUCCESS));
930 parts.add("(" + statusClause(">=", 400)
933 selectionParts.add(joinStrings(" OR ", parts));
950 joinStrings(String joiner, Iterable<String> parts) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 458 milliseconds