/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | Javadoc.kt | 245 val suffix = existingDoc.substring(offset) in insertInto() constant 248 …if (suffix.startsWith("\n") || suffix.startsWith(" \n")) "" else if (suffix == "*/") "\n" else if … in insertInto() 260 if (suffix == "*/") " */" else suffix in insertInto() 262 prefix + middle + suffix in insertInto() 736 val suffix = element.text in handleTag() constant 737 if (suffix.contains("(") && suffix.contains(")")) { in handleTag() 738 expandArgumentList(element, suffix, sb) in handleTag() 740 sb.append(suffix) in handleTag() 769 val suffix = referenceText.substring(className.length) in handleTag() constant 770 if (suffix.contains("(") && suffix.contains(")")) { in handleTag() [all …]
|
D | PsiTypePrinter.kt | 132 …val suffix = if (bound == null) null else getCanonicalText(bound, elementAnnotations).removeSuffix… in <lambda>() constant 133 return getText(type, suffix, elementAnnotations) in <lambda>() 154 suffix: String?, in <lambda>() 158 if (annotations.isEmpty() && suffix == null) return "?" in <lambda>() 162 if (suffix == null) { in <lambda>() 165 if (suffix == JAVA_LANG_OBJECT && in <lambda>() 172 sb.append(suffix) in <lambda>() 182 suffix: String in <lambda>() 184 val sb = StringBuilder(prefix.length + suffix.length) in <lambda>() 190 sb.append(suffix) in <lambda>() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 341 public static File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 342 return internalCreateTempFile(prefix, suffix, null); in createTempFile() 352 public static File createTempFile(String prefix, String suffix, File parentDir) in createTempFile() argument 354 return internalCreateTempFile(prefix, suffix, parentDir); in createTempFile() 360 private static File internalCreateTempFile(String prefix, String suffix, File parentDir) in internalCreateTempFile() argument 364 if (suffix != null) { in internalCreateTempFile() 366 overflowLength += suffix.length(); in internalCreateTempFile() 370 + "truncating it.", prefix, suffix); in internalCreateTempFile() 373 if (suffix.length() >= overflowLength) { in internalCreateTempFile() 375 overflowLength -= suffix.length(); in internalCreateTempFile() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollectorTest.java | 551 private static void ensureNoMetricWithKeySuffix(Map<String, Metric> metrics, String suffix) { in ensureNoMetricWithKeySuffix() argument 560 suffix))); in ensureNoMetricWithKeySuffix() 568 Map<String, Metric> metrics, String suffix) { in getStringMetricValuesByKeySuffix() argument 576 suffix)) in getStringMetricValuesByKeySuffix() 587 Map<String, Metric> metrics, String suffix) { in getIntMetricValuesByKeySuffix() argument 588 return getStringMetricValuesByKeySuffix(metrics, suffix) in getIntMetricValuesByKeySuffix() 599 Map<String, Metric> metrics, String suffix) { in getLongMetricValuesByKeySuffix() argument 600 return getStringMetricValuesByKeySuffix(metrics, suffix) in getLongMetricValuesByKeySuffix() 606 private static boolean hasPrefixAndSuffix(String target, String prefix, String suffix) { in hasPrefixAndSuffix() argument 607 return target.startsWith(prefix) && target.endsWith(suffix); in hasPrefixAndSuffix()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | ClangCodeCoverageListenerTest.java | 414 for (String suffix : suffixes) { in checkListContainsSuffixes() 417 if (item.endsWith(suffix)) { in checkListContainsSuffixes() 424 fail("List " + list.toString() + " does not contain suffix '" + suffix + "'"); in checkListContainsSuffixes() 429 void checkListDoesNotContainSuffix(List<String> list, String suffix) { in checkListDoesNotContainSuffix() argument 431 if (item.endsWith(suffix)) { in checkListDoesNotContainSuffix() 432 fail("List " + list.toString() + " should not contain suffix '" + suffix + "'"); in checkListDoesNotContainSuffix()
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
D | ota_runner_factory.py | 183 suffix = '' 186 suffix = '_%s' % config['ota_map'][android_device.serial] 188 ota_package_key = '%s%s' % (key, suffix) 190 if suffix is not '': 195 'ACTS config.' % (android_device.serial, suffix[1:],
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardHelper.java | 211 String suffix = String.format("_shard_index_%s", index); in rescheduleConfig() local 213 suffix = shardConfig.getCommandOptions().getHostLogSuffix() + suffix; in rescheduleConfig() 215 shardConfig.getCommandOptions().setHostLogSuffix(suffix); in rescheduleConfig()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilFuncTest.java | 444 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 445 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile() 450 private File createTempFile(String prefix, String suffix, File parentDir) throws IOException { in createTempFile() argument 451 File tempFile = FileUtil.createTempFile(prefix, suffix, parentDir); in createTempFile()
|
D | ZipUtil2Test.java | 141 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 142 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
|
D | FileUtilTest.java | 166 final String suffix = "logcat-android.support.v7.widget.GridLayoutManagerWrapContent" in testCreateTempFile_filenameTooLongEdge() local 170 testFile = FileUtil.createTempFile(prefix, suffix); in testCreateTempFile_filenameTooLongEdge()
|
D | ZipUtilTest.java | 531 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 532 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | AlignmentRules.java | 49 public static AlignmentRule constantForSuffix(@Nonnull String suffix, int alignment) { in constantForSuffix() argument 50 Preconditions.checkArgument(!suffix.isEmpty(), "suffix.isEmpty()"); in constantForSuffix() 53 return (String path) -> path.endsWith(suffix) ? alignment : AlignmentRule.NO_ALIGNMENT; in constantForSuffix()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 280 private String createMetricKey(String suffix, String serial) { in createMetricKey() argument 282 ? String.join(METRIC_SEP, METRIC_PREFIX, serial, suffix) in createMetricKey() 283 : String.join(METRIC_SEP, METRIC_PREFIX, suffix); in createMetricKey()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 1303 String suffix; in getJcaSignatureAlgorithm() local 1305 suffix = "RSA"; in getJcaSignatureAlgorithm() 1307 suffix = "DSA"; in getJcaSignatureAlgorithm() 1309 suffix = "ECDSA"; in getJcaSignatureAlgorithm() 1322 return jcaDigestAlg + "with" + suffix; in getJcaSignatureAlgorithm()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileParser.java | 459 LinkedList<String> suffix = new LinkedList<>(line.subList(idx, line.size())); in expandLongMacro() local 460 suffix.remove(0); in expandLongMacro() 466 expanded.addAll(suffix); in expandLongMacro()
|
D | CommandOptions.java | 505 public void setHostLogSuffix(String suffix) { in setHostLogSuffix() argument 506 mHostLogSuffix = suffix; in setHostLogSuffix()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiLint.kt | 1260 fun ensureContextNameSuffix(cls: ClassItem, suffix: String) { in <lambda>() 1261 if (!cls.simpleName().endsWith(suffix)) { in <lambda>() 1264 "Inconsistent class name; should be `<Foo>$suffix`, was `${cls.simpleName()}`" in <lambda>() 3221 for (suffix in badParameterClassNames) { in <lambda>() constant 3222 if (qualifiedName.endsWith(suffix) && !((qualifiedName.endsWith("Params") || in <lambda>()
|
/tools/acloud/internal/lib/ |
D | utils.py | 291 def GenerateUniqueName(prefix=None, suffix=None): argument 304 if suffix: 305 name = "-".join([name, suffix])
|
D | ota_tools.py | 210 prefix="misc_info_", suffix=".txt", 286 prefix="system-qemu-config_", suffix=".txt",
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | Android.bp | 39 suffix: "32", 42 suffix: "64",
|
/tools/external_updater/ |
D | updater_utils.py | 79 prefix, version, suffix = match.group('prefix', 'version', 'suffix') 81 return (versions, str(prefix), str(suffix))
|
/tools/repohooks/tools/ |
D | checkpatch.pl | 5770 my $suffix = ""; 5773 $suffix .= 'U' if ($cast =~ /\bunsigned\b/); 5775 $suffix .= 'LL'; 5777 $suffix .= 'L'; 5779 $fixed[$fixlinenr] =~ s/\Q$cast\E$const\b/$newconst$suffix/;
|
D | cpplint.py | 4459 for suffix in ('test.cc', 'regtest.cc', 'unittest.cc', 4461 if (filename.endswith(suffix) and len(filename) > len(suffix) and 4462 filename[-len(suffix) - 1] in ('-', '_')): 4463 return filename[:-len(suffix) - 1]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | FakeTest.java | 176 final String suffix = m.group(4); in decode() local 183 nextState.append(suffix); in decode()
|
/tools/acloud/public/ |
D | device_driver.py | 85 suffix=self._cfg.disk_image_name) 141 suffix=self._cfg.disk_image_name)
|