Home
last modified time | relevance | path

Searched refs:trimmed (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/net/
DPacProxySelector.java99 String trimmed = s.trim(); in parseResponse() local
100 if (trimmed.equals("DIRECT")) { in parseResponse()
102 } else if (trimmed.startsWith(PROXY)) { in parseResponse()
103 Proxy proxy = proxyFromHostPort(Type.HTTP, trimmed.substring(PROXY.length())); in parseResponse()
107 } else if (trimmed.startsWith(SOCKS)) { in parseResponse()
108 Proxy proxy = proxyFromHostPort(Type.SOCKS, trimmed.substring(SOCKS.length())); in parseResponse()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DXMLNode.java78 String trimmed = s.trim(); in addText() local
79 if (trimmed.isEmpty()) in addText()
82 if (s.charAt(0) != trimmed.charAt(0)) in addText()
84 mTextBuilder.append(trimmed); in addText()
85 if (s.charAt(s.length() - 1) != trimmed.charAt(trimmed.length() - 1)) in addText()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DXMLNode.java118 String trimmed = s.trim(); in addText() local
119 if (trimmed.isEmpty()) in addText()
122 if (s.charAt(0) != trimmed.charAt(0)) in addText()
124 mTextBuilder.append(trimmed); in addText()
125 if (s.charAt(s.length() - 1) != trimmed.charAt(trimmed.length() - 1)) in addText()
/frameworks/base/tools/aapt2/util/
DUtil_test.cpp29 StringPiece16 trimmed = util::trimWhitespace(full); in TEST() local
30 EXPECT_TRUE(trimmed.empty()); in TEST()
31 EXPECT_EQ(0u, trimmed.size()); in TEST()
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp299 StringPiece16 trimmed = util::trimWhitespace(iter->value); in findNonEmptyAttribute() local
300 if (!trimmed.empty()) { in findNonEmptyAttribute()
301 return trimmed; in findNonEmptyAttribute()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExprModel.java599 final String trimmed = key.substring(0, falseIndex);
600 return mExprMap.get(trimmed);
604 final String trimmed = key.substring(0, trueIndex);
605 return mExprMap.get(trimmed);
/frameworks/rs/api/
DSpecification.cpp130 const string trimmed = type.substr(0, last); in getVectorSizeAndBaseType() local
131 int i = findCType(trimmed); in getVectorSizeAndBaseType()
133 baseType = trimmed; in getVectorSizeAndBaseType()
/frameworks/base/cmds/bootanimation/
DFORMAT.md57 To save on memory, textures may be trimmed by their background color. trim.txt sequentially lists
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java1772 final String trimmed = data.trim(); in addPhone() local
1775 formattedNumber = trimmed; in addPhone()
1782 final int length = trimmed.length(); in addPhone()
1784 char ch = trimmed.charAt(i); in addPhone()
/frameworks/base/docs/html/about/versions/
Dandroid-2.0.1.jd318 persisted (for example, if the save was trimmed to a no-op).</p>
Dkitkat.jd129 reduce memory footprint. Core system processes are trimmed to <strong>use
/frameworks/base/core/java/android/view/
DView.java4824 final String[] trimmed = new String[i]; in saveAttributeData() local
4825 System.arraycopy(attributes, 0, trimmed, 0, i); in saveAttributeData()
4826 mAttributes = trimmed; in saveAttributeData()