Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 71) sorted by relevance

123

/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py56 prefix = ''
58 prefix = '[%s] ' % ad.pretty_name
61 ad.log.info('%s%s: %s', prefix, event_name, event['data'])
64 ad.log.info('%sTimed out while waiting for %s', prefix, event_name)
88 prefix = ''
90 prefix = '[%s] ' % ad.pretty_name
94 ad.log.info('%s%s: %s', prefix, event_name, event['data'])
97 ad.log.info('%sTimed out while waiting for %s (%s)', prefix,
110 prefix = ''
112 prefix = '[%s] ' % ad.pretty_name
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java280 public static File createTempDir(String prefix) throws IOException { in createTempDir() argument
281 return createTempDir(prefix, null); in createTempDir()
294 public static File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
298 parentDir.getAbsolutePath(), prefix); in createTempDir()
300 File tmpDir = File.createTempFile(prefix, "", parentDir); in createTempDir()
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
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt181 prefix: String, in <lambda>()
184 val sb = StringBuilder(prefix.length + suffix.length) in <lambda>()
185 sb.append(prefix) in <lambda>()
205 prefix: String, in <lambda>()
209 val sb = StringBuilder(prefix.length + suffix.length) in <lambda>()
210 sb.append(prefix) in <lambda>()
262 val prefix = getOuterClassRef(text) in <lambda>() constant
264 if (!StringUtil.isEmpty(prefix)) { in <lambda>()
265 sb.append(prefix).append('.') in <lambda>()
266 tailStart = prefix.length + 1 in <lambda>()
[all …]
DJavadoc.kt244 val prefix = existingDoc.substring(0, offset) in insertInto() constant
259 prefix.substring(0, 3) + "\n *" + prefix.substring(3) + middle + in insertInto()
262 prefix + middle + suffix in insertInto()
/tools/external_updater/
Dexternal_updater_test.py25 prefix = "https://github.com/author/project/"
27 prefix + "releases/download/ver-1.0/ver-1.0-binary.zip",
28 prefix + "releases/download/ver-1.0/ver-1.0-binary.tar.gz",
29 prefix + "releases/download/ver-1.0/ver-1.0-src.zip",
30 prefix + "releases/download/ver-1.0/ver-1.0-src.tar.gz",
31 prefix + "archive/ver-1.0.zip",
32 prefix + "archive/ver-1.0.tar.gz",
35 previous_url = prefix + "releases/download/ver-0.9/ver-0.9-src.tar.gz"
37 expected_url = prefix + "releases/download/ver-1.0/ver-1.0-src.tar.gz"
40 previous_url = prefix + "archive/ver-0.9.zip"
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/rtt/
Drtt_test_utils.py44 prefix = ''
46 prefix = '[%s] ' % ad.pretty_name
49 ad.log.info('%s%s: %s', prefix, event_name, event['data'])
52 ad.log.info('%sTimed out while waiting for %s', prefix, event_name)
64 prefix = ''
66 prefix = '[%s] ' % ad.pretty_name
69 ad.log.info('%sReceived unwanted %s: %s', prefix, event_name,
73 ad.log.info('%s%s not seen (as expected)', prefix, event_name)
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java434 private File createTempDir(String prefix) throws IOException { in createTempDir() argument
435 return createTempDir(prefix, null); in createTempDir()
438 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
439 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
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()
DFixedByteArrayOutputStreamTest.java97 String prefix = "foobar"; in testWriteWithWrap() local
101 String full = prefix + followup; in testWriteWithWrap()
103 mOutStream.write(prefix.getBytes()); in testWriteWithWrap()
127 String prefix = "foobar"; in testWriteWithOffsetAndWrap() local
131 String full = prefix + followup.substring(offset); in testWriteWithOffsetAndWrap()
133 mOutStream.write(prefix.getBytes()); in testWriteWithOffsetAndWrap()
DZipUtil2Test.java131 private File createTempDir(String prefix) throws IOException { in createTempDir() argument
132 return createTempDir(prefix, null); in createTempDir()
135 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
136 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
141 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument
142 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
DZipUtilTest.java521 private File createTempDir(String prefix) throws IOException { in createTempDir() argument
522 return createTempDir(prefix, null); in createTempDir()
525 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
526 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
531 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument
532 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
DFileUtilTest.java141 final String prefix = "logcat-android.support.v7.widget.GridLayoutManagerWrapContent" in testCreateTempFile_filenameTooLong() local
146 testFile = FileUtil.createTempFile(prefix, ".gz"); in testCreateTempFile_filenameTooLong()
162 final String prefix = "logcat-android.support.v7.widget.GridLayoutManagerWrapContent" in testCreateTempFile_filenameTooLongEdge() local
170 testFile = FileUtil.createTempFile(prefix, suffix); in testCreateTempFile_filenameTooLongEdge()
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessor.java182 .filter(prefix -> key.startsWith(prefix)) in filterPerfeticMetricFiles()
381 for (String prefix : keyPrefixOtherFields) { in convertPerfettoProtoMessage()
383 additionalConvertedMetrics.put(String.format("%s-%s", prefix, in convertPerfettoProtoMessage()
400 for (String prefix : keyPrefixes) { in convertPerfettoProtoMessage()
404 prefix, in convertPerfettoProtoMessage()
436 for (String prefix : keyPrefixes) { in convertPerfettoProtoMessage()
440 prefix, in convertPerfettoProtoMessage()
/tools/repohooks/tools/
Dcheckpatch.pl283 my ($hashRef, $prefix) = @_;
286 print "\nNOTE: $prefix message types:";
1947 my $prefix = '';
1976 $output .= $prefix . $level . ':';
2133 my $prefix = $absolute;
2134 substr($prefix, -length($file)) = '';
2137 if ($prefix ne ".../") {
2365 $prefix = '';
2458 $prefix = "$realfile:$realline: "
2461 $prefix = "$filename:$realline: ";
[all …]
Dcpplint.py1136 prefix = os.path.commonprefix([root_dir, project_dir])
1137 return fullname[len(prefix) + 1:]
1152 prefix = os.path.commonprefix([root_dir, project_dir])
1153 return fullname[len(prefix) + 1:]
1843 def StripListPrefix(lst, prefix): argument
1845 if lst[:len(prefix)] != prefix:
1848 return lst[(len(prefix)):]
5530 prefix = line[:matched.start()]
5531 if prefix.endswith('std::') or not prefix.endswith('::'):
5547 prefix = line[:matched.start()]
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DPackageFilter.kt52 val prefix = pkg.removeSuffix("*") in addPackages() constant
53 if (prefix.endsWith(".")) { in addPackages()
55 val exact = prefix.substring(0, prefix.length - 1) in addPackages()
58 add(StringPrefixPredicate(prefix), treatAsPositiveMatch) in addPackages()
DApiLint.kt578 val prefix = name.removeSuffix("Observer") in <lambda>() constant
720 val prefix = when (field.containingClass().qualifiedName()) { in <lambda>() constant
726 val expected = prefix + "." + name.substring(7) in <lambda>()
790 val prefix = when { in <lambda>() constant
795 val expected = prefix + "." + name.substring(6) in <lambda>()
3580 for (prefix in options.checkApiIgnorePrefix) { in <lambda>() constant
3581 if (name.startsWith(prefix)) { in <lambda>()
/tools/test/connectivity/acts/framework/acts/
Dlogger.py192 def _setup_test_logger(log_path, prefix=None): argument
209 if prefix:
210 terminal_format = "[{}] {}".format(prefix, log_line_format)
253 def setup_test_logger(log_path, prefix=None): argument
263 _setup_test_logger(log_path, prefix)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java341 String prefix) { in onScreenshotAndBugreport() argument
342 onScreenshotAndBugreport(device, listener, prefix, null); in onScreenshotAndBugreport()
346 String prefix, TestFailureAction overrideAction) { in onScreenshotAndBugreport() argument
356 listener.testLog(prefix + "_screenshot", LogDataType.PNG, screenshot); in onScreenshotAndBugreport()
368 listener.testLog(prefix + "_bugreport", LogDataType.BUGREPORT, data); in onScreenshotAndBugreport()
/tools/acloud/internal/lib/
Dgstorage_client.py58 def List(self, bucket_name, prefix=None): argument
71 prefix)
75 prefix=prefix)
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DStatsdGenericPostProcessor.java111 mReportPrefixes.stream().filter(prefix -> key.startsWith(prefix)).findAny(); in processStatsdReportsFromLogs()
153 Map<String, Metric.Builder> metrics, String prefix) { in addPrefixToMetrics() argument
158 e -> String.join(METRIC_SEP, prefix, e.getKey()), in addPrefixToMetrics()
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_sender.py533 prefix = scapy.ICMPv6NDOptPrefixInfo(
534 prefixlen=RA_PREFIX_LEN, prefix=RA_PREFIX)
538 ip6 = base / router_solicitation / src_ll_addr / prefix / rndss
540 ip6 = base / router_solicitation / src_ll_addr / prefix
/tools/asuite/atest/
Datest_integration_tests.py126 prefix = _TEST_RUN_DIR_PREFIX % utc_epoch_time
127 return tempfile.mkdtemp(prefix=prefix)
/tools/tradefederation/core/atest/
Datest_integration_tests.py126 prefix = _TEST_RUN_DIR_PREFIX % utc_epoch_time
127 return tempfile.mkdtemp(prefix=prefix)
/tools/repohooks/rh/
Dgit.py83 prefix = 'refs/remotes/%s/' % remote
84 if ref.startswith(prefix):
85 return ref[len(prefix):]
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_proxy.py185 prefix = 'ttyACM'
188 prefix = 'tty.usbmodem'
189 if not dev.startswith(prefix):

123