Home
last modified time | relevance | path

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

123456789

/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DMain.java40 if ("-i".equals(args[i].trim())) { in main()
42 inJar = args[i].trim(); in main()
43 } else if ("-o".equals(args[i].trim())) { in main()
45 outJar = args[i].trim(); in main()
46 } else if ("--targets".equals(args[i].trim())) { in main()
48 legacyTargets = args[i].trim(); in main()
49 } else if ("--pre".equals(args[i].trim())) { in main()
51 legacyPreMethods = args[i].trim(); in main()
52 } else if ("--post".equals(args[i].trim())) { in main()
54 legacyPostMethods = args[i].trim(); in main()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java29 public Cube(Volume v, float delta, float[] trim) { in Cube() argument
31 this.mTrim = trim; in Cube()
32 float minx = delta + trim[0] * (v.mDimx - delta); in Cube()
33 float miny = delta + trim[1] * (v.mDimy - delta); in Cube()
34 float minz = delta + trim[2] * (v.mDimz - delta); in Cube()
35 float maxx = v.mDimx - delta - trim[3] * (v.mDimx - delta); in Cube()
36 float maxy = v.mDimy - delta - trim[4] * (v.mDimy - delta); in Cube()
37 float maxz = v.mDimz - delta - trim[5] * (v.mDimz - delta); in Cube()
DVrPipline1.java42 private static String trim(double d) { in trim() method in VrPipline1
47 private static String trim(float[] d) { in trim() method in VrPipline1
50 ret += ((i == 0) ? "[ " : " , ") + trim(d[i]); in trim()
/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/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/
DBootImageProfileTest.java50 return mTestDevice.executeShellCommand("getprop dalvik.vm." + property).trim(); in getProperty()
75 String pid = mTestDevice.executeShellCommand("pidof " + pkg).trim(); in forceSaveProfile()
80 String res = mTestDevice.executeShellCommand("kill -s SIGUSR1 " + pid).trim(); in forceSaveProfile()
129 res = mTestDevice.executeShellCommand("truncate -s 0 " + SYSTEM_SERVER_PROFILE).trim(); in testSystemServerProfile()
137 "wc -c <" + SYSTEM_SERVER_PROFILE).trim(); in testSystemServerProfile()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DConcurrentInterpreter.kt55 return instr.split(";").map { interpret(it.trim(), r) }.last() in <lambda>()
79 val lines = spec.trim().trim('\n').split("\n").map { it.split("|") } in <lambda>()
84 val threadInstructions = (0 until threadCount).map { i -> lines.map { it[i].trim() } } in <lambda>()
186 fun MatchResult.strArg(index: Int) = this.groupValues[index].trim()
/frameworks/base/media/java/android/media/
DSRTRenderer.java132 while (!((s = br.readLine()) == null || s.trim().equals(""))) { in onData()
195 long hours = Long.parseLong(in.split(":")[0].trim()); in parseMs()
196 long minutes = Long.parseLong(in.split(":")[1].trim()); in parseMs()
197 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parseMs()
198 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parseMs()
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/
DInstallOverlayTests.java186 shell("cmd overlay list " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
188 shell("cmd overlay dump state " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
192 shell("cmd overlay list " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
194 shell("cmd overlay dump state " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHardwareConfig.java127 split[1].trim(), /* uuid */ in HardwareConfig()
139 split[1].trim(), /* uuid */ in HardwareConfig()
141 split[3].trim() /* modem-uuid */ in HardwareConfig()
DRetryManager.java269 splitStr[0] = splitStr[0].trim(); in configure()
272 splitStr[1] = splitStr[1].trim(); in configure()
297 splitStr[0] = splitStr[0].trim(); in configure()
305 splitStr[1] = splitStr[1].trim(); in configure()
367 String apnType = splitStr[0].trim(); in configureRetry()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java166 signer.update(content.trim().getBytes()); in createSignature()
167 signer.update(version.trim().getBytes()); in createSignature()
179 signer.update(content.trim().getBytes()); in verifySignature()
180 signer.update(version.trim().getBytes()); in verifySignature()
181 signer.update(requiredPrevious.trim().getBytes()); in verifySignature()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DConfigParser.java358 type = attributes[0].trim(); in parseContentType()
361 String attribute = attributes[i].trim(); in parseContentType()
397 if (line.length() == 0 || line.trim().length() == 0) { in readHeaders()
409 value.append(' ').append(line.trim()); in readHeaders()
427 name = line.substring(0, nameEnd).trim(); in readHeaders()
429 value.append(line.substring(nameEnd+1).trim()); in readHeaders()
/frameworks/base/tools/bit/
Dutil.h72 string trim(const string& trim);
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java200 } else if (line.trim().length() > 0) { in getNonEmptyLine()
247 } else if (line.trim().length() > 0) { in readBeginVCard()
258 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN") in readBeginVCard()
259 && strArray[1].trim().equalsIgnoreCase("VCARD")) { in readBeginVCard()
447 final String paramName = strArray[0].trim().toUpperCase();
448 String paramValue = strArray[1].trim();
767 if (firstString.trim().endsWith("=")) {
781 if (line.trim().endsWith("=")) {
856 Log.w(LOG_TAG, "Problematic line: " + line.trim());
869 builder.append(line.trim());
/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/rtsp/
DASessionDescription.cpp120 key.trim(); in parse()
121 value.trim(); in parse()
148 key.trim(); in parse()
149 value.trim(); in parse()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabaseIoPerfTest.java157 line = line.trim(); in getIoStats()
161 String key = split[0].trim(); in getIoStats()
162 Long value = Long.valueOf(split[1].trim()); in getIoStats()
/frameworks/base/tools/preload-check/src/com/android/preload/check/
DPreloadCheck.java81 s = s.trim(); in testBlackList()
118 assertTrue(sb.toString() + "\n===\n" + res, res.trim().endsWith("OK")); in run()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp452 codec.trim(); in getTypeURI()
842 attr.trim(); in parseStreamInf()
852 key.trim(); in parseStreamInf()
855 val.trim(); in parseStreamInf()
955 attr.trim(); in parseCipherInfo()
965 key.trim(); in parseCipherInfo()
968 val.trim(); in parseCipherInfo()
1025 lenStr.trim(); in parseByteRange()
1037 offStr.trim(); in parseByteRange()
1092 attr.trim(); in parseMedia()
[all …]
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java112 return Integer.parseInt(extraValue.trim()); in getVersionFromIntent()
120 return extraValue.trim(); in getRequiredHashFromIntent()
125 String strVersion = IoUtils.readFileAsString(updateVersion.getCanonicalPath()).trim(); in getCurrentVersion()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java125 if (routesStr.trim().equals("")) { in addLegacyRoutes()
128 String[] routes = routesStr.trim().split(" "); in addLegacyRoutes()
138 if (addressesStr.trim().equals("")) { in addLegacyAddresses()
141 String[] addresses = addressesStr.trim().split(" "); in addLegacyAddresses()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
DPrinterFilterSamsung.java108 modelName = usb_mfg.trim() + " " + usb_mdl.trim(); in getSamsungModelName()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java311 actual = candidate.trim().equals(expectedUid); in assertRestrictBackground()
365 return mUiDevice.executeShellCommand(cmd).trim(); in executeSilentCommand()
432 if (str.trim().startsWith("config=") || str.trim().startsWith("time=")) { in dumpUsageStats()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java173 if (name != null) name = name.trim(); in PackageItemInfo()
177 if (nonLocalizedLabel != null) nonLocalizedLabel = nonLocalizedLabel.toString().trim(); in PackageItemInfo()
213 return label.toString().trim(); in loadUnsafeLabel()
/frameworks/base/cmds/bootanimation/
DFORMAT.md77 (except `trim.txt` and `audio.wav`; see next sections) is expected to be a PNG file that represents
82 ## trim.txt
84 To save on memory, textures may be trimmed by their background color. trim.txt sequentially lists
85 the trim output for each frame in its directory, so the frames may be properly positioned.

123456789