/tools/netsim/rust/daemon/src/ |
D | ranging.rs | 62 fn azimuth(delta: Vec3) -> f32 { in azimuth() 63 checked_div(delta.x, delta.z).map_or( in azimuth() 64 match delta.x == 0. { in azimuth() 66 false => delta.x.signum() * std::f32::consts::FRAC_2_PI, in azimuth() 69 ) + if delta.z >= 0. { 0. } else { delta.x.signum() * std::f32::consts::PI } in azimuth() 75 fn elevation(delta: Vec3) -> f32 { in elevation() 76 checked_div(delta.y, f32::sqrt(delta.x.powi(2) + delta.z.powi(2))) in elevation() 77 .map_or(delta.y.signum() * std::f32::consts::FRAC_PI_2, f32::atan) in elevation() 112 let delta = b.position - a.position; in compute_range_azimuth_elevation() localVariable 113 let distance = delta.length().clamp(0.0, u16::MAX as f32); in compute_range_azimuth_elevation() [all …]
|
/tools/test/connectivity/acts/framework/acts/ |
D | asserts.py | 36 delta=None, argument 51 if delta: 53 first, second, msg=msg, delta=delta)
|
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)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/ |
D | audio_quality_measurement_integrationtest.py | 190 delta = abs(result['artifacts']['delay_during_playback'][i][0] - 192 self.assertTrue(delta < 0.001) 194 delta = abs(result['artifacts']['delay_during_playback'][i][1] - 196 self.assertTrue(delta < 0.001) 204 delta = abs(result['artifacts']['noise_before_playback'][0][0] - 0.1) 205 self.assertTrue(delta < 0.01) 206 delta = abs(result['artifacts']['noise_before_playback'][0][1] - 0.005) 207 self.assertTrue(delta < 0.004) 221 delta = abs(result['artifacts']['noise_after_playback'][0][0] - 1.95) 222 self.assertTrue(delta < 0.01) [all …]
|
/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/repohooks/rh/ |
D | utils_unittest.py | 41 delta = datetime.timedelta(0) 42 self.assertEqual('0.000s', rh.utils.timedelta_str(delta)) 46 delta = datetime.timedelta(seconds=0.123456) 47 self.assertEqual('0.123s', rh.utils.timedelta_str(delta)) 51 delta = datetime.timedelta(seconds=12.3) 52 self.assertEqual('12.300s', rh.utils.timedelta_str(delta)) 56 delta = datetime.timedelta(seconds=72.3) 57 self.assertEqual('1m12.300s', rh.utils.timedelta_str(delta)) 61 delta = datetime.timedelta(seconds=4000.3) 62 self.assertEqual('1h6m40.300s', rh.utils.timedelta_str(delta))
|
D | utils.py | 36 def timedelta_str(delta): argument 42 total = delta.total_seconds()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | ComparisonVisitor.kt | 474 var delta = item1.name().compareTo((item2 as MethodItem).name()) in pop() variable 475 if (delta == 0) { in pop() 481 delta = parameterCount1 - parameterCount2 in pop() 482 if (delta == 0) { in pop() 490 delta = type1.compareTo(type2) in pop() 491 if (delta != 0) { in pop() 502 delta = simpleType1.compareTo(simpleType2) in pop() 503 if (delta != 0) { in pop() 523 delta = t1.compareTo(t2) in pop() 524 if (delta != 0) { in pop() [all …]
|
/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/dexter/slicer/ |
D | debuginfo_encoder.cc | 59 int delta = line - last_line_; in Visit() local 60 int adj_opcode = delta - dex::DBG_LINE_BASE; in Visit() 64 dbginfo_.PushSLeb128(delta); in Visit()
|
D | instrumentation.cc | 658 int delta = std::min(left_to_allocate_, in RegsRenumbering() local 660 if (delta < 1) { in RegsRenumbering() 664 assert(delta <= 16); in RegsRenumbering() 667 RegsRenumberVisitor visitor(delta); in RegsRenumbering() 673 Allocate(code_ir, 0, delta); in RegsRenumbering()
|
/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/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | MethodItem.kt | 223 val delta = o1.sortingRank - o2.sortingRank in <lambda>() constant 224 if (delta == 0) { in <lambda>() 230 delta in <lambda>()
|
D | ClassItem.kt | 265 val delta = o1.fullName().compareTo(o2.fullName()) in <lambda>() constant 266 if (delta == 0) { in <lambda>() 269 delta in <lambda>()
|
/tools/asuite/atest/test_runners/ |
D | event_handler.py | 327 delta = timedelta(milliseconds=duration) 328 timestamp = str(delta).split(':') # hh:mm:microsec
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/ |
D | cellular_power_preset_base_test.py | 456 delta = float(delta_str[:-2].strip()) 462 power = delta / elapsed_time_s
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | ArtRunTest.java | 668 for (String delta : unifiedDiff) { in computeDiff() 669 diffOutput.append(delta).append('\n'); in computeDiff()
|
/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.compact_cfg | 41812 .params "delta", "width", "velocity" 41863 63| const-string/jumbo v8, " delta:" 151507 .local v0, "delta", long
|