Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 26) sorted by relevance

12

/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/
Daudio_quality_measurement_integrationtest.py195 delta = abs(result['artifacts']['delay_during_playback'][i][0] -
197 self.assertTrue(delta < 0.001)
199 delta = abs(result['artifacts']['delay_during_playback'][i][1] -
201 self.assertTrue(delta < 0.001)
209 delta = abs(result['artifacts']['noise_before_playback'][0][0] - 0.1)
210 self.assertTrue(delta < 0.01)
211 delta = abs(result['artifacts']['noise_before_playback'][0][1] - 0.005)
212 self.assertTrue(delta < 0.004)
226 delta = abs(result['artifacts']['noise_after_playback'][0][0] - 1.95)
227 self.assertTrue(delta < 0.01)
[all …]
/tools/repohooks/rh/
Dutils_unittest.py40 delta = datetime.timedelta(0)
41 self.assertEqual('0.000s', rh.utils.timedelta_str(delta))
45 delta = datetime.timedelta(seconds=0.123456)
46 self.assertEqual('0.123s', rh.utils.timedelta_str(delta))
50 delta = datetime.timedelta(seconds=12.3)
51 self.assertEqual('12.300s', rh.utils.timedelta_str(delta))
55 delta = datetime.timedelta(seconds=72.3)
56 self.assertEqual('1m12.300s', rh.utils.timedelta_str(delta))
60 delta = datetime.timedelta(seconds=4000.3)
61 self.assertEqual('1h6m40.300s', rh.utils.timedelta_str(delta))
Dutils.py36 def timedelta_str(delta): argument
42 total = delta.total_seconds()
45 ret = '%i.%03is' % (secs, delta.microseconds // 1000)
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt339 val delta = in computeDelta() constant
341 delta.description = "Delta between $baseApi and $signatureApi" in computeDelta()
345 delta.addPackage(new as TextPackageItem) in computeDelta()
377 val cls = delta.findClass(fullClass.qualifiedName()) in computeDelta()
383 delta, in computeDelta()
397 delta.registerClass(newClass) in computeDelta()
402 val pkg = delta.findPackage(pkgName) in computeDelta()
407 delta, in computeDelta()
409 TextModifiers(delta, DefaultModifierList.PUBLIC), in computeDelta()
412 delta.addPackage(newPkg) in computeDelta()
[all …]
/tools/test/connectivity/acts/framework/acts/
Dlogger.py139 def _get_timestamp(time_format, delta=None): argument
141 if delta:
142 t = t + datetime.timedelta(seconds=delta)
162 def get_log_line_timestamp(delta=None): argument
174 return _get_timestamp("%Y-%m-%d %H:%M:%S.%f", delta)
177 def get_log_file_timestamp(delta=None): argument
189 return _get_timestamp("%Y-%m-%d_%H-%M-%S-%f", delta)
Dasserts.py36 delta=None, argument
51 if delta:
53 first, second, msg=msg, delta=delta)
/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/
DBtFunhausMetricsTest.py73 a2dp_session_log.session_duration_sec, bt_duration, delta=10)
77 delta=10000)
126 a2dp_session_log.session_duration_sec, bt_duration, delta=10)
130 delta=20000)
171 a2dp_session_log.session_duration_sec, bt_duration, delta=10)
175 delta=5000)
/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt405 var delta = item1.name().compareTo((item2 as MethodItem).name()) in compare() variable
406 if (delta == 0) { in compare()
411 delta = parameterCount1 - parameterCount2 in compare()
412 if (delta == 0) { in compare()
418 delta = type1.compareTo(type2) in compare()
419 if (delta != 0) { in compare()
427 delta = simpleType1.compareTo(simpleType2) in compare()
428 if (delta != 0) { in compare()
433 delta = t1.compareTo(t2) in compare()
434 if (delta != 0) { in compare()
[all …]
DAnnotationStatistics.kt181 val delta = used[o2]!! - used[o1]!! in <lambda>() constant
182 if (delta != 0) { in <lambda>()
183 return@Comparator delta in <lambda>()
218 val delta = classCount[o2]!! - classCount[o1]!! in <lambda>() constant
219 if (delta != 0) { in <lambda>()
220 return@Comparator delta in <lambda>()
DExtractAnnotations.kt521 val delta = r1 - r2 in <lambda>() constant
522 return if (delta != 0) { in <lambda>()
523 delta in <lambda>()
/tools/dexter/slicer/
Ddebuginfo_encoder.cc56 int delta = line - last_line_; in Visit() local
57 int adj_opcode = delta - dex::DBG_LINE_BASE; in Visit()
61 dbginfo_.PushSLeb128(delta); in Visit()
Dinstrumentation.cc646 int delta = std::min(left_to_allocate_, in RegsRenumbering() local
648 if (delta < 1) { in RegsRenumbering()
652 assert(delta <= 16); in RegsRenumbering()
655 RegsRenumberVisitor visitor(delta); in RegsRenumbering()
661 Allocate(code_ir, 0, delta); in RegsRenumbering()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DByteTracker.java96 private synchronized void updateUsage(long delta) {
97 bytesUsed += delta;
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_atten_utils.py66 delta = target_atten - current_atten
68 number_of_steps = int(abs(delta) / step_size)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiScannerMultiScanTest.py71 delta = abs(actual_interval - expected_interval)
74 delta < margin, "The difference in time between scan %s and "
76 scan_result, scan_result_next, delta / 1000,
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt264 val delta = o1.sortingRank - o2.sortingRank in <lambda>() constant
265 if (delta == 0) { in <lambda>()
271 delta in <lambda>()
DClassItem.kt373 val delta = o1.fullName().compareTo(o2.fullName()) in <lambda>() constant
374 if (delta == 0) { in <lambda>()
377 delta in <lambda>()
/tools/asuite/atest-py2/test_runners/
Devent_handler.py277 delta = timedelta(milliseconds=duration)
278 timestamp = str(delta).split(':') # hh:mm:microsec
/tools/asuite/atest/test_runners/
Devent_handler.py289 delta = timedelta(milliseconds=duration)
290 timestamp = str(delta).split(':') # hh:mm:microsec
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabNeighborCellTest.py568 delta = []
577 delta.append(cell['rsrp'] - init_rsrp)
581 delta.append(-99)
583 self.log.info("delta = {}".format(delta))
/tools/dexter/testdata/expected/
Dmedium.rewrite34740 .params "delta", "width", "velocity"
34789 63| const-string/jumbo v8, " delta:"
126667 .local v0, "delta", long
Dmedium.wrap_invoke34740 .params "delta", "width", "velocity"
34789 63| const-string/jumbo v8, " delta:"
126667 .local v0, "delta", long
Dmedium.entry_hook36080 .params "delta", "width", "velocity"
36130 66| const-string/jumbo v8, " delta:"
129814 .local v0, "delta", long
Dmedium.exit_hook37215 .params "delta", "width", "velocity"
37264 63| const-string/jumbo v8, " delta:"
132562 .local v0, "delta", long
Dmedium.compact_cfg41812 .params "delta", "width", "velocity"
41863 63| const-string/jumbo v8, " delta:"
151507 .local v0, "delta", long

12