Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 186) sorted by relevance

12345678

/tools/dexter/testdata/expected/
Dmedium.code_coverage1 1: mi=730 s=0 e=0
2 2: mi=730 s=3 e=3
3 3: mi=731 s=0 e=0
4 4: mi=731 s=2 e=2
5 5: mi=731 s=5 e=5
6 6: mi=732 s=0 e=0
7 7: mi=732 s=3 e=4
8 8: mi=733 s=0 e=0
9 9: mi=733 s=2 e=2
10 10: mi=734 s=0 e=0
[all …]
Dexit_hooks.code_coverage1 1: mi=0 s=0 e=2
2 2: mi=0 s=5 e=5
3 3: mi=1 s=0 e=1
4 4: mi=1 s=3 e=3
5 5: mi=1 s=5 e=5
6 6: mi=1 s=8 e=8
7 7: mi=1 s=11 e=11
8 8: mi=1 s=13 e=13
9 9: mi=1 s=15 e=15
10 10: mi=1 s=18 e=18
[all …]
Dentry_hooks.code_coverage1 1: mi=0 s=0 e=2
2 2: mi=0 s=5 e=5
3 3: mi=1 s=0 e=3
4 4: mi=1 s=5 e=5
5 5: mi=1 s=7 e=8
6 6: mi=1 s=10 e=15
7 7: mi=1 s=18 e=19
8 8: mi=1 s=21 e=26
9 9: mi=1 s=28 e=28
10 10: mi=1 s=31 e=34
[all …]
Dhello.code_coverage1 1: mi=0 s=0 e=4
2 2: mi=0 s=6 e=7
3 3: mi=0 s=10 e=10
4 4: mi=1 s=0 e=2
5 5: mi=1 s=5 e=5
6 6: mi=2 s=0 e=2
7 7: mi=2 s=5 e=5
8 8: mi=3 s=0 e=2
9 9: mi=3 s=5 e=5
10 10: mi=3 s=7 e=7
[all …]
Dhello_nodebug.code_coverage1 1: mi=0 s=0 e=4
2 2: mi=0 s=6 e=7
3 3: mi=0 s=10 e=10
4 4: mi=1 s=0 e=2
5 5: mi=1 s=5 e=5
6 6: mi=2 s=0 e=2
7 7: mi=2 s=5 e=5
8 8: mi=3 s=0 e=2
9 9: mi=3 s=5 e=5
10 10: mi=3 s=7 e=7
[all …]
Dtry_catch.code_coverage1 1: mi=0 s=0 e=2
2 2: mi=0 s=5 e=5
3 3: mi=1 s=0 e=2
4 4: mi=1 s=5 e=5
5 5: mi=2 s=0 e=2
6 6: mi=2 s=5 e=5
7 7: mi=3 s=0 e=2
8 8: mi=3 s=4 e=5
9 9: mi=3 s=8 e=9
10 10: mi=3 s=10 e=10
[all …]
Dmi.code_coverage1 1: mi=0 s=0 e=0
2 2: mi=0 s=3 e=3
3 3: mi=1 s=0 e=1
4 4: mi=3 s=0 e=0
5 5: mi=3 s=3 e=3
6 6: mi=3 s=5 e=5
7 7: mi=3 s=7 e=7
8 8: mi=4 s=0 e=0
9 9: mi=4 s=2 e=2
10 10: mi=4 s=5 e=6
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt257 private fun substituteTypeParameters(s: String, context: Item?): String { in markRecent()
259 var end = s.indexOf('[') in markRecent()
261 end = s.length in markRecent()
263 if (s[0].isUpperCase() && s.lastIndexOf('.', end) == -1) { in markRecent()
264 val v = s.substring(0, end) in markRecent()
269 return bounds.first().qualifiedName() + s.substring(end) in markRecent()
273 return JAVA_LANG_OBJECT + s.substring(end) in markRecent()
279 return s in markRecent()
282 fun eraseTypeArguments(s: String): String { in markRecent()
283 val index = s.indexOf('<') in markRecent()
[all …]
DTextTypeParameterItem.kt91 val s = typeString ?: return emptyList() in bounds() constant
92 val index = s.indexOf("extends ") in bounds()
98 if (p.simpleName() == s) { in bounds()
108 val length = s.length in bounds()
110 val c = s[i] in bounds()
132 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add()
134 if (!Character.isWhitespace(s[i])) { in add()
136 while (end > i && s[end - 1].isWhitespace()) { in add()
140 while (begin < end && s[begin].isWhitespace()) { in add()
146 val element = s.substring(begin, end) in add()
DTextTypeParameterList.kt62 val s = typeString ?: return emptyList() in typeParameterStrings() constant
67 for (i in s.indices) { in typeParameterStrings()
68 val c = s[i] in typeParameterStrings()
75 add(list, s, start, i + 1) in typeParameterStrings()
78 add(list, s, start, i) in typeParameterStrings()
83 add(list, s, start, i) in typeParameterStrings()
96 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add()
98 if (!Character.isWhitespace(s[i])) { in add()
99 list.add(s.substring(i, to)) in add()
DTextCodebase.kt138 val s = existing ?: JAVA_LANG_OBJECT in resolveSuperclasses() constant
139s // unnecessary variable, works around current compiler believing the expression to be nullable in resolveSuperclasses()
440 private fun implicitJavaLangType(s: String): Boolean { in implicitJavaLangType()
441 if (s.length <= 1) { in implicitJavaLangType()
444 if (s[1] == '[') { in implicitJavaLangType()
448 val dotIndex = s.indexOf('.') in implicitJavaLangType()
449 val array = s.indexOf('[') in implicitJavaLangType()
450 val generics = s.indexOf('<') in implicitJavaLangType()
452 return dotIndex == -1 && !TextTypeItem.isPrimitive(s) in implicitJavaLangType()
466 …return (dotIndex == -1 || dotIndex > typeEnd) && !TextTypeItem.isPrimitive(s.substring(0, typeEnd)… in implicitJavaLangType()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestResultParserTest.java71 String s = "a (b) ... ok"; in testRegexTestCase() local
72 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase()
73 assertFalse(PythonUnitTestResultParser.PATTERN_TWO_LINE_RESULT_FIRST.matcher(s).matches()); in testRegexTestCase()
74 s = "a (b) ... FAIL"; in testRegexTestCase()
75 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase()
76 s = "a (b) ... ERROR"; in testRegexTestCase()
77 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase()
78 s = "a (b) ... expected failure"; in testRegexTestCase()
79 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase()
80 s = "a (b) ... skipped 'reason foo'"; in testRegexTestCase()
[all …]
/tools/repohooks/rh/
Dshell.py47 def shell_quote(s): argument
74 if isinstance(s, bytes):
75 s = s.encode('utf-8')
78 for c in s:
82 return s if s else u"''"
85 if "'" not in s:
86 return u"'%s'" % s
91 if c in s:
92 s = s.replace(c, r'\%s' % c)
93 return u'"%s"' % s
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
Dcommand_input.py103 def str_to_bool(self, s): argument
104 if s.lower() == 'true':
106 elif s.lower() == 'false':
232 completions = [s for s in roles if s.startswith(text)]
254 s for s in sig_appearance_constants.keys()
255 if s.startswith(text)
272 completions = [s for s in options if s.startswith(text)]
298 completions = [s for s in options if s.startswith(text)]
492 completions = [s for s in self.le_ids if s.startswith(text)]
1383 s for s in gatt_test_database.GATT_SERVER_DB_MAPPING.keys()
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py84 s = signals.TestPass(self.details, self.float_extra)
85 record.test_pass(s)
95 s = signals.TestPass(self.details, self.json_extra)
96 record.test_pass(s)
116 s = signals.TestFailure(self.details, self.float_extra)
117 record.test_fail(s)
127 s = signals.TestFailure(self.details, self.json_extra)
128 record.test_fail(s)
148 s = signals.TestSkip(self.details, self.float_extra)
149 record.test_skip(s)
[all …]
/tools/repohooks/tools/
Dcheckpatch.pl911 my $output = `git log --no-color --format='%H %s' -1 $commit 2>&1`;
961 my $lines = `git log --no-color --no-merges --pretty=format:'%H %s' $git_range`;
3363 my $s = $stat;
3364 $s =~ s/{.*$//s;
3367 if ($s =~ /$Ident:\*$/s) {
3370 } elsif ($s =~ /^.\s*$Ident\s*\(/s) {
3372 } elsif ($s =~ /^.\s*else\b/s) {
3375 …} elsif ($prev_values eq 'E' && $s =~ /^.\s*(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?((?:\s*$Id…
3378 possible($type, "A:" . $s);
3381 } elsif ($s =~ /^.(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?($Ident)\b\s*(?!:)/s) {
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/pts/
Dcmd_input.py417 s for s in gatt_test_database.GATT_SERVER_DB_MAPPING.keys()
418 if s.startswith(text)
428 s for s in gatt_server_responses.keys() if s.startswith(text)
439 s for s in gatt_server_responses.keys() if s.startswith(text)
450 s for s in gatt_server_responses.keys() if s.startswith(text)
563 completions = [s for s in options if s.startswith(text)]
572 completions = [s for s in options if s.startswith(text)]
580 completions = [s for s in str_adv_list if s.startswith(text)]
693 completions = [s for s in options if s.startswith(text)]
701 completions = [s for s in completions if s.startswith(text)]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustTestBaseTest.java41 String[] s = {"test*filter1", "s1", "*s2", "s3*"}; in testIncludeFilters() local
43 Set<String> set1 = new HashSet<>(Arrays.asList(s[0])); in testIncludeFilters()
44 Set<String> set2 = new HashSet<>(Arrays.asList(s[1], s[2], s[3])); in testIncludeFilters()
46 runner.addIncludeFilter(s[0]); in testIncludeFilters()
50 runner.addIncludeFilter(s[2]); in testIncludeFilters()
62 String[] s = {"test*filter1", "s1", "*s2", "s3*"}; in testExcludeFilters() local
64 Set<String> set1 = new HashSet<>(Arrays.asList(s[0])); in testExcludeFilters()
65 Set<String> set2 = new HashSet<>(Arrays.asList(s[1], s[2], s[3])); in testExcludeFilters()
67 runner.addExcludeFilter(s[0]); in testExcludeFilters()
71 runner.addExcludeFilter(s[2]); in testExcludeFilters()
DRustTestResultParserTest.java70 for (String s : goodPatterns) { in testRegexTestCase()
71 assertTrue(s, RustTestResultParser.RUST_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase()
73 for (String s : wrongPatterns) { in testRegexTestCase()
74 assertFalse(s, RustTestResultParser.RUST_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase()
92 for (String s : goodPatterns) { in testRegexRunSummary()
93 assertTrue(s, RustTestResultParser.COMPLETE_PATTERN.matcher(s).matches()); in testRegexRunSummary()
95 for (String s : wrongPatterns) { in testRegexRunSummary()
96 assertFalse(s, RustTestResultParser.COMPLETE_PATTERN.matcher(s).matches()); in testRegexRunSummary()
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt157 interface - a node's attachment to a link.
321 by any node along a packet's delivery path, until the packet reaches
345 and processed by every node along a packet's delivery path, including
489 packet's Destination Address was a multicast address, send an
490 ICMP Parameter Problem, Code 2, message to the packet's
493 11 - discard the packet and, only if the packet's Destination
495 Problem, Code 2, message to the packet's Source Address,
500 packet's final destination. When an Authentication header is present
513 computing or verifying the packet's authenticating value.
583 that must be examined by every node along a packet's delivery path.
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTargetSetupErrorTest.java48 File s = SerializationUtil.serialize(exception); in testSerialization() local
50 assertTrue(s.exists()); in testSerialization()
51 assertTrue(s.isFile()); in testSerialization()
52 Object o = SerializationUtil.deserialize(s, true); in testSerialization()
56 FileUtil.deleteFile(s); in testSerialization()
78 File s = SerializationUtil.serialize(exception); in testSerialization_withIDevice() local
80 assertTrue(s.exists()); in testSerialization_withIDevice()
81 assertTrue(s.isFile()); in testSerialization_withIDevice()
82 Object o = SerializationUtil.deserialize(s, true); in testSerialization_withIDevice()
88 FileUtil.deleteFile(s); in testSerialization_withIDevice()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt685 … fun createReferenceFromText(s: String, parent: PsiElement? = null): PsiJavaCodeReferenceElement = in <lambda>()
686 getFactory().createReferenceFromText(s, parent) in <lambda>()
688 fun createPsiMethod(s: String, parent: PsiElement? = null): PsiMethod = in <lambda>()
689 getFactory().createMethodFromText(s, parent) in <lambda>()
691 fun createConstructor(s: String, parent: PsiElement? = null): PsiMethod = in <lambda>()
692 getFactory().createConstructor(s, parent) in <lambda>()
694 fun createPsiType(s: String, parent: PsiElement? = null): PsiType = in <lambda>()
695 getFactory().createTypeFromText(s, parent) in <lambda>()
697 fun createPsiAnnotation(s: String, parent: PsiElement? = null): PsiAnnotation = in <lambda>()
698 getFactory().createAnnotationFromText(s, parent) in <lambda>()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java86 ServerSocket s = null; in Sl4aClient() local
89 s = new ServerSocket(0); in Sl4aClient()
90 s.setReuseAddress(true); in Sl4aClient()
91 port = s.getLocalPort(); in Sl4aClient()
92 s.close(); in Sl4aClient()
127 ServerSocket s = null; in startSL4A() local
130 s = new ServerSocket(0); in startSL4A()
131 s.setReuseAddress(true); in startSL4A()
132 port = s.getLocalPort(); in startSL4A()
133 s.close(); in startSL4A()
/tools/metalava/
DFORMAT.md8 1. The format emitted by doclava, and used for Android's signature files up
78 Here's how this looks:
86 (Notice how the annotations are not using fully qualified name; that's discussed
100 explicit nullness, use Kotlin's syntax for nullness. That means that for
102 and otherwise there's no suffix. In other words:
189 whereas in the v2 format it's included:
211 Note how that's "throws Throwable" instead of "throws X". This results in b/110302703.
230 since those are API-significant. Here's how this looks in the v2 file format
265 Kotlin's Java support means that it wil take a Kotlin property and compile it
286 the getters and setters away from the defaults), but it's helpful to be explicit
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt1439 var s = string in <lambda>() variable
1442 s = s.replace(project.path, "TESTROOT") in <lambda>()
1443 s = s.replace(project.canonicalPath, "TESTROOT") in <lambda>()
1446 s = s.replace(temporaryFolder.root.path, "TESTROOT") in <lambda>()
1450 s = s.replace(tmp, "TEST") in <lambda>()
1453 s = s.trim() in <lambda>()
1456 s = s.replace("TESTROOT/", "") in <lambda>()
1459 return s in <lambda>()

12345678