/tools/external_updater/ |
D | updater_utils.py | 78 def _match_and_get_version(prefix, suffix, version): argument 84 right_format = (version_prefix == prefix and version_suffix == suffix) 95 prefix, _, suffix = _parse_version(current_version) 99 prefix, suffix, ver),
|
/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/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/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | AlgorithmIdentifier.java | 139 String suffix; in getJcaSignatureAlgorithm() local 141 suffix = "RSA"; in getJcaSignatureAlgorithm() 143 suffix = "DSA"; in getJcaSignatureAlgorithm() 145 suffix = "ECDSA"; in getJcaSignatureAlgorithm() 158 return jcaDigestAlg + "with" + suffix; in getJcaSignatureAlgorithm()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 339 public static File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 340 return internalCreateTempFile(prefix, suffix, null); in createTempFile() 350 public static File createTempFile(String prefix, String suffix, File parentDir) in createTempFile() argument 352 return internalCreateTempFile(prefix, suffix, parentDir); in createTempFile() 358 private static File internalCreateTempFile(String prefix, String suffix, File parentDir) in internalCreateTempFile() argument 362 if (suffix != null) { in internalCreateTempFile() 364 overflowLength += suffix.length(); in internalCreateTempFile() 368 + "truncating it.", prefix, suffix); in internalCreateTempFile() 371 if (suffix.length() >= overflowLength) { in internalCreateTempFile() 373 overflowLength -= suffix.length(); in internalCreateTempFile() [all …]
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | Android.bp | 39 suffix: "32", 42 suffix: "64",
|
/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/tradefederation/core/tests/src/com/android/tradefed/util/ |
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 | 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 | 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/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/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/tradefederation/core/src/com/android/tradefed/command/ |
D | ICommandOptions.java | 183 public void setHostLogSuffix(String suffix); in setHostLogSuffix() argument
|
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/acloud/internal/lib/ |
D | ota_tools.py | 199 prefix="misc_info_", suffix=".txt", 275 prefix="system-qemu-config_", suffix=".txt",
|
D | utils.py | 285 def GenerateUniqueName(prefix=None, suffix=None): argument 298 if suffix: 299 name = "-".join([name, suffix])
|
/tools/asuite/aidegen_functional_test/ |
D | Android.bp | 32 suffix: "-dev",
|
/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/asuite/aidegen/ |
D | Android.bp | 33 suffix: "-dev",
|
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/ |
D | local_base.py | 126 _, self._temp_capture_file_path = tempfile.mkstemp(suffix=".pcap")
|
/tools/currysrc/scripts/ |
D | repackage-common.sh | 97 CHANGE_LOG=$(mktemp --suffix srcgen-change.log)
|
/tools/acloud/public/ |
D | device_driver.py | 85 suffix=self._cfg.disk_image_name) 141 suffix=self._cfg.disk_image_name)
|