Searched defs:Event (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/native/cmds/surfacereplayer/replayer/
H A DEvent.cpp17 #include "Event.h"
21 Event::Event(Increment::IncrementCase type) : mIncrementType(type) {} function in class:Event
23 void Event::readyToExecute() {
24 changeState(Event::EventState::Waiting);
25 waitUntil(Event::EventState::Signaled);
26 changeState(Event::EventState::Running);
29 void Event::complete() {
30 waitUntil(Event::EventState::Waiting);
31 changeState(Event
[all...]
H A DEvent.h27 class Event { class in namespace:android
29 Event(Increment::IncrementCase);
/frameworks/av/include/media/stagefright/foundation/
H A DALooper.h67 struct Event { struct in struct:android::ALooper
77 List<Event> mEventQueue;
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DALooper.h67 struct Event { struct in struct:android::ALooper
77 List<Event> mEventQueue;
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DALooper.h67 struct Event { struct in struct:android::ALooper
77 List<Event> mEventQueue;
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioEventLogger.java29 private final LinkedList<Event> mEvents;
36 public static abstract class Event { class in class:AudioEventLogger
42 Event() { method in class:AudioEventLogger.Event
62 public Event printLog(String tag) {
70 * so this method is where expensive String conversions should be made, not when the Event
78 public static class StringEvent extends Event {
97 mEvents = new LinkedList<Event>();
102 public synchronized void log(Event evt) {
111 for (Event evt : mEvents) {
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DMockPriorityJobService.java40 new TestEnvironment.Event(TestEnvironment.EVENT_START_JOB, params.getJobId()));
55 .add(new TestEnvironment.Event(event, params.getJobId()));
67 private ArrayList<Event> executedEvents = new ArrayList<Event>();
76 public static class Event { class in class:MockPriorityJobService.TestEnvironment
80 public Event() { method in class:MockPriorityJobService.TestEnvironment.Event
83 public Event(int event, int jobId) { method in class:MockPriorityJobService.TestEnvironment.Event
90 if (other instanceof Event) {
91 Event otherEvent = (Event) othe
[all...]
/frameworks/base/tools/aapt2/format/binary/
H A DResChunkPullParser.h38 enum class Event { class in class:aapt::ResChunkPullParser
47 static bool IsGoodEvent(Event event);
53 Event event() const;
58 Event Next();
63 Event event_;
90 inline bool ResChunkPullParser::IsGoodEvent(ResChunkPullParser::Event event) {
91 return event != Event::kEndDocument && event != Event::kBadDocument;
95 : event_(Event::kStartDocument),
101 inline ResChunkPullParser::Event ResChunkPullParse
[all...]
/frameworks/native/include/gui/
H A DDisplayEventReceiver.h57 struct Event { struct in class:android::DisplayEventReceiver
115 ssize_t getEvents(Event* events, size_t count);
116 static ssize_t getEvents(gui::BitTube* dataChannel, Event* events, size_t count);
122 static ssize_t sendEvents(gui::BitTube* dataChannel, Event const* events, size_t count);
125 * setVsyncRate() sets the Event::VSync delivery rate. A value of
126 * 1 returns every Event::VSync. A value of 2 returns every other event,
133 * requestNextVsync() schedules the next Event::VSync. It has no effect
/frameworks/native/libs/gui/include/gui/
H A DDisplayEventReceiver.h57 struct Event { struct in class:android::DisplayEventReceiver
115 ssize_t getEvents(Event* events, size_t count);
116 static ssize_t getEvents(gui::BitTube* dataChannel, Event* events, size_t count);
122 static ssize_t sendEvents(gui::BitTube* dataChannel, Event const* events, size_t count);
125 * setVsyncRate() sets the Event::VSync delivery rate. A value of
126 * 1 returns every Event::VSync. A value of 2 returns every other event,
133 * requestNextVsync() schedules the next Event::VSync. It has no effect
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/
H A DLifecycle.java29 * {@link Event#ON_CREATE}, {@link Event#ON_START}, {@link Event#ON_RESUME} events in this class
31 * {@link Event#ON_PAUSE}, {@link Event#ON_STOP}, {@link Event#ON_DESTROY} events in this class
33 * For instance, {@link Event#ON_START} will be dispatched after
34 * {@link android.app.Activity#onStart onStart} returns, {@link Event#ON_STOP} will be dispatched
62 * Methods annotated with {@link Event#ON_ANY} can receive the second argument, which must be
63 * of type {@link Event}
115 public enum Event { enum in class:Lifecycle
[all...]
/frameworks/base/core/java/android/metrics/
H A DMetricsReader.java75 ArrayList<Event> nativeEvents = new ArrayList<>();
83 for (Event event : nativeEvents) {
151 * Wrapper for the Event object, to facilitate testing.
156 public static class Event { class in class:MetricsReader
162 public Event(long timeMillis, int pid, int uid, Object data) { method in class:MetricsReader.Event
169 Event(EventLog.Event nativeEvent) { method in class:MetricsReader.Event
199 * Wrapper for the Event reader, to facilitate testing.
205 public void readEvents(int[] tags, long horizonMs, Collection<Event> events)
208 ArrayList<EventLog.Event> nativeEvent
[all...]
/frameworks/base/telephony/java/android/telephony/euicc/
H A DEuiccNotification.java38 /** Event */
47 public @interface Event {} interface in class:EuiccNotification
62 @Event
68 @Event private final int mEvent;
80 public EuiccNotification(int seq, String targetAddr, @Event int event, @Nullable byte[] data) {
98 @Event
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiWakeMetrics.java224 Event mUnlockEvent;
227 Event mInitEvent;
230 Event mWakeupEvent;
233 Event mResetEvent;
253 mInitEvent = new Event(numScans, timestamp - mStartTimestamp);
267 mUnlockEvent = new Event(numScans, timestamp - mStartTimestamp);
281 mWakeupEvent = new Event(numScans, timestamp - mStartTimestamp);
302 mResetEvent = new Event(numScans, timestamp - mStartTimestamp);
343 public static class Event { class in class:WifiWakeMetrics
350 public Event(in method in class:WifiWakeMetrics.Event
[all...]
/frameworks/ml/nn/runtime/include/
H A DNeuralNetworksWrapper.h214 class Event { class in class:android::nn::wrapper::ExecutePreference
216 Event() {} function in class:android::nn::wrapper::ExecutePreference::Event
217 ~Event() { ANeuralNetworksEvent_free(mEvent); }
222 Event(const Event&) = delete;
223 Event& operator=(const Event&) = delete;
228 Event(Event&& other) { *this = std::move(other); } function in class:android::nn::wrapper::ExecutePreference::Event
229 Event
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DEvent.java28 public class Event { class
77 return "Event{id=" + mId
89 private Event mEvent;
92 mEvent = new Event();
127 public Event build() {
131 throw new IllegalStateException("Event does not contain a command");
158 public Event getNextEvent() throws IOException {
159 Event e = null;
161 Event.Builder eb = new Event
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DActivityRecognitionHardware.java46 * Contains the number of supported Event Types.
62 private static class Event { class in class:ActivityRecognitionHardware
160 private void onActivityChanged(Event[] events) {
170 Event event = events[i];
/frameworks/base/core/java/android/service/autofill/
H A DFillEventHistory.java71 @Nullable List<Event> mEvents;
85 * @deprecated use {@link #getEvents()} then {@link Event#getClientState()} instead.
98 @Nullable public List<Event> getEvents() {
105 public void addEvent(Event event) {
140 Event event = mEvents.get(i);
170 public static final class Event { class in class:FillEventHistory
467 public Event(int eventType, @Nullable String datasetId, @Nullable Bundle clientState, method in class:FillEventHistory.Event
558 selection.addEvent(new Event(eventType, datasetId, clientState,
/frameworks/base/core/java/android/util/
H A DEventLog.java59 public static final class Event { class in class:EventLog
85 /*package*/ Event(byte[] data) { method in class:EventLog.Event
192 public static Event fromBytes(byte[] data) {
193 return new Event(data);
229 Event other = (Event) o;
292 public static native void readEvents(int[] tags, Collection<Event> output)
305 Collection<Event> output)
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustArchive.java44 private static class Event { class in class:TrustArchive
58 private Event(int type, int userId, ComponentName agent, String message, method in class:TrustArchive.Event
71 ArrayDeque<Event> mEvents = new ArrayDeque<Event>();
75 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration,
80 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, 0, false));
84 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, null, 0, 0, false));
88 addEvent(new Event(TYPE_AGENT_DIED, userId, agent, null, 0, 0, false));
92 addEvent(new Event(TYPE_AGENT_CONNECTED, userId, agent, null, 0, 0, false));
96 addEvent(new Event(TYPE_AGENT_STOPPE
[all...]
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.h44 enum class Event { class in class:aapt::xml::XmlPullParser
66 static bool IsGoodEvent(Event event);
74 Event event() const;
82 Event Next();
164 Event event;
206 XmlPullParser::Event event) {
208 case XmlPullParser::Event::kBadDocument:
210 case XmlPullParser::Event::kStartDocument:
212 case XmlPullParser::Event::kEndDocument:
214 case XmlPullParser::Event
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/util/
H A DStateMachine.java32 * 1. Event based transition, transition will be triggered when {@link #fireEvent(Event)} is called.
57 public static class Event { class in class:StateMachine
60 public Event(String name) { method in class:StateMachine.Event
86 final Event mEvent;
90 Transition(State fromState, State toState, Event event) {
280 public void addTransition(State fromState, State toState, Event event) {
335 * Find outgoing Transitions of invoked State whose Event matches, mark the Transition invoked.
337 public void fireEvent(Event event) {
/frameworks/base/core/java/android/app/usage/
H A DUsageEvents.java31 * from which to read {@link android.app.usage.UsageEvents.Event} objects.
44 public static final class Event { class in class:UsageEvents
251 public Event() { method in class:UsageEvents.Event
255 public Event(Event orig) { method in class:UsageEvents.Event
368 public Event getObfuscatedIfInstantApp() {
372 final Event ret = new Event(this);
383 private List<Event> mEventsToWrite = null;
433 public UsageEvents(List<Event> event
[all...]
/frameworks/base/telecomm/java/android/telecom/Logging/
H A DEventManager.java60 * @return a unique String ID that will allow the Event to be recognized later in the logs.
129 public static class Event { class in class:EventManager
138 public Event(String eventId, String sessionId, long time, Object data) { method in class:EventManager.Event
183 private final List<Event> mEvents = new LinkedList<>();
195 mEvents.add(new Event(event, sessionId, System.currentTimeMillis(), data));
196 Log.i("Event", "RecordEntry %s: %s, %s", mRecordEntry.getId(), event, data);
199 public List<Event> getEvents() {
210 for (Event event : mEvents) {
236 for (Event event : mEvents) {
246 // Entry's Event I
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
H A DEventBus.java94 Class<? extends EventBus.Event> eventType;
96 EventHandlerMethod(Method method, Class<? extends EventBus.Event> eventType) {
102 public void invoke(Object target, EventBus.Event event)
118 * Currently, there is a single EventBus that handles {@link EventBus.Event}s for each subscriber
131 * Event method signature:<ul>
135 * <li>Methods must take one parameter, of class type deriving from {@link EventBus.Event}
139 * Interprocess-Event method signature:<ul>
194 * <li>setSubscriberEventHandlerPriority(subscriber, Class<Event>, priority)
200 * <li>sendForResult&lt;ReturnType&gt;(Event) to send and get a result, but who will send the
215 public static class Event implement class in class:EventBus
224 protected Event() {} method in class:EventBus.Event
[all...]

Completed in 905 milliseconds

12