/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterEventUploader.java | 99 List<T> events = new ArrayList<T>(); in uploadEvents() local 105 while (!mEventQueue.isEmpty() && events.size() < batchSize) { in uploadEvents() 106 events.add(mEventQueue.poll()); in uploadEvents() 108 doUploadEvents(events); in uploadEvents() 109 events.clear(); in uploadEvents() 114 mEventQueue.addAll(events); in uploadEvents() 118 protected abstract void doUploadEvents(List<T> events) throws IOException; in doUploadEvents() argument
|
D | ClusterClient.java | 67 protected void doUploadEvents(List<ClusterCommandEvent> events) throws IOException { in doUploadEvents() argument 69 JSONObject eventData = buildPostData(events, DATA_KEY); in doUploadEvents() 83 protected void doUploadEvents(List<ClusterHostEvent> events) throws IOException { in doUploadEvents() argument 85 JSONObject eventData = buildPostData(events, DATA_KEY); in doUploadEvents() 280 private static JSONObject buildPostData(List<? extends IClusterEvent> events, String key) in buildPostData() argument 284 for (IClusterEvent event : events) { in buildPostData()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/ |
D | Counter.kt | 23 class Counter(val name: String, val events: List<CounterValue>) { constant in trebuchet.model.Counter 24 constructor(fragment: CounterFragment) : this(fragment.name, fragment.events) { 25 events.sortedBy { it.timestamp } in <lambda>()
|
/tools/asuite/atest/metrics/ |
D | clearcut_client.py | 88 def _serialize_events_to_proto(self, events): argument 94 log_request.log_event.extend(events) 97 def _append_events_to_buffer(self, events, retry=False): argument 99 self._pending_events.extend(events) 137 events = self._pending_events 140 self._append_events_to_buffer(events, retry=True) 142 log_request = self._serialize_events_to_proto(events)
|
/tools/tradefederation/core/atest/metrics/ |
D | clearcut_client.py | 95 def _serialize_events_to_proto(self, events): argument 101 log_request.log_event.extend(events) 104 def _append_events_to_buffer(self, events, retry=False): argument 106 self._pending_events.extend(events) 143 events = self._pending_events 146 self._append_events_to_buffer(events, retry=True) 148 log_request = self._serialize_events_to_proto(events)
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | EventTestHelpers.kt | 19 import trebuchet.importers.ftrace.events.FtraceEvent 20 import trebuchet.importers.ftrace.events.FtraceEventDetails 21 import trebuchet.importers.ftrace.events.createEventParser
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/ |
D | RangeApSupporting11McTest.py | 59 events = rutils.run_ranging(dut, rtt_supporting_aps, self.NUM_ITER, 61 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm, 135 events = rutils.run_ranging(dut, rtt_supporting_aps, self.NUM_ITER, 137 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm, 163 events = rutils.run_ranging(dut, rtt_supporting_aps, self.NUM_ITER, 165 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm, 197 events = rutils.run_ranging(dut, rtt_supporting_aps, self.NUM_ITER, 199 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm, 240 events = dut.ed.pop_events("WifiRttRanging%d" % idx, 30) 241 dut.log.debug("Event=%s", events) [all …]
|
D | RangeApNonSupporting11McTest.py | 58 events = rutils.run_ranging(dut, non_rtt_aps, self.NUM_ITER, 60 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm, 120 events = rutils.run_ranging(dut, non_rtt_aps, self.NUM_ITER, 122 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm, 160 events = rutils.run_ranging(dut, non_rtt_aps, self.NUM_ITER, 162 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm,
|
D | RangeSoftApTest.py | 86 events = rutils.run_ranging(client, [scanned_softap], 89 events, self.rtt_reference_distance_mm, 101 "SoftAP + RTT validation done", extras=events)
|
D | RangeApMiscTest.py | 47 events = rutils.run_ranging(dut, mix_list, self.NUM_ITER, 49 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm,
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/rtt/ |
D | rtt_test_utils.py | 438 events = {} # need to keep track per BSSID! 440 events[ap["BSSID"]] = [] 462 bssid in events, 465 len(events[bssid]), iterations_done, 467 events[bssid].append(result) 470 events[ap["BSSID"]].append(None) 475 return events 496 for bssid, events in all_aps_events.items(): 497 stats = extract_stats(events, rtt_reference_distance_mm,
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/ |
D | FtraceImporter.kt | 22 import trebuchet.importers.ftrace.events.CpuBufferStarted in <lambda>() 23 import trebuchet.importers.ftrace.events.FtraceEvent in <lambda>() 24 import trebuchet.importers.ftrace.events.createEventParser in <lambda>()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | ProcessModelFragment.kt | 60 _counters.getOrPut(name, { CounterFragment(name) }).events.add(timestamp hasCount value) in <lambda>() 78 _counters[key]!!.events.addAll(existing.events) in <lambda>()
|
D | CounterFragment.kt | 22 val events: MutableList<CounterValue> = mutableListOf() constant in trebuchet.model.fragments.CounterFragment
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | KernelLogItem.java | 164 JSONArray events = new JSONArray(); in toJson() local 166 events.put(event.toJson()); in toJson() 170 output.put(EVENTS, events); in toJson()
|
D | LogcatItem.java | 210 JSONArray events = new JSONArray(); in toJson() local 212 events.put(event.toJson()); in toJson() 216 output.put(EVENTS, events); in toJson()
|
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | main.cpp | 116 int events; in android_main() local 122 while (ALooper_pollAll(animating ? 0 : -1, NULL, &events, (void**)&source) >= 0) { in android_main()
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/ |
D | StressRangeApTest.py | 48 events = rutils.run_ranging(dut, rtt_supporting_aps, num_iter, 0, 51 events,
|
/tools/trebuchet/ |
D | README.md | 15 …race file, detects any startup events that occurred during the traced time period, and prints info… 19 The Startup Summarizer program takes a set of trace files, detects startup events in each file, and…
|
/tools/tradefederation/core/atest/test_runners/ |
D | robolectric_test_runner_unittest.py | 116 events = [ 134 for event in events: 140 calls = [mock.call.process_event(name, data) for name, data in events]
|
/tools/asuite/atest/test_runners/ |
D | robolectric_test_runner_unittest.py | 119 events = [ 137 for event in events: 143 calls = [mock.call.process_event(name, data) for name, data in events]
|
/tools/test/connectivity/acts/framework/tests/controllers/android_lib/ |
D | services_test.py | 21 from acts.controllers.android_lib.events import AndroidStartServicesEvent 22 from acts.controllers.android_lib.events import AndroidStopServicesEvent
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/ |
D | FtraceEventRegistry.kt | 17 package trebuchet.importers.ftrace.events
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | BugreportParserTest.java | 585 List<MiscKernelLogItem> events = bugreport.getLastKmsg().getMiscEvents( in testNoSections() local 587 assertEquals(events.size(), 1); in testNoSections() 588 assertEquals(events.get(0).getStack(), "Unknown reason"); in testNoSections() 622 events = bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_RESET); in testNoSections() 623 assertEquals(events.size(), 1); in testNoSections() 624 assertEquals(events.get(0).getStack(), "Unknown reason"); in testNoSections()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterEventUploaderTest.java | 65 protected void doUploadEvents(List<Event> events) throws IOException { in setUp() 66 for (Event e : events) { in setUp()
|