Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/framework/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/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/repohooks/rh/
Dutils_unittest.py43 delta = datetime.timedelta(0)
44 self.assertEqual('0.000s', rh.utils.timedelta_str(delta))
48 delta = datetime.timedelta(seconds=0.123456)
49 self.assertEqual('0.123s', rh.utils.timedelta_str(delta))
53 delta = datetime.timedelta(seconds=12.3)
54 self.assertEqual('12.300s', rh.utils.timedelta_str(delta))
58 delta = datetime.timedelta(seconds=72.3)
59 self.assertEqual('1m12.300s', rh.utils.timedelta_str(delta))
63 delta = datetime.timedelta(seconds=4000.3)
64 self.assertEqual('1h6m40.300s', rh.utils.timedelta_str(delta))
Dutils.py40 def timedelta_str(delta): argument
46 total = delta.total_seconds()
49 ret = '%i.%03is' % (secs, delta.microseconds // 1000)
/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt326 var delta = item1.name().compareTo((item2 as MethodItem).name()) in compare() variable
327 if (delta == 0) { in compare()
332 delta = parameterCount1 - parameterCount2 in compare()
333 if (delta == 0) { in compare()
339 delta = type1.compareTo(type2) in compare()
340 if (delta != 0) { in compare()
348 delta = simpleType1.compareTo(simpleType2) in compare()
349 if (delta != 0) { in compare()
354 delta = t1.compareTo(t2) in compare()
355 if (delta != 0) { in compare()
[all …]
DAnnotationStatistics.kt182 val delta = used[o2]!! - used[o1]!! in <lambda>() constant
183 if (delta != 0) { in <lambda>()
184 return@Comparator delta in <lambda>()
219 val delta = classCount[o2]!! - classCount[o1]!! in <lambda>() constant
220 if (delta != 0) { in <lambda>()
221 return@Comparator delta in <lambda>()
DExtractAnnotations.kt522 val delta = r1 - r2 in <lambda>() constant
523 return if (delta != 0) { in <lambda>()
524 delta in <lambda>()
/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.py75 a2dp_session_log.session_duration_sec, bt_duration, delta=10)
79 delta=10000)
128 a2dp_session_log.session_duration_sec, bt_duration, delta=10)
132 delta=20000)
173 a2dp_session_log.session_duration_sec, bt_duration, delta=10)
177 delta=5000)
/tools/dexter/slicer/
Dinstrumentation.cc571 int delta = std::min(left_to_allocate_, in RegsRenumbering() local
573 if (delta < 1) { in RegsRenumbering()
577 assert(delta <= 16); in RegsRenumbering()
580 RegsRenumberVisitor visitor(delta); in RegsRenumbering()
586 Allocate(code_ir, 0, delta); in RegsRenumbering()
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()
/tools/test/connectivity/acts/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/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/framework/acts/test_utils/tel/
Dtel_atten_utils.py66 delta = target_atten - current_atten
68 number_of_steps = int(abs(delta) / step_size)
/tools/tradefederation/core/atest/test_runners/
Devent_handler.py277 delta = timedelta(milliseconds=duration)
278 timestamp = str(delta).split(':') # hh:mm:microsec
/tools/asuite/atest/test_runners/
Devent_handler.py280 delta = timedelta(milliseconds=duration)
281 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.wrap_invoke34740 .params "delta", "width", "velocity"
34789 63| const-string/jumbo v8, " delta:"
126667 .local v0, "delta", long
Dmedium.rewrite34740 .params "delta", "width", "velocity"
34789 63| const-string/jumbo v8, " delta:"
126667 .local v0, "delta", long
Dmedium.scratch_regs42695 .params "delta", "width", "velocity"
42756 99| const-string/jumbo v9, " delta:"
146578 .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

12