/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 41 if ("-i".equals(args[i].trim())) { in main() 43 inJar = args[i].trim(); in main() 44 } else if ("-o".equals(args[i].trim())) { in main() 46 outJar = args[i].trim(); in main() 47 } else if ("--targets".equals(args[i].trim())) { in main() 49 legacyTargets = args[i].trim(); in main() 50 } else if ("--pre".equals(args[i].trim())) { in main() 52 legacyPreMethods = args[i].trim(); in main() 53 } else if ("--post".equals(args[i].trim())) { in main() 55 legacyPostMethods = args[i].trim(); in main() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | LauncherActivityInfoTest.java | 84 assertThat(LauncherActivityInfo.trim("\u0009").toString()).isEmpty(); in testTrim() 86 assertThat(LauncherActivityInfo.trim("\u0FE1").toString()).isEmpty(); in testTrim() 88 assertThat(LauncherActivityInfo.trim("\uD83E\uDD36").toString()) in testTrim() 90 assertThat(LauncherActivityInfo.trim("\u0009\u0FE1\uD83E\uDD36A").toString()) in testTrim() 92 assertThat(LauncherActivityInfo.trim("\uD83E\uDD36A\u0009\u0FE1").toString()) in testTrim() 94 assertThat(LauncherActivityInfo.trim("A\uD83E\uDD36\u0009\u0FE1A").toString()) in testTrim() 96 assertThat(LauncherActivityInfo.trim( in testTrim() 99 assertThat(LauncherActivityInfo.trim( in testTrim()
|
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/ |
D | EapAkaChallengeTest.java | 137 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withoutRand() 147 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withoutAutn() 157 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withoutRandAndAutn() 167 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withCodeResponse() 177 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withWrongLength() 187 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withEapType99() 197 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withSubType99() 207 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withLengthOverData() 217 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withRandLength16() 227 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseEapAkaChallengeRequest_withAutnLength16() [all …]
|
D | EapAkaSecurityContextTest.java | 96 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongTag_throwsException() 114 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongResLength_throwsException() 123 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongCkLength_throwsException() 132 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_invalidWithWrongIkLength_throwsException() 142 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_validWithWrongKcLength() 154 String encodedData = Base64.encodeToString(data, Base64.NO_WRAP).trim(); in parseResponseData_noKcKey()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Cube.java | 29 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()
|
D | VrPipline1.java | 42 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/telephony/src/java/com/android/internal/telephony/metrics/ |
D | RcsStats.java | 133 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_STANDALONE_MSG.trim().toLowerCase(Locale.ROOT), 135 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_CHAT_IM.trim().toLowerCase(Locale.ROOT), 137 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_CHAT_SESSION.trim().toLowerCase(Locale.ROOT), 139 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_FILE_TRANSFER.trim().toLowerCase(Locale.ROOT), 141 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_FILE_TRANSFER_VIA_SMS.trim() 145 FeatureTags.FEATURE_TAG_CALL_COMPOSER_ENRICHED_CALLING.trim() 149 FeatureTags.FEATURE_TAG_CALL_COMPOSER_VIA_TELEPHONY.trim().toLowerCase(Locale.ROOT), 151 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_POST_CALL.trim().toLowerCase(Locale.ROOT), 153 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_SHARED_MAP.trim().toLowerCase(Locale.ROOT), 155 FEATURE_TAGS.put(FeatureTags.FEATURE_TAG_SHARED_SKETCH.trim().toLowerCase(Locale.ROOT), [all …]
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/ |
D | StringUtils.java | 76 int trim = fact.length(); in floatToString() local 81 trim--; in floatToString() 83 if (trim != fact.length()) { in floatToString() 84 fact = fact.substring(0, trim); in floatToString()
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 191 int firstEnd = firstStart + first.trim().length(); in testSanitizeBetween() 193 int secondEnd = secondStart + second.trim().length(); in testSanitizeBetween() 228 int firstEnd = firstStart + first.trim().length(); in testSanitizeEnd() 230 int secondEnd = secondStart + second.trim().length(); in testSanitizeEnd() 255 int thirdEnd = thirdStart + third.trim().length(); in testMoreChipPlainText() 307 int firstEnd = firstStart + first.trim().length(); in testMoreChip() 309 int secondEnd = secondStart + second.trim().length(); in testMoreChip() 311 int thirdEnd = thirdStart + third.trim().length(); in testMoreChip() 375 int firstEnd = firstStart + first.trim().length(); in testMoreChipLotsOfUsers() 377 int secondEnd = secondStart + second.trim().length(); in testMoreChipLotsOfUsers() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsConfig.java | 192 tag = xpp.getName().trim().toLowerCase(Locale.ROOT); in RcsConfig() 198 String name = xpp.getAttributeName(i).trim() in RcsConfig() 202 name).trim().toLowerCase(Locale.ROOT); in RcsConfig() 216 String name = xpp.getAttributeName(i).trim() in RcsConfig() 220 name).trim().toLowerCase(Locale.ROOT); in RcsConfig() 223 name).trim(); in RcsConfig() 232 tag = xpp.getName().trim().toLowerCase(Locale.ROOT); in RcsConfig() 260 String value = mCurrent.getParmValue(tag.trim().toLowerCase(Locale.ROOT)); in getString() 302 return mCurrent.hasParm(tag.trim().toLowerCase(Locale.ROOT)); in hasConfig() 309 return mCurrent.getSubByType(type.trim().toLowerCase(Locale.ROOT)); in getCharacteristic() [all …]
|
/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/ |
D | BootImageProfileTest.java | 52 return mTestDevice.executeShellCommand("getprop dalvik.vm." + property).trim(); in getProperty() 79 String pid = mTestDevice.executeShellCommand("pidof " + pkg).trim(); in forceSaveProfile() 84 String res = mTestDevice.executeShellCommand("kill -s SIGUSR1 " + pid).trim(); in forceSaveProfile() 140 res = mTestDevice.executeShellCommand("truncate -s 0 " + SYSTEM_SERVER_PROFILE).trim(); in testSystemServerProfile() 148 "wc -c <" + SYSTEM_SERVER_PROFILE).trim(); in testSystemServerProfile()
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | CutoutSpecificationBenchmark.java | 87 spec = spec.trim(); in oldMethodParsingSpec() 91 spec = spec.substring(0, spec.length() - RIGHT_MARKER.length()).trim(); in oldMethodParsingSpec() 94 spec = spec.substring(0, spec.length() - LEFT_MARKER.length()).trim(); in oldMethodParsingSpec() 105 spec = splits[0].trim(); in oldMethodParsingSpec() 106 bottomSpec = splits[1].trim(); in oldMethodParsingSpec()
|
/frameworks/base/media/java/android/media/ |
D | SRTRenderer.java | 132 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/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceShellCommandTest.java | 110 assertEquals("12", mOutStream.toString().trim()); in testMainUser() 121 assertEquals("None", mOutStream.toString().trim()); in testMainUserNull() 134 assertEquals("true", mOutStream.toString().trim()); in testCanSwitchToHeadlessSystemUser() 147 assertEquals("false", mOutStream.toString().trim()); in testIsMainUserPermanentAdmin()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HardwareConfig.java | 127 split[1].trim(), /* uuid */ in HardwareConfig() 139 split[1].trim(), /* uuid */ in HardwareConfig() 141 split[3].trim() /* modem-uuid */ in HardwareConfig()
|
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/ |
D | InstallOverlayTests.java | 181 shell("cmd overlay list " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface() 183 shell("cmd overlay dump state " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface() 187 shell("cmd overlay list " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface() 189 shell("cmd overlay dump state " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ColorUpdateLogger.kt | 72 frame.trim() in logEvent() 84 frame.trim() in logNotificationEvent() 105 trim() in tryAddTrigger() 109 fun trim() { in trim() method
|
/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ |
D | ManagedProfileLifecycleStressTest.java | 125 final Matcher matcher = CREATE_USER_OUTPUT_REGEX.matcher(output.trim()); in createManagedProfile() 139 final String output = getDevice().executeShellCommand("pm remove-user " + userId).trim(); in removeUser() 144 final String output = getDevice().executeShellCommand("am start-user -w " + userId).trim(); in startUser()
|
/frameworks/base/tools/bit/ |
D | util.h | 74 string trim(const string& trim);
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/ |
D | ServiceDescription.java | 146 RcsContactPresenceTuple.SERVICE_ID_CHATBOT_STANDALONE.trim(), 153 RcsContactPresenceTuple.SERVICE_ID_CHATBOT_STANDALONE.trim(), 160 RcsContactPresenceTuple.SERVICE_ID_CHATBOT_STANDALONE.trim(),
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 166 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/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | SimpleRecipientChip.java | 44 mValue = entry.getDestination().trim(); in SimpleRecipientChip() 102 mOriginalText = text.trim(); in setOriginalText()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V21.java | 200 } 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/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | HostUtils.kt | 95 .map(String::trim) in getDataDir() 137 .map(String::trim) 142 .map(String::trim) in getCodePaths()
|
D | OverlayPathsUninstallSystemUpdatesTest.kt | 83 ).trim()).isEqualTo("#ffffffff") in verify() 90 ).trim()).endsWith("Success") in verify()
|