/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | Javadoc.kt | 249 val suffix = existingDoc.substring(offset) in insertInto() constant 252 if (suffix.startsWith("\n") || suffix.startsWith(" \n")) "" in insertInto() 253 else if (suffix == "*/") "\n" else if (prefixWithStar) "\n * " else "\n" in insertInto() 270 if (suffix == "*/") " */" else suffix in insertInto() 272 prefix + middle + suffix in insertInto() 753 val suffix = element.text in handleTag() constant 754 if (suffix.contains("(") && suffix.contains(")")) { in handleTag() 755 expandArgumentList(element, suffix, sb) in handleTag() 757 sb.append(suffix) in handleTag() 789 val suffix = referenceText.substring(className.length) in handleTag() constant [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | ClangProfileIndexerTest.java | 149 for (String suffix : suffixes) { in checkListContainsSuffixes() 152 if (item.endsWith(suffix)) { in checkListContainsSuffixes() 159 fail("List " + list.toString() + " does not contain suffix '" + suffix + "'"); in checkListContainsSuffixes() 164 void checkListDoesNotContainSuffix(List<String> list, String suffix) { in checkListDoesNotContainSuffix() argument 166 if (item.endsWith(suffix)) { in checkListDoesNotContainSuffix() 167 fail("List " + list.toString() + " should not contain suffix '" + suffix + "'"); in checkListDoesNotContainSuffix()
|
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 | 183 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 184 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
|
/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 != '': 195 'ACTS config.' % (android_device.serial, suffix[1:],
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 390 public static File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 391 return internalCreateTempFile(prefix, suffix, null); in createTempFile() 401 public static File createTempFile(String prefix, String suffix, File parentDir) in createTempFile() argument 403 return internalCreateTempFile(prefix, suffix, parentDir); in createTempFile() 409 private static File internalCreateTempFile(String prefix, String suffix, File parentDir) in internalCreateTempFile() argument 413 if (suffix != null) { in internalCreateTempFile() 415 overflowLength += suffix.length(); in internalCreateTempFile() 419 + "truncating it.", prefix, suffix); in internalCreateTempFile() 422 if (suffix.length() >= overflowLength) { in internalCreateTempFile() 424 overflowLength -= suffix.length(); in internalCreateTempFile() [all …]
|
/tools/dexter/slicer/export/slicer/ |
D | common.h | 30 void _checkFailedOp(const void* lhs, const void* rhs, const char* op, const char* suffix, 33 void _checkFailedOp(uint32_t lhs, uint32_t rhs, const char* op, const char* suffix, int line, 37 #define SLICER_CHECK_OP(lhs, rhs, op, suffix) \ argument 40 slicer::_checkFailedOp(lhs, rhs, #op, suffix, __LINE__, __FILE__); \
|
/tools/dexter/slicer/ |
D | common.cc | 50 void _checkFailedOp(const void* lhs, const void* rhs, const char* op, const char* suffix, int line, in _checkFailedOp() argument 53 ss << std::endl << "SLICER_CHECK_" << suffix << " failed ["; in _checkFailedOp() 60 void _checkFailedOp(uint32_t lhs, uint32_t rhs, const char* op, const char* suffix, int line, in _checkFailedOp() argument 63 ss << std::endl << "SLICER_CHECK_" << suffix << " failed ["; in _checkFailedOp()
|
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | AlgorithmIdentifier.java | 143 String suffix; in getJcaSignatureAlgorithm() local 145 suffix = "RSA"; in getJcaSignatureAlgorithm() 147 suffix = "DSA"; in getJcaSignatureAlgorithm() 149 suffix = "ECDSA"; in getJcaSignatureAlgorithm() 162 return jcaDigestAlg + "with" + suffix; in getJcaSignatureAlgorithm()
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | bits.py | 87 suffix = 'avg_power' 89 suffix = 'avg_current' 91 suffix = 'avg_voltage' 94 suffix = '' 97 return suffix 98 elif suffix == '': 101 return '%s_%s' % (rail, suffix)
|
/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/javatests/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollectorTest.java | 562 private static void ensureNoMetricWithKeySuffix(Map<String, Metric> metrics, String suffix) { in ensureNoMetricWithKeySuffix() argument 571 suffix))); in ensureNoMetricWithKeySuffix() 579 Map<String, Metric> metrics, String suffix) { in getStringMetricValuesByKeySuffix() argument 587 suffix)) in getStringMetricValuesByKeySuffix() 598 Map<String, Metric> metrics, String suffix) { in getIntMetricValuesByKeySuffix() argument 599 return getStringMetricValuesByKeySuffix(metrics, suffix) in getIntMetricValuesByKeySuffix() 610 Map<String, Metric> metrics, String suffix) { in getLongMetricValuesByKeySuffix() argument 611 return getStringMetricValuesByKeySuffix(metrics, suffix) in getLongMetricValuesByKeySuffix() 617 private static boolean hasPrefixAndSuffix(String target, String prefix, String suffix) { in hasPrefixAndSuffix() argument 618 return target.startsWith(prefix) && target.endsWith(suffix); in hasPrefixAndSuffix()
|
D | ClangCodeCoverageCollectorTest.java | 737 for (String suffix : suffixes) { in checkListContainsSuffixes() 740 if (item.endsWith(suffix)) { in checkListContainsSuffixes() 747 fail("List " + list.toString() + " does not contain suffix '" + suffix + "'"); in checkListContainsSuffixes() 752 void checkListDoesNotContainSuffix(List<String> list, String suffix) { in checkListDoesNotContainSuffix() argument 754 if (item.endsWith(suffix)) { in checkListDoesNotContainSuffix() 755 fail("List " + list.toString() + " should not contain suffix '" + suffix + "'"); in checkListDoesNotContainSuffix()
|
/tools/metalava/ |
D | settings.gradle.kts | 53 val suffix = "${path.replace(":", "/")}/build" in <lambda>() constant 54 layout.buildDirectory.set(File(outDir, "metalava$suffix")) in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | utils_lib.py | 111 suffix = fuchsia_device.board_type 112 with tempfile.TemporaryDirectory(suffix=suffix) as image_path:
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | TypeItem.kt | 464 val suffixes = arrayModifiers.map { it.nullability().suffix }.reversed() in hashCode() 470 arrayModifiers.zip(suffixes).forEachIndexed { index, (modifiers, suffix) -> in hashCode() method 479 append(suffix) in hashCode() 491 append(type.modifiers.nullability().suffix) in hashCode() 527 append(type.modifiers.nullability().suffix) in hashCode() 536 append(type.modifiers.nullability().suffix) in hashCode()
|
/tools/netsim/rust/daemon/src/http_server/ |
D | http_router.rs | 87 let suffix = &route[close + 1..]; in match_route() localVariable 89 if uri.starts_with(prefix) && uri.ends_with(suffix) { in match_route() 90 Some(&uri[prefix.len()..(uri.len() - suffix.len())]) in match_route()
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | Android.bp | 44 suffix: "32", 47 suffix: "64",
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardHelper.java | 241 String suffix = String.format("_shard_index_%s", index); in rescheduleConfig() local 243 suffix = shardConfig.getCommandOptions().getHostLogSuffix() + suffix; in rescheduleConfig() 245 shardConfig.getCommandOptions().setHostLogSuffix(suffix); in rescheduleConfig()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 274 private String createMetricKey(String suffix, String serial) { in createMetricKey() argument 276 ? String.join(METRIC_SEP, METRIC_PREFIX, serial, suffix) in createMetricKey() 277 : String.join(METRIC_SEP, METRIC_PREFIX, suffix); in createMetricKey()
|
/tools/external_updater/ |
D | updater_utils.py | 98 prefix, version, suffix = match.group('prefix', 'version', 'suffix') 100 return versions, str(prefix), str(suffix)
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | MixKernelTargetPreparer.java | 195 String suffix = FileUtil.getExtension(srcFileName); in copyDeviceImageToDir() local 205 if (!suffix.isEmpty()) { in copyDeviceImageToDir() 206 newFileName = newFileName + suffix; in copyDeviceImageToDir()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileParser.java | 460 LinkedList<String> suffix = new LinkedList<>(line.subList(idx, line.size())); in expandLongMacro() local 461 suffix.remove(0); in expandLongMacro() 467 expanded.addAll(suffix); in expandLongMacro()
|
/tools/acloud/internal/lib/ |
D | ota_tools.py | 198 prefix="misc_info_", suffix=".txt", 273 prefix="system-qemu-config_", suffix=".txt",
|
/tools/asuite/atest/ |
D | atest_utils.py | 182 def getenv_abs_path(env: str, suffix: str = None) -> Path: 198 return env_path.joinpath(suffix) if suffix else env_path 200 return get_build_top(env_path, suffix) if suffix else get_build_top(env_path) 1312 suffix = '[Y/n]: ' if default else '[y/N]: ' 1314 return strtobool(input(msg + suffix)) 1831 if not any((build_file.suffix == '.bp', build_file.is_file())):
|