Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 25 of 32) sorted by relevance

12

/tools/external_updater/
Dupdater_utils.py78 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/
Dota_runner_factory.py183 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/
DAlignmentRules.java49 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/
DAlgorithmIdentifier.java139 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/
DFileUtil.java339 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/
DAndroid.bp39 suffix: "32",
42 suffix: "64",
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DRuntimeRestartCollectorTest.java551 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/
DClangCodeCoverageListenerTest.java414 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/
DZipUtil2Test.java141 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument
142 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
DFileUtilFuncTest.java444 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()
DFileUtilTest.java166 final String suffix = "logcat-android.support.v7.widget.GridLayoutManagerWrapContent" in testCreateTempFile_filenameTooLongEdge() local
170 testFile = FileUtil.createTempFile(prefix, suffix); in testCreateTempFile_filenameTooLongEdge()
DZipUtilTest.java531 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/
DShardHelper.java211 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/
DRuntimeRestartCollector.java280 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/
DICommandOptions.java183 public void setHostLogSuffix(String suffix); in setHostLogSuffix() argument
DCommandFileParser.java459 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()
DCommandOptions.java505 public void setHostLogSuffix(String suffix) { in setHostLogSuffix() argument
506 mHostLogSuffix = suffix; in setHostLogSuffix()
/tools/acloud/internal/lib/
Dota_tools.py199 prefix="misc_info_", suffix=".txt",
275 prefix="system-qemu-config_", suffix=".txt",
Dutils.py285 def GenerateUniqueName(prefix=None, suffix=None): argument
298 if suffix:
299 name = "-".join([name, suffix])
/tools/asuite/aidegen_functional_test/
DAndroid.bp32 suffix: "-dev",
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DFakeTest.java176 final String suffix = m.group(4); in decode() local
183 nextState.append(suffix); in decode()
/tools/asuite/aidegen/
DAndroid.bp33 suffix: "-dev",
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/
Dlocal_base.py126 _, self._temp_capture_file_path = tempfile.mkstemp(suffix=".pcap")
/tools/currysrc/scripts/
Drepackage-common.sh97 CHANGE_LOG=$(mktemp --suffix srcgen-change.log)
/tools/acloud/public/
Ddevice_driver.py85 suffix=self._cfg.disk_image_name)
141 suffix=self._cfg.disk_image_name)

12