Home
last modified time | relevance | path

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

1234

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt98 var first = true in appendSourceExpression() variable
102 if (first) { in appendSourceExpression()
103 first = false in appendSourceExpression()
113 first = true in appendSourceExpression()
161 var first = true in appendExpression() variable
165 if (first) { in appendExpression()
166 first = false in appendExpression()
176 first = true in appendExpression()
281 var first = true in appendExpression() variable
283 if (first) { in appendExpression()
[all …]
DPsiTypeItem.kt563 var first = true in typeParameterList() variable
565 if (!first) { in typeParameterList()
568 first = false in typeParameterList()
583 var first = true in typeParameterList() variable
585 if (!first) { in typeParameterList()
588 first = false in typeParameterList()
607 var first = true in typeParameterList() variable
609 if (!first) { in typeParameterList()
612 first = false in typeParameterList()
650 var first = true in typeParameterList() variable
[all …]
DPsiAnnotationItem.kt151 … if (attributes.size == 1 && (attributes[0].first == null || attributes[0].first == ATTR_VALUE)) { in <lambda>()
155 var first = true in <lambda>() variable
157 if (first) { in <lambda>()
158 first = false in <lambda>()
162 sb.append(attribute.first ?: ATTR_VALUE) in <lambda>()
229 var first = true in <lambda>() variable
231 if (first) { in <lambda>()
232 first = false in <lambda>()
DUAnnotationItem.kt135 … if (attributes.size == 1 && (attributes[0].first == null || attributes[0].first == ATTR_VALUE)) { in <lambda>()
139 var first = true in <lambda>() variable
141 if (first) { in <lambda>()
142 first = false in <lambda>()
146 sb.append(attribute.first ?: ATTR_VALUE) in <lambda>()
191 var first = true in <lambda>() variable
193 if (first) { in <lambda>()
194 first = false in <lambda>()
DPsiItem.kt267 val first = element.sourcePsiElement?.firstChild in javadoc() constant
268 if (first is KDoc) { in javadoc()
269 return first.text in javadoc()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
Dnetgear_r7500.py154 wireless_button = browser.find_by_id('wireless').first
161 config_item = iframe.find_by_name(value).first
165 config_item = iframe.find_by_name(value).first
170 config_item = iframe.find_by_name(value).first
181 config_item = iframe.find_by_name(value).first
199 wireless_button = browser.find_by_id('wireless').first
206 self.config_page_fields['region']).first
211 config_item = iframe.find_by_name(value).first
221 config_item = iframe.find_by_name(value).first
228 config_item = iframe.find_by_name(value).first
[all …]
Dnetgear_rax200.py280 config_item.first.checked)
286 self.ap_settings[key] = int(config_item.first.checked)
290 config_item.first.value]
294 config_item.first.value]
297 config_item.first.value]
305 config_item.first.value)
309 key[1]] = config_item.first.value
328 self.config_page_fields['region']).first
334 config_item = browser.find_by_name(value).first
340 config_item = browser.find_by_name(value).first
[all …]
Dnetgear_raxe500.py309 config_item.first.checked)
315 self.ap_settings[key] = int(config_item.first.checked)
319 config_item.first.value]
323 config_item.first.value]
326 config_item.first.value]
334 config_item.first.value)
338 key[1]] = config_item.first.value
357 self.config_page_fields['region']).first
363 config_item = browser.find_by_name(value).first
369 config_item = browser.find_by_name(value).first
[all …]
Dnetgear_r7000.py151 config_item.first.checked)
158 config_item.first.value]
162 config_item.first.value]
165 config_item.first.value]
173 key[1]] = config_item.first.value
191 self.config_page_fields['region']).first
195 config_item = browser.find_by_name(value).first
199 config_item = browser.find_by_name(value).first
214 'password')]).first
224 config_item = browser.find_by_name(value).first
[all …]
Dnetgear_rax120.py271 wireless_button = browser.find_by_id('wireless').first
277 config_item = iframe.find_by_name('enable_ax').first
282 config_item = iframe.find_by_name(value).first
286 config_item = iframe.find_by_name(value).first
291 config_item = iframe.find_by_name(value).first
302 config_item = iframe.find_by_name(value).first
305 config_item = iframe.find_by_name(value).first
322 wireless_button = browser.find_by_id('wireless').first
332 iframe.find_by_name('enable_ax').first.checked)
340 self.config_page_fields['region']).first
[all …]
Dbrcm_ref.py139 self.config_page_fields[key][0]).first
144 self.config_page_fields[key]).first
210 self.config_page_fields[(interface, 'interface')][0]).first
219 self.config_page_fields[key]).first
236 config_item.first.click()
240 config_item.first.click()
/tools/dexter/dexter/
Ddisassembler.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 …]
/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/asuite/atest-py2/
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/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().toTypeString() + s.substring(end) in markRecent()
355 val first = if (space != -1) { in markRecent() constant
364 if (first != -1) { in markRecent()
365 first in markRecent()
DApiFile.kt72 var first = true in parseApi() variable
74 if (!first) { in parseApi()
83 parseApiSingleFile(api, !first, file.path, apiText, kotlinStyleNulls) in parseApi()
84 first = false in parseApi()
496 val (first, second) = processKotlinTypeSuffix(api, token, annotations) in parseMethod() constant
497 token = first in parseMethod()
582 val (first, second) = processKotlinTypeSuffix(api, token, annotations) in parseField() constant
583 token = first in parseField()
769 val (first, second) = processKotlinTypeSuffix(api, token, annotations) in parseProperty() constant
770 token = first in parseProperty()
/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/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/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()
/tools/trebuchet/trebuchet/analyzer/src/
DAnalyzer.kt39 val rtThread = process.threads.first { it.name == "RenderThread" } in measureStartup()
40 val start = uiThread.slices.first { in measureStartup()
43 val end = rtThread.slices.first { in measureStartup()
/tools/test/connectivity/acts_tests/acts_contrib/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/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt338 var first = true in appendMethodSignature() variable
340 if (first) { in appendMethodSignature()
341 first = false in appendMethodSignature()
/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt117 map { it.first().startTime }. in findProcess()
148 newProc.threads.first().schedSlices.forEach schedLoop@ { schedSlice -> in Model()
168 newProc.threads.first().traverseSlices(object : SliceTraverser { in Model()
/tools/asuite/atest/docs/
Ddeveloper_workflow.md16 this division, your first step should be to identify the code
84 To directly execute any individual unittest file, you'll need to first add
120 to build TradeFed first. See the
124 first run the test file your code change affected individually. The

1234