Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 43) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/util/
DPair.java25 public final B second; field in Pair
27 public Pair(A first, B second) { in Pair() argument
29 this.second = second; in Pair()
53 if (this.second == null) { in equals()
54 if (pair.second != null) { in equals()
57 } else if (!this.second.equals(pair.second)) { in equals()
68 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode()); in hashCode()
/tools/asuite/atest/
Dunittest_utils.py24 def assert_strict_equal(test_class, first, second): argument
31 if isinstance(first, list) and isinstance(second, list):
33 second.sort()
34 test_class.assertEqual(first, second)
37 isinstance(second, str)):
38 test_class.assertIsInstance(first, type(second))
39 test_class.assertIsInstance(second, type(first))
45 getattr(second, f))
/tools/tradefederation/core/atest/
Dunittest_utils.py24 def assert_strict_equal(test_class, first, second): argument
30 test_class.assertEqual(first, second)
33 isinstance(second, basestring)):
34 test_class.assertIsInstance(first, type(second))
35 test_class.assertIsInstance(second, type(first))
41 getattr(second, f))
/tools/dexter/slicer/
Dcode_ir.cc281 FixupPackedSwitch(fixup.second.instr, fixup.second.base_offset, in FixupSwitches()
287 FixupSparseSwitch(fixup.second.instr, fixup.second.base_offset, in FixupSwitches()
347 label.second->id = nextLabelId++; in Dissasemble()
348 tmp_labels.push_back(label.second); in Dissasemble()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java153 final int durationRight = durationBounds.second.intValue(); in analyzeImage()
155 final int amplitudeBottom = amplitudeBounds.second.intValue(); in analyzeImage()
415 final int max = horizontalMinMax.second.intValue(); in projectPixelsToYAxis()
476 && low <= bounds.second.intValue() in boundsWithinRange()
477 && bounds.second.intValue() < high; in boundsWithinRange()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DPair.java26 private Pair(A first, B second) { in Pair() argument
28 mSecond = second; 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/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/dexter/dexter/
Dexperimental.cc461 max_count = std::max(max_count, kv.second); in PrintHistogram()
465 printf("%6d [ %3d ] ", kv.second, kv.first); in PrintHistogram()
466 int hist_len = static_cast<int>(static_cast<double>(kv.second) / max_count * kHistogramWidth); in PrintHistogram()
559 (*it->second)(dex_ir); in Run()
Ddexter.cc85 cfg_type_ = it->second; in Run()
/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
247 if second == None:
248 second = ''
249 asserts.assert_equal(first, second, msg, extras)
/tools/test/connectivity/acts/framework/acts/
Dasserts.py33 second, argument
53 first, second, msg=msg, delta=delta)
56 first, second, places=places, msg=msg)
/tools/tradefederation/contrib/src/com/android/regression/tests/
DMetrics.java125 id.first, id.second, mNumRuns, mTestMetrics.get(id).size())); in validate()
162 id.first, id.second)); in crossValidate()
171 id.first, id.second)); in crossValidate()
DDetectRegression.java159 id.first.toString(), getTableRow(id.second, beforeMetrics, afterMetrics)); in runRegressionDetection()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java893 byte[] second = element.getSecond(); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
894 result.putInt(8 + second.length); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
896 result.putInt(second.length); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
897 result.put(second); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterLogSaverTest.java306 File second = createMockFile("second", "foo.txt"); in testInvocationEnded_duplicateUpload() local
319 Mockito.verify(mMockTestOutputUploader).uploadFile(second, null); in testInvocationEnded_duplicateUpload()
330 File second = createMockFile("extra", "2.txt"); in testAppendFilesToContext() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileIdleMonitorTest.java69 long second = System.currentTimeMillis() - 3_000L; in testSchedulesCheckIfTimeoutNotReached() local
70 FileIdleMonitor monitor = createMonitor(first, second); in testSchedulesCheckIfTimeoutNotReached()
/tools/loganalysis/src/com/android/loganalysis/parser/
DBatteryStatsSummaryInfoParser.java79 final int second = Integer.parseInt(resetTimeMatcher.group(6)); in parse() local
81 mResetTime.set(year, (month - 1), day, hour, minute, second); in parse()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBufferReader.kt193 val second = readInt().toDouble() in readDouble() constant
195 result += (second / PowerOf10s[magnitude]) in readDouble()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt162 appendValue(codebase, sb, attributes[0].second, target, showDefaultAttrs) in <lambda>()
173 appendValue(codebase, sb, attribute.second, target, showDefaultAttrs) in <lambda>()
DPsiAnnotationItem.kt177 appendValue(codebase, sb, attributes[0].second, target, showDefaultAttrs) in <lambda>()
188 appendValue(codebase, sb, attribute.second, target, showDefaultAttrs) in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterLogSaver.java248 (first, second) -> in uploadFiles()
251 : second)); in uploadFiles()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt201 … cls.stubConstructor = constructors.reduce { first, second -> pickBest(first, second) } in <lambda>() method
/tools/test/connectivity/acts_tests/tests/google/net/arduino/disconnect_wifi/
Ddisconnect_wifi.ino4 delay(1000); // wait for a second to read from serial port after flashing
/tools/test/connectivity/acts_tests/tests/google/net/arduino/connect_wifi/
Dconnect_wifi.ino14 delay(1000); // wait for a second to read from serial port after flashing
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt1057 | Unfragmentable | first | second | | last |
1079 | Unfragmentable |Fragment| second |
2051 set-up, and removed all references to the 6-second maximum

12