/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | code_generator.cc | 67 vector<string> parts = Split(text, ",", true); in ParseGeneratorParameter() local 69 for (int i = 0; i < parts.size(); i++) { in ParseGeneratorParameter() 70 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter() 73 value.first = parts[i]; in ParseGeneratorParameter() 76 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter() 77 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_generator.cc | 119 vector<string> parts; in Generate() local 120 SplitStringUsing(option_value, "|", &parts); in Generate() 121 if (parts.size() != 2) { in Generate() 126 params.set_java_package(parts[0], parts[1]); in Generate() 128 vector<string> parts; in Generate() local 129 SplitStringUsing(option_value, "|", &parts); in Generate() 130 if (parts.size() != 2) { in Generate() 136 params.set_java_outer_classname(parts[0], parts[1]); in Generate()
|
/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 | 2169 ArrayList<String> parts = new ArrayList<String>(); in resourceQualifierString() local 2172 parts.add("mcc" + config.mcc); in resourceQualifierString() 2174 parts.add("mnc" + config.mnc); in resourceQualifierString() 2181 parts.add(resourceQualifier); in resourceQualifierString() 2187 parts.add("ldltr"); in resourceQualifierString() 2190 parts.add("ldrtl"); in resourceQualifierString() 2197 parts.add("sw" + config.smallestScreenWidthDp + "dp"); in resourceQualifierString() 2201 parts.add("w" + config.screenWidthDp + "dp"); in resourceQualifierString() 2205 parts.add("h" + config.screenHeightDp + "dp"); in resourceQualifierString() 2210 parts.add("small"); in resourceQualifierString() [all …]
|
/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/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/base/core/java/android/net/ |
D | MacAddress.java | 225 String[] parts = addr.split(":"); in byteAddrFromStringAddr() local 226 if (parts.length != ETHER_ADDR_LEN) { in byteAddrFromStringAddr() 231 int x = Integer.valueOf(parts[i], 16); in byteAddrFromStringAddr() 286 String[] parts = addr.split(":"); in longAddrFromStringAddr() local 287 if (parts.length != ETHER_ADDR_LEN) { in longAddrFromStringAddr() 291 for (int i = 0; i < parts.length; i++) { in longAddrFromStringAddr() 292 int x = Integer.valueOf(parts[i], 16); in longAddrFromStringAddr()
|
/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/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskTree.java | 102 String[] parts = path.split(FIELD_PATH_SEPARATOR_REGEX); in addFieldPath() local 103 if (parts.length == 0) { in addFieldPath() 109 for (String part : parts) { in addFieldPath() 172 String[] parts = path.split(FIELD_PATH_SEPARATOR_REGEX); in intersectFieldPath() local 173 if (parts.length == 0) { in intersectFieldPath() 177 for (String part : parts) { in intersectFieldPath()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccSmsInterfaceManager.java | 623 List<String> parts, List<PendingIntent> sentIntents, in sendMultipartText() argument 625 sendMultipartTextWithOptions(callingPackage, destAddr, scAddr, parts, sentIntents, in sendMultipartText() 679 String scAddr, List<String> parts, List<PendingIntent> sentIntents, in sendMultipartTextWithOptions() argument 689 for (String part : parts) { in sendMultipartTextWithOptions() 697 if (parts.size() > 1 && parts.size() < 10 && !SmsMessage.hasEmsSupport()) { in sendMultipartTextWithOptions() 698 for (int i = 0; i < parts.size(); i++) { in sendMultipartTextWithOptions() 701 String singlePart = parts.get(i); in sendMultipartTextWithOptions() 703 singlePart = String.valueOf(i + 1) + '/' + parts.size() + ' ' + singlePart; in sendMultipartTextWithOptions() 706 + parts.size()); in sendMultipartTextWithOptions() 729 (ArrayList<String>) parts, in sendMultipartTextWithOptions() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | field_mask_util.cc | 133 vector<string> parts = Split(path, "."); in InternalIsValidPath() local 134 for (int i = 0; i < parts.size(); ++i) { in InternalIsValidPath() 135 const string& field_name = parts[i]; in InternalIsValidPath() 285 vector<string> parts = Split(path, "."); in AddPath() local 286 if (parts.empty()) { in AddPath() 291 for (int i = 0; i < parts.size(); ++i) { in AddPath() 298 const string& node_name = parts[i]; in AddPath() 312 vector<string> parts = Split(path, "."); in IntersectPath() local 313 if (parts.empty()) { in IntersectPath() 317 for (int i = 0; i < parts.size(); ++i) { in IntersectPath() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 789 String destinationAddress, String scAddress, ArrayList<String> parts, in sendMultipartTextMessage() argument 791 sendMultipartTextMessageInternal(destinationAddress, scAddress, parts, sentIntents, in sendMultipartTextMessage() 814 String destinationAddress, String scAddress, ArrayList<String> parts, in sendMultipartTextMessageExternal() argument 817 sendMultipartTextMessageInternal(destinationAddress, scAddress, parts, sentIntents, in sendMultipartTextMessageExternal() 824 String destinationAddress, String scAddress, List<String> parts, in sendMultipartTextMessageInternal() argument 830 if (parts == null || parts.size() < 1) { in sendMultipartTextMessageInternal() 834 if (parts.size() > 1) { in sendMultipartTextMessageInternal() 853 destinationAddress, scAddress, parts, sentIntents, in sendMultipartTextMessageInternal() 873 destinationAddress, scAddress, parts, sentIntents, deliveryIntents, in sendMultipartTextMessageInternal() local 891 sendTextMessageInternal(destinationAddress, scAddress, parts.get(0), in sendMultipartTextMessageInternal() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsMessageBase.java | 376 String[] parts = mMessageBody.split("( /)|( )", 2); in extractEmailAddressFromMessageBody() local 377 if (parts.length < 2) return; in extractEmailAddressFromMessageBody() 378 mEmailFrom = parts[0]; in extractEmailAddressFromMessageBody() 379 mEmailBody = parts[1]; in extractEmailAddressFromMessageBody()
|
/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/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/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()
|