Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 25 of 105) sorted by relevance

12345

/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md26 Startup duration: 1033.827 ms
30 Total duration: 50.860 ms
33 Total duration: 183.123 ms
36 Total duration: 25.377 ms
39 Total duration: 495.804 ms
42 Total duration: 53.638 ms
45 Total duration: 2.017 ms
48 Total duration: 4.041 ms
51 Total duration: 0.036 ms
54 Total duration: 1.895 ms
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py433 def initiate_disconnect_from_hf(audio_receiver, pri_ad, sec_ad, duration): argument
472 time.sleep(duration)
482 def initiate_disconnect_call_dut(pri_ad, sec_ad, duration, callee_number): argument
525 time.sleep(duration)
617 def media_stream_check(pri_ad, duration, headset_mac_address): argument
630 while time.time() < duration:
655 def music_play_and_check(pri_ad, headset_mac_address, music_to_play, duration): argument
679 stream_time = time.time() + duration
688 def music_play_and_check_via_app(pri_ad, headset_mac_address, duration=5): argument
706 stream_time = time.time() + duration
[all …]
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java442 public int extractLaunchTime(String duration) { in extractLaunchTime() argument
443 String formattedString = duration.replace("ms", ""); in extractLaunchTime()
599 matchingBegin.name, newSecPeriod.duration); in parseAtraceInfoFile()
608 matchingBegin.name, newSecPeriod.duration)); in parseAtraceInfoFile()
647 Double currentSum = launchSum.get(sectionName) + secPeriod.duration; in averageAtraceData()
662 Double currentSum = launchSum.get(sectionName) + secPeriod.duration; in averageAtraceData()
722 private double duration; field in HermeticLaunchTest.SectionPeriod
727 this.duration = endTime - startTime; in SectionPeriod()
747 return duration; in getDuration()
750 public void setDuration(long duration) { in setDuration() argument
[all …]
/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt153 … <= systemServerSlice.endTime -> schedSliceInfo[schedSlice.state] = origVal + schedSlice.duration in Model()
197 aggregateSliceInfo(allSlicesInfo, sliceContents, slice.duration) in Model()
204 aggregateSliceInfo(topLevelSliceInfo, sliceContents, slice.duration) in Model()
209 … aggregateSliceInfo(nonNestedSliceInfo, sliceContents, slice.duration) in Model()
240 startProcSlice.duration, in Model()
255 …iceInfo(infoMap : MutableAggregateSliceInfoMap, sliceContents : SliceContents, duration : Double) { in aggregateSliceInfo()
258 aggInfo.totalTime += duration in aggregateSliceInfo()
261 ….values[sliceContents.value as String] = Pair(uniqueValueCount + 1, uniqueValueDuration + duration) in aggregateSliceInfo()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java158 final float duration = (durationRight - durationLeft) * 100.0f / width; in analyzeImage() local
160 CLog.i("AudioLoopbackImageAnalyzer: Amplitude=" + amplitude + ", Duration=" + duration); in analyzeImage()
178 duration, in analyzeImage()
209 float duration, in analyzeDuration() argument
221 if (duration < durationMin || duration > durationMax) { in analyzeDuration()
223 return handleError(fmt, FN_TAG, duration, durationMin, durationMax); in analyzeDuration()
DAdbScreenrecordTest.java222 private long convertDurationToMilliseconds(String duration) throws ParseException { in convertDurationToMilliseconds() argument
225 Date convertedDate = sdf.parse("1970-01-01 " + duration); in convertDurationToMilliseconds()
292 String duration = m.group(1); in extractDurationAndBitrateFromVideoFileUsingAvprobe() local
293 long durationInMilliseconds = convertDurationToMilliseconds(duration); in extractDurationAndBitrateFromVideoFileUsingAvprobe()
/tools/trebuchet/trebuchet/system-server-analyzer/src/
DSystemServerAnalyzer.kt64 fun printLine(output: PrintStream, name: String, duration: Double, csvFormat: Boolean = false) { in printLine()
73 printLine(output, model.name, model.duration, csvFormat) in printLine()
80 printLine(output, "StartServices", it.duration, csvFormat); in measureServiceStartup()
82 if (service.duration * 1000 >= thresholdMs) { in measureServiceStartup()
84 service.duration in measureServiceStartup()
89 printLine(output, "Other", it.duration - childDurations, csvFormat); in measureServiceStartup()
/tools/tradefederation/core/atest/test_runners/
Devent_handler.py268 def _calc_duration(duration): argument
277 delta = timedelta(milliseconds=duration)
280 if duration < ONE_SECOND:
281 return "({}ms)".format(duration)
282 elif duration < ONE_MINUTE:
284 elif duration < ONE_HOUR:
/tools/asuite/atest/test_runners/
Devent_handler.py271 def _calc_duration(duration): argument
280 delta = timedelta(milliseconds=duration)
283 if duration < ONE_SECOND:
284 return "({}ms)".format(duration)
285 if duration < ONE_MINUTE:
287 if duration < ONE_HOUR:
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dota_sniffer.py72 def start_capture(self, network, duration=30): argument
131 def start_capture(self, network, duration=30): argument
255 def _get_tshark_command(self, duration): argument
265 self.tshark_path, self.sniffer_interface, int(duration))
401 def start_capture(self, network, chan, bw, duration=60): argument
415 tshark_command = self._get_tshark_command(duration)
/tools/tradefederation/core/atest/metrics/
Dmetrics.py52 duration = constants.EXTERNAL variable in AtestExitEvent
81 duration = constants.EXTERNAL variable in FindTestFinishEvent
100 duration = constants.EXTERNAL variable in BuildFinishEvent
119 duration = constants.EXTERNAL variable in RunnerFinishEvent
135 duration = constants.EXTERNAL variable in RunTestsFinishEvent
/tools/asuite/atest/metrics/
Dmetrics.py52 duration = constants.EXTERNAL variable in AtestExitEvent
81 duration = constants.EXTERNAL variable in FindTestFinishEvent
100 duration = constants.EXTERNAL variable in BuildFinishEvent
119 duration = constants.EXTERNAL variable in RunnerFinishEvent
135 duration = constants.EXTERNAL variable in RunTestsFinishEvent
/tools/asuite/atest/proto/
Dexternal_user_log.proto19 optional Duration duration = 1; field
26 optional Duration duration = 1; field
32 optional Duration duration = 1; field
38 optional Duration duration = 1; field
45 optional Duration duration = 1; field
Dinternal_user_log.proto23 optional Duration duration = 1; field
32 optional Duration duration = 1; field
41 optional Duration duration = 1; field
48 optional Duration duration = 1; field
61 optional Duration duration = 1; field
/tools/tradefederation/core/atest/proto/
Dexternal_user_log.proto19 optional Duration duration = 1; field
26 optional Duration duration = 1; field
32 optional Duration duration = 1; field
38 optional Duration duration = 1; field
45 optional Duration duration = 1; field
Dinternal_user_log.proto23 optional Duration duration = 1; field
32 optional Duration duration = 1; field
41 optional Duration duration = 1; field
48 optional Duration duration = 1; field
61 optional Duration duration = 1; field
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/
Dlocal_base.py95 def _get_command_line(self, additional_args=None, duration=None, argument
112 additional_args=None, duration=None, argument
129 duration=duration, packet_count=packet_count)
132 return sniffer.ActiveCaptureContext(self, duration)
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py74 duration=0, argument
95 self.duration = duration
102 self.exit_status, self.duration, self.did_timeout,
155 duration=time.time() - start_time,
/tools/loganalysis/src/com/android/loganalysis/item/
DDmesgStageInfoItem.java49 public DmesgStageInfoItem(String name, Long startTime, Long duration) { in DmesgStageInfoItem() argument
53 setAttribute(STAGE_DURATION, duration); in DmesgStageInfoItem()
94 public void setDuration(Long duration) { in setDuration() argument
95 setAttribute(STAGE_DURATION, duration); in setDuration()
DLocationDumpsItem.java68 String priority, int duration) { in LocationInfoItem() argument
75 setAttribute(LOCATION_DURATION, duration); in LocationInfoItem()
133 String priority, int duration) { in addLocationClient() argument
135 duration)); in addLocationClient()
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py495 duration = last_noise_end_time_point[i] - noise_time_point[i]
497 noise_before_playing.append((noise_time_point[i], duration))
499 noise_after_playing.append((noise_time_point[i], duration))
592 duration = last_delay_end_time_points[i] - delay_time_points[i]
593 delay_list.append((delay_time_points[i], duration))
/tools/trebuchet/trebuchet/analyzer/src/
DAnalyzer.kt27 val totalDuration = slices.map { it.duration }.reduce { a, b -> a+b } in <lambda>()
65 val duration = retire.endTime - slice.startTime in measureRotator() constant
66 if (duration > largestDuration) { in measureRotator()
67 largestDuration = duration in measureRotator()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/task/
DImportTaskTest.kt38 assertEquals(0.868, slices[0].duration, .001) in <lambda>()
39 assertEquals(0.866, slices[1].duration, .001) in <lambda>()
50 assertFalse(slices.any { it.duration <= 0.0 }) in <lambda>()
51 val totalDuration = slices.map { it.duration }.reduce { a,b -> a+b } in <lambda>()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAoaTargetPreparer.java87 Duration duration = parseMillis(args.get(2)); in ACTIONS.put() local
89 device.swipe(from, to, duration); in ACTIONS.put()
122 Duration duration = parseMillis(args.get(0)); in ACTIONS.put() local
123 device.sleep(duration); in ACTIONS.put()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dstock_transformers.py45 def __init__(self, monsoon_serial, duration): argument
48 self.duration = duration
53 .source(PacketCollector(self.monsoon_serial, self.duration))

12345