Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 33) 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/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/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/
Dasserts.py33 second, argument
53 first, second, msg=msg, delta=delta)
56 first, second, places=places, msg=msg)
/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/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()
DAudioLoopbackTestHelper.java322 data.setFailureReason(result.second); in addTestData()
/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/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()
Dinstrumentation.cc398 SLICER_CHECK(scratch_regs_.insert(first_reg + i).second); in Allocate()
Dwriter.cc1104 dex::u4 offset = it->second; in FilePointer()
/tools/tradefederation/contrib/src/com/android/ota/tests/
DOtaStabilityTestTest.java68 IRemoteTest second = iterator.next(); in testSplit_remainder() local
69 assertEquals(3, ((OtaStabilityTest) second).getIterations()); in testSplit_remainder()
/tools/dexter/dexter/
Dexperimental.cc458 max_count = std::max(max_count, kv.second); in PrintHistogram()
462 printf("%6d [ %3d ] ", kv.second, kv.first); in PrintHistogram()
463 int hist_len = static_cast<int>(static_cast<double>(kv.second) / max_count * kHistogramWidth); in PrintHistogram()
529 (*it->second)(dex_ir); in Run()
Ddexter.cc85 cfg_type_ = it->second; in Run()
/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/tradefederation/contrib/src/com/android/framework/tests/
DBandwidthStats.java148 public ComparisonRecord(String statName, long first, long second, float difference) { in ComparisonRecord() argument
151 this.mSecond = second; in ComparisonRecord()
/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/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/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java843 byte[] second = element.getSecond(); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
844 result.putInt(8 + second.length); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
846 result.putInt(second.length); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
847 result.put(second); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
/tools/test/connectivity/acts/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/google/net/arduino/connect_wifi/
Dconnect_wifi.ino14 delay(1000); // wait for a second to read from serial port after flashing
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollector.java127 metricBuilder.getMeasurementsBuilder().setSingleString(kv.second); in processMetricFile()
/tools/repohooks/tools/
Dspelling.txt1015 secund||second

12