Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 81) sorted by relevance

1234

/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_retail_ap.py555 config_item.first.checked)
563 config_item.first.value]
567 config_item.first.value]
570 config_item.first.value]
579 key[1], key[0])] = config_item.first.value
597 self.config_page_fields["region"]).first
601 config_item = browser.find_by_name(value).first
605 config_item = browser.find_by_name(value).first
624 "password")]).first
635 config_item = browser.find_by_name(value).first
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt97 var first = true in appendSourceExpression() variable
101 if (first) { in appendSourceExpression()
102 first = false in appendSourceExpression()
112 first = true in appendSourceExpression()
160 var first = true in appendExpression() variable
164 if (first) { in appendExpression()
165 first = false in appendExpression()
175 first = true in appendExpression()
280 var first = true in appendExpression() variable
282 if (first) { in appendExpression()
[all …]
DPsiTypeItem.kt544 var first = true in typeParameterList() variable
546 if (!first) { in typeParameterList()
549 first = false in typeParameterList()
564 var first = true in typeParameterList() variable
566 if (!first) { in typeParameterList()
569 first = false in typeParameterList()
588 var first = true in typeParameterList() variable
590 if (!first) { in typeParameterList()
593 first = false in typeParameterList()
631 var first = true in typeParameterList() variable
[all …]
DUAnnotationItem.kt160 …if (attributes.size == 1 && (attributes[0].first == null || attributes[0].first == SdkConstants.AT… in <lambda>()
164 var first = true in <lambda>() variable
166 if (first) { in <lambda>()
167 first = false in <lambda>()
171 sb.append(attribute.first ?: SdkConstants.ATTR_VALUE) in <lambda>()
237 var first = true in <lambda>() variable
239 if (first) { in <lambda>()
240 first = false in <lambda>()
DPsiAnnotationItem.kt175 … if (attributes.size == 1 && (attributes[0].first == null || attributes[0].first == ATTR_VALUE)) { in <lambda>()
179 var first = true in <lambda>() variable
181 if (first) { in <lambda>()
182 first = false in <lambda>()
186 sb.append(attribute.first ?: ATTR_VALUE) in <lambda>()
251 var first = true in <lambda>() variable
253 if (first) { in <lambda>()
254 first = false in <lambda>()
/tools/dexter/dexter/
Ddissasembler.cc30 bool first = true; in MethodDeclaration() local
32 ss << (first ? "" : ", ") << type->Decl(); in MethodDeclaration()
33 first = false; in MethodDeclaration()
46 if (instr == current_block.region.first) { in StartInstruction()
65 bool first = true; in Visit() local
67 printf(first ? " " : ", "); in Visit()
69 first = false; in Visit()
144 bool first = true; in Visit() local
147 printf("%sv%d", (first ? "" : ","), reg); in Visit()
148 first = false; in Visit()
[all …]
Dexperimental.cc399 block.region.first->offset, in CodeCoverage()
404 for (auto instr = block.region.first; instr != nullptr; instr = instr->next) { in CodeCoverage()
465 printf("%6d [ %3d ] ", kv.second, kv.first); in PrintHistogram()
544 printf(" %s\n", e.first.c_str()); in ListExperiments()
/tools/asuite/atest/
Dunittest_utils.py24 def assert_strict_equal(test_class, first, second): argument
31 if isinstance(first, list) and isinstance(second, list):
32 first.sort()
34 test_class.assertEqual(first, second)
36 if not (isinstance(first, str) and
38 test_class.assertIsInstance(first, type(second))
39 test_class.assertIsInstance(second, type(first))
41 if isinstance(first, tuple) and hasattr(first, '_fields'):
43 for f in first._fields:
44 assert_strict_equal(test_class, getattr(first, f),
/tools/tradefederation/core/src/com/android/tradefed/util/
DPair.java24 public final A first; field in Pair
27 public Pair(A first, B second) { in Pair() argument
28 this.first = first; in Pair()
46 if (this.first == null) { in equals()
47 if (pair.first != null) { in equals()
50 } else if (!this.first.equals(pair.first)) { in equals()
68 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode()); in hashCode()
/tools/tradefederation/core/atest/
Dunittest_utils.py24 def assert_strict_equal(test_class, first, second): argument
30 test_class.assertEqual(first, second)
32 if not (isinstance(first, basestring) and
34 test_class.assertIsInstance(first, type(second))
35 test_class.assertIsInstance(second, type(first))
37 if isinstance(first, tuple) and hasattr(first, '_fields'):
39 for f in first._fields:
40 assert_strict_equal(test_class, getattr(first, f),
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DGAP_PTS_INSTRUCTIONS189 Note: Run the test a first time and it will fail. Change the address to
207 Note: Run the test a first time and it will fail. Change the address to
250 Note: Run the test a first time and it will fail. Change the address to
267 Note: Run the test a first time and it will fail. Change the address to
296 Note: Run the test a first time and it will fail. Change the address to
317 Note: Run the test a first time and it will fail. Change the address to
347 Note: Run the test a first time and it will fail. Change the address to
548 Note: Run the first 4 commands before executing the testcase on PTS Side
562 Note: Run the first 4 commands before executing the testcase on PTS Side
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt325 header invokes the module to process the first extension header, or
378 The first four are specified in this document; the last two are
404 note 1: for options to be processed by the first destination
604 including the first 8 octets.
648 header in 8-octet units, not including the first
777 header in 8-octet units, not including the first
1057 | Unfragmentable | first | second | | last |
1074 | Unfragmentable |Fragment| first |
1100 The Next Header value that identifies the first header of
1106 Offset of the first ("leftmost") fragment is 0.
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt213 val first = typeString[0] in markRecent() constant
214 if (!Character.isUpperCase((first)) && first != '_') { in markRecent()
269 return bounds.first().qualifiedName() + s.substring(end) in markRecent()
355 val first = if (space != -1) { in markRecent() constant
364 if (first != -1) { in markRecent()
365 first in markRecent()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java152 final int durationLeft = durationBounds.first.intValue(); in analyzeImage()
154 final int amplitudeTop = amplitudeBounds.first.intValue(); in analyzeImage()
171 if (amplResult.first != Result.PASS) { in analyzeImage()
185 if (amplResult.first != Result.PASS) { in analyzeImage()
414 final int min = horizontalMinMax.first.intValue(); in projectPixelsToYAxis()
474 return low <= bounds.first.intValue() in boundsWithinRange()
475 && bounds.first.intValue() < high in boundsWithinRange()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt422 val first = name[0] in <lambda>() constant
425first !in 'a'..'z' -> report(START_WITH_LOWER, method, "Method name must start with lowercase char… in <lambda>()
464 val first = name[0] in <lambda>() constant
466 first !in 'A'..'Z' -> { in <lambda>()
654 val method = methods.first() in <lambda>()
2080 val constructor = constructors.first() in <lambda>()
3713 return result.range.first == name.length - 2 || acronymPattern3.find(name) != null in <lambda>()
3719 if (result.range.first == name.length - 2) { in <lambda>()
3724 name.substring(result2.range.first, result2.range.last + 1) in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DPair.java26 private Pair(A first, B second) { in Pair() argument
27 mFirst = first; in Pair()
31 public static <A, B> Pair<A, B> of(A first, B second) { in of() argument
32 return new Pair<A, B>(first, second); in of()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DZlibExtractorTest.kt59 val first = it.next() in testExtractInitial() constant
60 assertNotNull(first) in testExtractInitial()
61 assertTrue(first.length > expected.length) in testExtractInitial()
62 assertEquals(expected, first.slice(0, expected.length).toString()) in testExtractInitial()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DGattConnectedBaseTest.py210 def assertEqual(self, first, second, msg=None): argument
211 if not first == second:
213 raise AssertionError('%r != %r' % (first, second))
215 raise AssertionError(msg + ' %r != %r' % (first, second))
/tools/tradefederation/core/atest/docs/
Ddeveloper_workflow.md16 this division, your first step should be to identify the code
73 first add atest to your PYTHONPATH via entering in your terminal:
105 to build TradeFed first. See the
109 first run the test file your code change affected individually. The
/tools/asuite/atest/docs/
Ddeveloper_workflow.md16 this division, your first step should be to identify the code
73 first add atest to your PYTHONPATH via entering in your terminal:
105 to build TradeFed first. See the
109 first run the test file your code change affected individually. The
/tools/repohooks/tools/
Dpylintrc144 # disable everything first and then reenable specific checks. For example, if
455 # List of valid names for the first argument in a class method.
456 valid-classmethod-first-arg=cls
458 # List of valid names for the first argument in a metaclass class method.
459 valid-metaclass-classmethod-first-arg=mcs
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java122 StubTest first = new StubTest(); in testPollingRun() local
123 OptionSetter setterFirst = new OptionSetter(first); in testPollingRun()
127 testsList.add(first); in testPollingRun()
146 assertEquals(mConfiguration, first.getConfiguration()); in testPollingRun()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py232 def assert_equal_strings(first, second, msg=None, extras=None): argument
245 if first == None:
246 first = ''
249 asserts.assert_equal(first, second, msg, extras)
/tools/test/connectivity/acts/framework/acts/
Dasserts.py32 def assert_almost_equal(first, argument
53 first, second, msg=msg, delta=delta)
56 first, second, places=places, msg=msg)
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/
DSliceGroupBuilderTest.kt37 assertEquals(slice, group.slices.first()) in testSimpleBuild()
64 assertEquals(slice, group.slices.first()) in testNestedBuild()
66 assertEquals(child, slice.children.first()) in testNestedBuild()

1234