/frameworks/base/core/java/android/net/ |
D | PacProxySelector.java | 100 String trimmed = s.trim(); in parseResponse() local 101 if (trimmed.equals("DIRECT")) { in parseResponse() 103 } else if (trimmed.startsWith(PROXY)) { in parseResponse() 104 Proxy proxy = proxyFromHostPort(Type.HTTP, trimmed.substring(PROXY.length())); in parseResponse() 108 } else if (trimmed.startsWith(SOCKS)) { in parseResponse() 109 Proxy proxy = proxyFromHostPort(Type.SOCKS, trimmed.substring(SOCKS.length())); in parseResponse()
|
/frameworks/base/tools/aapt2/java/ |
D | AnnotationProcessor.cpp | 97 const StringPiece trimmed = util::TrimWhitespace(comment); in AppendCommentLine() local 98 if (trimmed.empty()) { in AppendCommentLine() 103 if (trimmed.size() != comment.size()) { in AppendCommentLine() 104 comment = std::string(trimmed); in AppendCommentLine()
|
/frameworks/native/libs/binder/ |
D | ServiceManagerHost.cpp | 34 auto trimmed = android::base::Trim(out); in parsePortNumber() local 36 if (!android::base::ParseUint(trimmed, &port)) { in parsePortNumber() 38 ALOGE("%s is not a valid %s: %s", trimmed.c_str(), what.c_str(), strerror(savedErrno)); in parsePortNumber()
|
/frameworks/base/tools/aapt2/util/ |
D | Util_test.cpp | 42 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST() local 43 EXPECT_TRUE(trimmed.empty()); in TEST() 44 EXPECT_THAT(trimmed, SizeIs(0u)); in TEST()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 320 StringPiece trimmed = util::TrimWhitespace(iter->value); in FindNonEmptyAttribute() local 321 if (!trimmed.empty()) { in FindNonEmptyAttribute() 322 return trimmed; in FindNonEmptyAttribute()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | MainContentCaptureSession.java | 761 CharSequence trimmed = TextUtils.trimToParcelableSize(text); in internalNotifyViewTextChanged() local 762 final CharSequence eventText = trimmed != null && trimmed == text in internalNotifyViewTextChanged() 763 ? trimmed.toString() in internalNotifyViewTextChanged() 764 : trimmed; in internalNotifyViewTextChanged()
|
D | MainContentCaptureSessionV2.java | 789 CharSequence trimmed = TextUtils.trimToParcelableSize(text); in internalNotifyViewTextChanged() local 790 final CharSequence eventText = trimmed != null && trimmed == text in internalNotifyViewTextChanged() 791 ? trimmed.toString() in internalNotifyViewTextChanged() 792 : trimmed; in internalNotifyViewTextChanged()
|
/frameworks/rs/script_api/ |
D | Specification.cpp | 130 const string trimmed = type.substr(0, last); in getVectorSizeAndBaseType() local 131 int i = findCType(trimmed); in getVectorSizeAndBaseType() 133 baseType = trimmed; in getVectorSizeAndBaseType()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 363 StringPiece trimmed = util::TrimLeadingWhitespace(first_segment->data); in FlattenXmlSubtree() local 364 if (trimmed.size() != first_segment->data.size()) { in FlattenXmlSubtree() 365 first_segment->data = std::string(trimmed); in FlattenXmlSubtree() 371 StringPiece trimmed = util::TrimTrailingWhitespace(last_segment->data); in FlattenXmlSubtree() local 372 if (trimmed.size() != last_segment->data.size()) { in FlattenXmlSubtree() 373 last_segment->data = std::string(trimmed); in FlattenXmlSubtree()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 2380 T trimmed = trimToSize(text, size); in trimToLengthWithEllipsis() local 2381 if (text != null && trimmed.length() < text.length()) { in trimToLengthWithEllipsis() 2382 trimmed = (T) (trimmed.toString() + "..."); in trimToLengthWithEllipsis() 2384 return trimmed; in trimToLengthWithEllipsis()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 1511 final ArrayList<Task> trimmed = mCallbacksRecorder.mTrimmed; in triggerTrimAndAssertTrimmed() local 1513 assertWithMessage("Expected " + tasks.length + " trimmed tasks, got " + trimmed.size()) in triggerTrimAndAssertTrimmed() 1514 .that(trimmed).hasSize(tasks.length); in triggerTrimAndAssertTrimmed() 1518 assertWithMessage("Expected trimmed task: " + task).that(trimmed).contains(task); in triggerTrimAndAssertTrimmed()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 1784 final String trimmed = data.trim(); in addPhone() local 1787 formattedNumber = trimmed; in addPhone() 1794 final int length = trimmed.length(); in addPhone() 1796 char ch = trimmed.charAt(i); in addPhone()
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 100 To save on memory, textures may be trimmed by their background color. trim.txt sequentially lists
|
/frameworks/base/core/java/android/view/ |
D | View.java | 6942 final String[] trimmed = new String[i]; 6943 System.arraycopy(attributes, 0, trimmed, 0, i); 6944 mAttributes = trimmed;
|