Home
last modified time | relevance | path

Searched refs:Event (Results 1 – 25 of 35) sorted by relevance

12

/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md29 Event count: 1
32 Event count: 1
35 Event count: 1
38 Event count: 1
41 Event count: 4
44 Event count: 121
47 Event count: 1
50 Event count: 1
53 Event count: 1
58 Event count: 1
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterEventUploaderTest.java35 private IClusterEventUploader<Event> mUploader;
36 private List<Event> mUploadedEvents = null;
39 static class Event implements IClusterEvent { class in ClusterEventUploaderTest
44 public Event(String name) { in Event() method in ClusterEventUploaderTest.Event
48 public Event(String name, boolean uploadSuccess) { in Event() method in ClusterEventUploaderTest.Event
63 new ClusterEventUploader<Event>() { in setUp()
65 protected void doUploadEvents(List<Event> events) throws IOException { in setUp()
66 for (Event e : events) { in setUp()
80 final Event event = new Event("event"); in testPostCommandEvent_simpleEvent()
98 final Event event = new Event("event"); in testPostCommandEvent_multipleEvents()
[all …]
DClusterEventUploaderFuncTest.java21 import com.android.tradefed.cluster.ClusterEventUploaderTest.Event;
37 private ClusterEventUploader<Event> mUploader;
42 final Event event1 = new Event("event1"); in testPostCommandEvent_multipleThread()
43 final Event event2 = new Event("event2"); in testPostCommandEvent_multipleThread()
48 new ClusterEventUploader<Event>() { in testPostCommandEvent_multipleThread()
50 protected void doUploadEvents(List<Event> events) throws IOException { in testPostCommandEvent_multipleThread()
/tools/netsim/rust/daemon/src/
Dsession.rs18 use crate::events::{ChipRemoved, Event, ShutDown};
72 pub fn start(&mut self, events_rx: Receiver<Event>) -> &mut Self { in start()
94 Ok(Event::ShutDown(ShutDown { reason })) => { in start()
100 Ok(Event::DeviceRemoved(_)) => { in start()
104 Ok(Event::DeviceAdded(_)) => { in start()
119 Ok(Event::ChipRemoved(ChipRemoved { in start()
132 Ok(Event::ChipAdded(_)) => { in start()
209 ChipAdded, ChipRemoved, DeviceAdded, DeviceRemoved, Event, Events, ShutDown,
250 Event::ShutDown(ShutDown { reason: "Stop the session".to_string() }), in test_start_and_shutdown()
277 Event::ShutDown(ShutDown { reason: "Stop the session".to_string() }), in test_start_and_stop()
[all …]
Devents.rs28 pub fn publish(event: Event) { in publish() argument
33 pub fn subscribe() -> Receiver<Event> { in subscribe()
81 pub enum Event { enum
110 subscribers: Vec<Sender<Event>>,
123 fn subscribe(&mut self) -> Receiver<Event> { in subscribe() argument
124 let (tx, rx) = channel::<Event>(); in subscribe()
130 pub fn publish(&mut self, msg: Event) { in publish() argument
151 pub fn publish(s: &mut Arc<Mutex<Events>>, msg: Event) { in publish() argument
155 pub fn subscribe(s: &mut Arc<Mutex<Events>>) -> Receiver<Event> { in subscribe() argument
174 Ok(Event::DeviceAdded(DeviceAdded { id, name, builtin: false })) => { in test_subscribe_and_publish()
[all …]
Drust_main.rs28 use crate::events::{Event, ShutDown};
154 fn main_loop(events_rx: Receiver<Event>) { in main_loop() argument
158 if let Ok(Event::ShutDown(ShutDown { reason })) = events_rx.recv() { in main_loop()
/tools/test/connectivity/acts/framework/tests/event/
Devent_bus_integration_test.py25 from acts.event.event import Event
39 @subscribe(Event)
44 @subscribe_static(Event)
49 event_bus.post(Event())
78 event_bus.post(Event())
92 event_bus.post(Event())
102 event_bus.register(Event, event_listener)
103 event_bus.post(Event())
112 registration_id = event_bus.register(Event, event_listener)
114 event_bus.post(Event())
Dsubscription_bundle_test.py23 from acts.event.event import Event
138 @subscribe_static(Event)
143 @subscribe_static(Event)
147 @subscribe(Event)
151 @subscribe(Event)
175 @subscribe_static(Event)
Ddecorators_test.py24 from acts.event.event import Event
71 class DummyEvent(Event):
Devent_bus_test.py23 from acts.event.event import Event
251 with event_bus.listen_for(Event, event_listener):
262 with event_bus.listen_for(Event, event_listener):
/tools/netsim/rust/daemon/src/devices/
Ddevices_handler.rs32 ChipAdded, ChipRemoved, DeviceAdded, DevicePatched, DeviceRemoved, Event, Events, ShutDown,
149 events::publish(Event::DeviceAdded(DeviceAdded { id, name: name.to_string(), builtin })); in get_or_create_device()
193 events::publish(Event::ChipAdded(ChipAdded { in add_chip()
318 Some(device) => events::publish(Event::DeviceRemoved(DeviceRemoved { in remove_device()
347 events::publish(Event::ChipRemoved(ChipRemoved { in remove_chip()
464 events::publish(Event::DevicePatched(DevicePatched { id, name })); in patch_device()
485 events::publish(Event::DevicePatched(DevicePatched { id, name })); in patch_device()
509 events::publish(Event::DevicePatched(DevicePatched { id, name })); in patch_device()
588 events::publish(Event::DeviceReset); in reset_all()
687 Ok(Event::DeviceAdded(_)) in handle_device_subscribe()
[all …]
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DMetricsReporter.java36 builder.addEvents(ResultDataProto.Event.newBuilder() in appLaunched()
37 .setType(ResultDataProto.Event.Type.APP_LAUNCH) in appLaunched()
42 builder.addEvents(ResultDataProto.Event.newBuilder() in startLoop()
43 .setType(ResultDataProto.Event.Type.START_LOOP) in startLoop()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java274 for (ResultDataProto.Event e : mDeviceResultData.getEventsList()) { in doEnd()
275 if (e.getType() == ResultDataProto.Event.Type.APP_LAUNCH) { in doEnd()
281 if (e.getType() == ResultDataProto.Event.Type.START_LOOP) { in doEnd()
286 for (ResultDataProto.Event e : mDeviceResultData.getEventsList()) { in doEnd()
287 if (e.getType() != ResultDataProto.Event.Type.START_LOOP) { in doEnd()
/tools/netsim/rust/daemon/src/captures/
Dcapture.rs40 use crate::events::{ChipAdded, ChipRemoved, Event};
269 pub fn spawn_capture_event_subscriber(event_rx: Receiver<Event>) { in spawn_capture_event_subscriber() argument
273 Ok(Event::ChipAdded(ChipAdded { chip_id, chip_kind, device_name, .. })) => { in spawn_capture_event_subscriber()
284 Ok(Event::ChipRemoved(ChipRemoved { chip_id, .. })) => { in spawn_capture_event_subscriber()
/tools/test/graphicsbenchmark/performance_tests/helper/proto/
Dresultdata.proto8 message Event { message
19 repeated Event events = 1;
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/
Devents.py17 from acts.event.event import Event
20 class AndroidEvent(Event):
/tools/test/connectivity/acts/framework/acts/event/
Devent.py18 class Event(object): class
23 class TestEvent(Event):
/tools/test/connectivity/acts/framework/acts/
Dcontext.py22 from acts.event.event import Event
83 class NewContextEvent(Event):
/tools/netsim/ui/ts/
Dnavigation-bar.ts80 private handleClick(ev: Event) {
Ddevice-dragzone.ts38 handleSelect(ev: Event) {
Dnetsim-app.ts71 handleChangeModeEvent = (e: Event) => {
Dcube-sprite.ts158 private handleOrientationEvent = (e: Event) => {
Dpyramid-sprite.ts145 private handleOrientationEvent = (e: Event) => {
/tools/dexter/testdata/expected/
Dmedium.asm31682 … {v1}, com.android.calendar.DayView.-get21(com.android.calendar.DayView):com.android.calendar.Event
31684 ….DayView.-set6(com.android.calendar.DayView, com.android.calendar.Event):com.android.calendar.Event
31688 …DayView.-set14(com.android.calendar.DayView, com.android.calendar.Event):com.android.calendar.Event
31718 …c {v0}, com.android.calendar.DayView.-get7(com.android.calendar.DayView):com.android.calendar.Event
31726 …c {v1}, com.android.calendar.DayView.-get7(com.android.calendar.DayView):com.android.calendar.Event
31728 21| iget-wide v4:v5, v1, com.android.calendar.Event.id
31731 …c {v1}, com.android.calendar.DayView.-get7(com.android.calendar.DayView):com.android.calendar.Event
31733 29| iget-wide v6:v7, v1, com.android.calendar.Event.startMillis
31735 …c {v1}, com.android.calendar.DayView.-get7(com.android.calendar.DayView):com.android.calendar.Event
31737 37| iget-wide v8:v9, v1, com.android.calendar.Event.endMillis
[all …]
/tools/netsim/src/hci/
Dasync_manager.cc199 read_fds->update(notification_listen_fd_, SocketWaiter::Event::kEventRead); in setUpFileDescriptorSet()
205 read_fds->update(fdp.first, SocketWaiter::Event::kEventRead); in setUpFileDescriptorSet()

12