/frameworks/base/tools/aapt/ |
D | AaptUtil.cpp | 25 Vector<String8> parts; in split() local 32 parts.add(String8(p, strlen(p))); in split() 33 return parts; in split() 36 parts.add(String8(p, q-p)); in split() 39 return parts; in split() 43 Vector<String8> parts; in splitAndLowerCase() local 52 parts.add(val); in splitAndLowerCase() 53 return parts; in splitAndLowerCase() 58 parts.add(val); in splitAndLowerCase() 61 return parts; in splitAndLowerCase()
|
D | AaptConfig.cpp | 35 Vector<String8> parts = AaptUtil::splitAndLowerCase(str, '-'); in parse() local 41 const ssize_t N = parts.size(); in parse() 42 const char* part = parts[index].string(); in parse() 53 part = parts[index].string(); in parse() 61 part = parts[index].string(); in parse() 66 localeIndex = locale.initFromDirName(parts, index); in parse() 75 part = parts[index].string(); in parse() 83 part = parts[index].string(); in parse() 91 part = parts[index].string(); in parse() 99 part = parts[index].string(); in parse() [all …]
|
D | ZipEntry.cpp | 323 struct tm parts; in getModWhen() local 325 parts.tm_sec = (mCDE.mLastModFileTime & 0x001f) << 1; in getModWhen() 326 parts.tm_min = (mCDE.mLastModFileTime & 0x07e0) >> 5; in getModWhen() 327 parts.tm_hour = (mCDE.mLastModFileTime & 0xf800) >> 11; in getModWhen() 328 parts.tm_mday = (mCDE.mLastModFileDate & 0x001f); in getModWhen() 329 parts.tm_mon = ((mCDE.mLastModFileDate & 0x01e0) >> 5) -1; in getModWhen() 330 parts.tm_year = ((mCDE.mLastModFileDate & 0xfe00) >> 9) + 80; in getModWhen() 331 parts.tm_wday = parts.tm_yday = 0; in getModWhen() 332 parts.tm_isdst = -1; // DST info "not available" in getModWhen() 334 return mktime(&parts); in getModWhen()
|
/frameworks/base/tools/split-select/ |
D | SplitDescription.cpp | 85 ssize_t parseAbi(const Vector<String8>& parts, const ssize_t index, in parseAbi() argument 87 const ssize_t N = parts.size(); in parseAbi() 90 if (parts[endIndex] == "arm64") { in parseAbi() 93 if (parts[endIndex] == "v8a") { in parseAbi() 98 } else if (parts[endIndex] == "armeabi") { in parseAbi() 102 if (parts[endIndex] == "v7a") { in parseAbi() 107 } else if (parts[endIndex] == "x86") { in parseAbi() 110 } else if (parts[endIndex] == "x86_64") { in parseAbi() 113 } else if (parts[endIndex] == "mips") { in parseAbi() 116 } else if (parts[endIndex] == "mips64") { in parseAbi() [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/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | TTSListValidator.java | 38 String[] parts = item.split(":"); in isItemValid() local 40 return ((parts.length == 2) in isItemValid() 41 && (parts[0].length() > 0) in isItemValid() 42 && ANY_STRING_VALIDATOR.validate(parts[0]) in isItemValid() 43 && LOCALE_VALIDATOR.validate(parts[1].replace('-', '_'))); in isItemValid()
|
/frameworks/base/tools/localedata/ |
D | extract_icu_data.py | 28 parts = locale.split('_') 29 if len(parts) == 1: 30 return (parts[0], None, None) 31 elif len(parts) == 2: 32 if len(parts[1]) == 4: # parts[1] is a script 33 return (parts[0], parts[1], None) 35 return (parts[0], None, parts[1]) 37 assert len(parts) == 3 38 return tuple(parts)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecMessageBuilderTest.java | 69 String[] parts = message.split(":"); in buildMessage() local 70 int src = Integer.parseInt(parts[0].substring(0, 1), 16); in buildMessage() 71 int dest = Integer.parseInt(parts[0].substring(1, 2), 16); in buildMessage() 72 int opcode = Integer.parseInt(parts[1], 16); in buildMessage() 73 byte[] params = new byte[parts.length - 2]; in buildMessage() 75 params[i] = Byte.parseByte(parts[i + 2], 16); in buildMessage()
|
/frameworks/base/libs/androidfw/tests/ |
D | Locale_test.cpp | 28 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); in TestLanguage() local 30 ssize_t count = lv.InitFromParts(std::begin(parts), std::end(parts)); in TestLanguage() 55 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); in TestLanguageRegion() local 57 ssize_t count = lv.InitFromParts(std::begin(parts), std::end(parts)); in TestLanguageRegion()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 2287 ArrayList<String> parts = new ArrayList<String>(); in resourceQualifierString() local 2290 parts.add("mcc" + config.mcc); in resourceQualifierString() 2292 parts.add("mnc" + config.mnc); in resourceQualifierString() 2299 parts.add(resourceQualifier); in resourceQualifierString() 2305 parts.add("ldltr"); in resourceQualifierString() 2308 parts.add("ldrtl"); in resourceQualifierString() 2315 parts.add("sw" + config.smallestScreenWidthDp + "dp"); in resourceQualifierString() 2319 parts.add("w" + config.screenWidthDp + "dp"); in resourceQualifierString() 2323 parts.add("h" + config.screenHeightDp + "dp"); in resourceQualifierString() 2328 parts.add("small"); in resourceQualifierString() [all …]
|
/frameworks/base/core/java/android/net/ |
D | MacAddress.java | 232 String[] parts = addr.split(":"); in byteAddrFromStringAddr() local 233 if (parts.length != ETHER_ADDR_LEN) { in byteAddrFromStringAddr() 238 int x = Integer.valueOf(parts[i], 16); in byteAddrFromStringAddr() 278 String[] parts = addr.split(":"); in longAddrFromStringAddr() local 279 if (parts.length != ETHER_ADDR_LEN) { in longAddrFromStringAddr() 283 for (int i = 0; i < parts.length; i++) { in longAddrFromStringAddr() 284 int x = Integer.valueOf(parts[i], 16); in longAddrFromStringAddr()
|
/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/base/libs/androidfw/ |
D | Util.cpp | 73 std::vector<std::string> parts; in SplitAndTransform() local 79 parts.emplace_back(str.substr(start, current).to_string()); in SplitAndTransform() 81 std::string& part = parts.back(); in SplitAndTransform() 86 return parts; in SplitAndTransform()
|
D | Locale.cpp | 79 std::vector<std::string> parts = util::SplitAndLowercase(str, '_'); in InitFromFilterString() local 81 const int num_tags = parts.size(); in InitFromFilterString() 84 const std::string& lang = parts[0]; in InitFromFilterString() 96 const std::string& part2 = parts[1]; in InitFromFilterString() 113 const std::string& part3 = parts[2]; in InitFromFilterString() 128 const std::string& part4 = parts[3]; in InitFromFilterString()
|
/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/telephony/java/android/telephony/ |
D | SmsManager.java | 937 String destinationAddress, String scAddress, ArrayList<String> parts, in sendMultipartTextMessage() argument 939 sendMultipartTextMessageInternal(destinationAddress, scAddress, parts, sentIntents, in sendMultipartTextMessage() 955 @NonNull List<String> parts, @Nullable List<PendingIntent> sentIntents, in sendMultipartTextMessage() argument 957 sendMultipartTextMessageInternal(destinationAddress, scAddress, parts, sentIntents, in sendMultipartTextMessage() 981 @NonNull List<String> parts, @Nullable List<PendingIntent> sentIntents, in sendMultipartTextMessage() argument 984 sendMultipartTextMessageInternal(destinationAddress, scAddress, parts, sentIntents, in sendMultipartTextMessage() 990 String destinationAddress, String scAddress, List<String> parts, in sendMultipartTextMessageInternal() argument 997 if (parts == null || parts.size() < 1) { in sendMultipartTextMessageInternal() 1001 if (parts.size() > 1) { in sendMultipartTextMessageInternal() 1019 destinationAddress, scAddress, parts, sentIntents, in sendMultipartTextMessageInternal() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsUserLifecycleTests.java | 125 final String[] parts = line.trim().split(","); in getNumberOfUidsInBatteryStats() local 126 if (parts.length < 5 || in getNumberOfUidsInBatteryStats() 127 (!parts[3].equals(CPU_DATA_TAG) && !parts[3].equals(CPU_FREQ_DATA_TAG))) { in getNumberOfUidsInBatteryStats() 131 final int uid = Integer.parseInt(parts[1]); in getNumberOfUidsInBatteryStats()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccSmsInterfaceManager.java | 697 String destAddr, String scAddr, List<String> parts, List<PendingIntent> sentIntents, in sendMultipartText() argument 700 sendMultipartTextWithOptions(callingPackage, callingAttributionTag, destAddr, scAddr, parts, in sendMultipartText() 757 String destAddr, String scAddr, List<String> parts, List<PendingIntent> sentIntents, in sendMultipartTextWithOptions() argument 767 for (String part : parts) { in sendMultipartTextWithOptions() 776 if (parts.size() > 1 && parts.size() < 10 && !SmsMessage.hasEmsSupport()) { in sendMultipartTextWithOptions() 777 for (int i = 0; i < parts.size(); i++) { in sendMultipartTextWithOptions() 780 String singlePart = parts.get(i); in sendMultipartTextWithOptions() 782 singlePart = String.valueOf(i + 1) + '/' + parts.size() + ' ' + singlePart; in sendMultipartTextWithOptions() 785 + parts.size()); in sendMultipartTextWithOptions() 808 (ArrayList<String>) parts, in sendMultipartTextWithOptions() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | KeyValueListParser.java | 170 String[] parts = value.split(":"); in getIntArray() local 171 if (parts.length > 0) { in getIntArray() 172 int[] ret = new int[parts.length]; in getIntArray() 173 for (int i = 0; i < parts.length; i++) { in getIntArray() 174 ret[i] = Integer.parseInt(parts[i]); in getIntArray()
|
/frameworks/base/tests/SystemMemoryTest/ |
D | README.txt | 6 - those parts of the test that run on device. 9 - those parts of the test that run on host.
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 169 String[] parts = value.split(":"); in getIntArray() local 170 if (parts.length > 0) { in getIntArray() 171 int[] ret = new int[parts.length]; in getIntArray() 172 for (int i = 0; i < parts.length; i++) { in getIntArray() 173 ret[i] = Integer.parseInt(parts[i]); in getIntArray()
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierMessagingService.java | 251 public void onSendMultipartTextSms(@NonNull List<String> parts, in onSendMultipartTextSms() argument 272 public void onSendMultipartTextSms(@NonNull List<String> parts, in onSendMultipartTextSms() argument 276 onSendMultipartTextSms(parts, subId, destAddress, callback); in onSendMultipartTextSms() 501 public void sendMultipartTextSms(List<String> parts, int subId, String destAddress, in sendMultipartTextSms() argument 503 onSendMultipartTextSms(parts, subId, destAddress, sendSmsFlag, in sendMultipartTextSms()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsMessageBase.java | 410 String[] parts = mMessageBody.split("( /)|( )", 2); in extractEmailAddressFromMessageBody() local 411 if (parts.length < 2) return; in extractEmailAddressFromMessageBody() 412 mEmailFrom = parts[0]; in extractEmailAddressFromMessageBody() 413 mEmailBody = parts[1]; in extractEmailAddressFromMessageBody()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 74 private ArrayList<Part> parts; field in AbstractMessageParser 106 this.parts = new ArrayList<Part>(); in AbstractMessageParser() 121 public final int getPartCount() { return parts.size(); } in getPartCount() 124 public final Part getPart(int index) { return parts.get(index); } in getPart() 127 public final List<Part> getParts() { return parts; } in getParts() 238 if (token.isMedia() || (parts.size() == 0) || lastPart().isMedia()) { in buildParts() 239 parts.add(new Part()); in buildParts() 245 if (parts.size() > 0) { in buildParts() 246 parts.get(0).setMeText(meText); in buildParts() 251 private Part lastPart() { return parts.get(parts.size() - 1); } in lastPart() [all …]
|
/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()
|