Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/ex/chips/tests/src/com/android/ex/chips/
DChipsTest.java190 int firstEnd = firstStart + first.trim().length(); in testSanitizeBetween()
192 int secondEnd = secondStart + second.trim().length(); in testSanitizeBetween()
227 int firstEnd = firstStart + first.trim().length(); in testSanitizeEnd()
229 int secondEnd = secondStart + second.trim().length(); in testSanitizeEnd()
254 int thirdEnd = thirdStart + third.trim().length(); in testMoreChipPlainText()
306 int firstEnd = firstStart + first.trim().length(); in testMoreChip()
308 int secondEnd = secondStart + second.trim().length(); in testMoreChip()
310 int thirdEnd = thirdStart + third.trim().length(); in testMoreChip()
374 int firstEnd = firstStart + first.trim().length(); in testMoreChipLotsOfUsers()
376 int secondEnd = secondStart + second.trim().length(); in testMoreChipLotsOfUsers()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DStochasticLinearRankerWithPrior.java182 mAlpha = Float.valueOf(value.trim()).floatValue(); in setModelParameter()
184 mAutoAlpha = Float.valueOf(value.trim()).floatValue(); in setModelParameter()
186 mForgetRate = Float.valueOf(value.trim()).floatValue(); in setModelParameter()
188 mMinReqTrainingPair = (int) Float.valueOf(value.trim()).floatValue(); in setModelParameter()
190 mUserRankerPerf = Float.valueOf(value.trim()).floatValue(); in setModelParameter()
192 mPriorRankerPerf = Float.valueOf(value.trim()).floatValue(); in setModelParameter()
194 mNumTrainPair = (int) Float.valueOf(value.trim()).floatValue(); in setModelParameter()
/frameworks/base/media/java/android/media/
DExifInterface.java383 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
384 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
387 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
388 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
391 double seconds = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
392 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp343 attr.trim(); in parseStreamInf()
353 key.trim(); in parseStreamInf()
356 val.trim(); in parseStreamInf()
421 attr.trim(); in parseCipherInfo()
431 key.trim(); in parseCipherInfo()
434 val.trim(); in parseCipherInfo()
491 lenStr.trim(); in parseByteRange()
503 offStr.trim(); in parseByteRange()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java128 addr = addr.trim(); in setLinkProperties()
163 addr = addr.trim(); in setLinkProperties()
180 dnsAddr = dnsAddr.trim(); in setLinkProperties()
206 addr = addr.trim(); in setLinkProperties()
/frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
DSimpleRecipientChip.java40 mValue = entry.getDestination().trim(); in SimpleRecipientChip()
86 mOriginalText = text.trim(); in setOriginalText()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java164 signer.update(content.trim().getBytes()); in createSignature()
165 signer.update(version.trim().getBytes()); in createSignature()
177 signer.update(content.trim().getBytes()); in verifySignature()
178 signer.update(version.trim().getBytes()); in verifySignature()
179 signer.update(requiredPrevious.trim().getBytes()); in verifySignature()
/frameworks/volley/src/com/android/volley/toolbox/
DByteArrayPool.java121 trim(); in returnBuf()
127 private synchronized void trim() { in trim() method in ByteArrayPool
DHttpHeaderParser.java63 String token = tokens[i].trim(); in parseCacheHeaders()
126 String[] pair = params[i].trim().split("="); in parseCharset()
/frameworks/av/media/libstagefright/wifi-display/
DParameters.cpp52 name.trim(); in parse()
64 value.trim(); in parse()
DParsedMessage.cpp138 key.trim(); in parse()
150 mDict.editValueAt(i).trim(); in parse()
/frameworks/av/media/libstagefright/rtsp/
DASessionDescription.cpp120 key.trim(); in parse()
121 value.trim(); in parse()
148 key.trim(); in parse()
149 value.trim(); in parse()
/frameworks/base/core/java/android/net/http/
DHttpAuthHeader.java287 String scheme = header.substring(0, i).trim(); in parseScheme()
340 String token = parameter.substring(0, i).trim(); in parseParameter()
342 trimDoubleQuotesIfAny(parameter.substring(i + 1).trim()); in parseParameter()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java89 if (name != null) name = name.trim(); in PackageItemInfo()
93 if (nonLocalizedLabel != null) nonLocalizedLabel = nonLocalizedLabel.toString().trim(); in PackageItemInfo()
117 return label.toString().trim(); in loadLabel()
DResolveInfo.java141 return label.toString().trim(); in loadLabel()
149 return label.toString().trim(); in loadLabel()
155 if (data != null) data = data.toString().trim(); in loadLabel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java200 splitStr[0] = splitStr[0].trim(); in configure()
203 splitStr[1] = splitStr[1].trim(); in configure()
228 splitStr[0] = splitStr[0].trim(); in configure()
236 splitStr[1] = splitStr[1].trim(); in configure()
/frameworks/base/services/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java147 return Integer.parseInt(extraValue.trim()); in getVersionFromIntent()
155 return extraValue.trim(); in getRequiredHashFromIntent()
163 return extraValue.trim(); in getSignatureFromIntent()
168 String strVersion = IoUtils.readFileAsString(updateVersion.getCanonicalPath()).trim(); in getCurrentVersion()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java200 } else if (line.trim().length() > 0) { in getNonEmptyLine()
246 } else if (line.trim().length() > 0) { in readBeginVCard()
257 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN") in readBeginVCard()
258 && strArray[1].trim().equalsIgnoreCase("VCARD")) { in readBeginVCard()
446 final String paramName = strArray[0].trim().toUpperCase();
447 String paramValue = strArray[1].trim();
766 if (firstString.trim().endsWith("=")) {
780 if (line.trim().endsWith("=")) {
854 Log.w(LOG_TAG, "Problematic line: " + line.trim());
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
DSurfaceFlingerHelper.java154 mRefreshPeriod = Long.parseLong(line.trim()); in dumpFrameLatency()
162 if (line.trim().isEmpty()) { in dumpFrameLatency()
166 if (bufferValues[0].trim().compareTo("0") == 0) { in dumpFrameLatency()
168 } else if (bufferValues[1].trim().compareTo(PENDING_FENCE_TIME) == 0 ) { in dumpFrameLatency()
/frameworks/base/core/java/android/net/
DNetworkConfig.java66 name = fragments[0].trim().toLowerCase(); in NetworkConfig()
/frameworks/native/opengl/tools/glgen/src/
DParameterChecker.java27 String s = line.trim(); in ParameterChecker()
/frameworks/base/core/java/android/database/
DDefaultDatabaseErrorHandler.java97 if (fileName.equalsIgnoreCase(":memory:") || fileName.trim().length() == 0) { in deleteDatabaseFile()
/frameworks/av/media/libstagefright/timedtext/
DTimedTextSRTSource.cpp135 data.trim(); in getNextSubtitleInfo()
167 data.trim(); in getNextSubtitleInfo()
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java114 String clue = rtpmap.trim().toUpperCase(); in getCodec()
/frameworks/av/include/media/stagefright/foundation/
DAString.h44 void trim();

1234