Home
last modified time | relevance | path

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

/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/test/connectivity/acts/framework/acts/
Dasserts.py36 delta=None, argument
51 if delta:
53 first, second, msg=msg, delta=delta)
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)
/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/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/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.cc507 int delta = std::min(left_to_allocate_, in RegsRenumbering() local
509 if (delta < 1) { in RegsRenumbering()
513 assert(delta <= 16); in RegsRenumbering()
516 RegsRenumberVisitor visitor(delta); in RegsRenumbering()
522 Allocate(code_ir, 0, delta); in RegsRenumbering()
/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/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/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...