/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/ |
D | audio_quality_measurement_integrationtest.py | 195 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/ |
D | utils_unittest.py | 40 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))
|
D | utils.py | 36 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/ |
D | TextCodebase.kt | 339 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/ |
D | logger.py | 139 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)
|
D | asserts.py | 36 delta=None, argument 51 if delta: 53 first, second, msg=msg, delta=delta)
|
/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/ |
D | BtFunhausMetricsTest.py | 73 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/ |
D | ComparisonVisitor.kt | 405 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 …]
|
D | AnnotationStatistics.kt | 181 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>()
|
D | ExtractAnnotations.kt | 521 val delta = r1 - r2 in <lambda>() constant 522 return if (delta != 0) { in <lambda>() 523 delta in <lambda>()
|
/tools/dexter/slicer/ |
D | debuginfo_encoder.cc | 56 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()
|
D | instrumentation.cc | 646 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/ |
D | ByteTracker.java | 96 private synchronized void updateUsage(long delta) { 97 bytesUsed += delta;
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_atten_utils.py | 66 delta = target_atten - current_atten 68 number_of_steps = int(abs(delta) / step_size)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiScannerMultiScanTest.py | 71 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/ |
D | MethodItem.kt | 264 val delta = o1.sortingRank - o2.sortingRank in <lambda>() constant 265 if (delta == 0) { in <lambda>() 271 delta in <lambda>()
|
D | ClassItem.kt | 373 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/ |
D | event_handler.py | 277 delta = timedelta(milliseconds=duration) 278 timestamp = str(delta).split(':') # hh:mm:microsec
|
/tools/asuite/atest/test_runners/ |
D | event_handler.py | 289 delta = timedelta(milliseconds=duration) 290 timestamp = str(delta).split(':') # hh:mm:microsec
|
/tools/test/connectivity/acts_tests/tests/google/tel/lab/ |
D | TelLabNeighborCellTest.py | 568 delta = [] 577 delta.append(cell['rsrp'] - init_rsrp) 581 delta.append(-99) 583 self.log.info("delta = {}".format(delta))
|
/tools/dexter/testdata/expected/ |
D | medium.rewrite | 34740 .params "delta", "width", "velocity" 34789 63| const-string/jumbo v8, " delta:" 126667 .local v0, "delta", long
|
D | medium.wrap_invoke | 34740 .params "delta", "width", "velocity" 34789 63| const-string/jumbo v8, " delta:" 126667 .local v0, "delta", long
|
D | medium.entry_hook | 36080 .params "delta", "width", "velocity" 36130 66| const-string/jumbo v8, " delta:" 129814 .local v0, "delta", long
|
D | medium.exit_hook | 37215 .params "delta", "width", "velocity" 37264 63| const-string/jumbo v8, " delta:" 132562 .local v0, "delta", long
|
D | medium.compact_cfg | 41812 .params "delta", "width", "velocity" 41863 63| const-string/jumbo v8, " delta:" 151507 .local v0, "delta", long
|