Home
last modified time | relevance | path

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

12345

/frameworks/opt/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/
DSRTRenderer.java131 while (!((s = br.readLine()) == null || s.trim().equals(""))) { in onData()
194 long hours = Long.parseLong(in.split(":")[0].trim()); in parseMs()
195 long minutes = Long.parseLong(in.split(":")[1].trim()); in parseMs()
196 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parseMs()
197 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parseMs()
DExifInterface.java397 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
398 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
401 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
402 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
405 double seconds = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat()
406 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHardwareConfig.java129 split[1].trim(), /* uuid */ in HardwareConfig()
141 split[1].trim(), /* uuid */ in HardwareConfig()
143 split[3].trim() /* modem-uuid */ in HardwareConfig()
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/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java138 addr = addr.trim(); in setLinkProperties()
173 addr = addr.trim(); in setLinkProperties()
190 dnsAddr = dnsAddr.trim(); in setLinkProperties()
216 addr = addr.trim(); in setLinkProperties()
/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/opt/chips/src/com/android/ex/chips/recipientchip/
DSimpleRecipientChip.java44 mValue = entry.getDestination().trim(); in SimpleRecipientChip()
102 mOriginalText = text.trim(); in setOriginalText()
/frameworks/av/media/libstagefright/wifi-display/
DParameters.cpp52 name.trim(); in parse()
64 value.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/com/android/internal/net/
DVpnConfig.java115 if (routesStr.trim().equals("")) { in addLegacyRoutes()
118 String[] routes = routesStr.trim().split(" "); in addLegacyRoutes()
128 if (addressesStr.trim().equals("")) { in addLegacyAddresses()
131 String[] addresses = addressesStr.trim().split(" "); in addLegacyAddresses()
/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("=")) {
855 Log.w(LOG_TAG, "Problematic line: " + line.trim());
868 builder.append(line.trim());
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java362 public final void setOnNotificationPostedTrim(int trim) { in setOnNotificationPostedTrim() argument
365 getNotificationInterface().setOnNotificationPostedTrimFromListener(mWrapper, trim); in setOnNotificationPostedTrim()
391 public StatusBarNotification[] getActiveNotifications(int trim) { in getActiveNotifications() argument
392 return getActiveNotifications(null, trim); in getActiveNotifications()
421 public StatusBarNotification[] getActiveNotifications(String[] keys, int trim) { in getActiveNotifications() argument
426 .getActiveNotificationsFromListener(mWrapper, keys, trim); in getActiveNotifications()
/frameworks/base/core/java/android/net/http/
DHttpAuthHeader.java289 String scheme = header.substring(0, i).trim(); in parseScheme()
342 String token = parameter.substring(0, i).trim(); in parseParameter()
344 trimDoubleQuotesIfAny(parameter.substring(i + 1).trim()); in parseParameter()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp424 codec.trim(); in getTypeURI()
738 attr.trim(); in parseStreamInf()
748 key.trim(); in parseStreamInf()
751 val.trim(); in parseStreamInf()
834 attr.trim(); in parseCipherInfo()
844 key.trim(); in parseCipherInfo()
847 val.trim(); in parseCipherInfo()
904 lenStr.trim(); in parseByteRange()
916 offStr.trim(); in parseByteRange()
971 attr.trim(); in parseMedia()
[all …]
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java145 return Integer.parseInt(extraValue.trim()); in getVersionFromIntent()
153 return extraValue.trim(); in getRequiredHashFromIntent()
161 return extraValue.trim(); in getSignatureFromIntent()
166 String strVersion = IoUtils.readFileAsString(updateVersion.getCanonicalPath()).trim(); in getCurrentVersion()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java103 if (name != null) name = name.trim(); in PackageItemInfo()
107 if (nonLocalizedLabel != null) nonLocalizedLabel = nonLocalizedLabel.toString().trim(); in PackageItemInfo()
133 return label.toString().trim(); in loadLabel()
DResolveInfo.java172 return label.toString().trim(); in loadLabel()
180 return label.toString().trim(); in loadLabel()
186 if (data != null) data = data.toString().trim(); in loadLabel()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl65 …ice getActiveNotificationsFromListener(in INotificationListener token, in String[] keys, int trim); in getActiveNotificationsFromListener() argument
70 void setOnNotificationPostedTrimFromListener(in INotificationListener token, int trim); in setOnNotificationPostedTrimFromListener() argument
/frameworks/base/core/java/android/net/
DNetworkConfig.java66 name = fragments[0].trim().toLowerCase(Locale.ROOT); in NetworkConfig()
/frameworks/native/opengl/tools/glgen/src/
DParameterChecker.java27 String s = line.trim(); in ParameterChecker()
/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp142 key.trim(); in parse()
161 mDict.editValueAt(i).trim(); in parse()

12345