/frameworks/native/cmds/surfacereplayer/replayer/ |
H A D | Event.cpp | 17 #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 D | Event.h | 27 class Event { class in namespace:android 29 Event(Increment::IncrementCase);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ALooper.h | 67 struct Event { struct in struct:android::ALooper 77 List<Event> mEventQueue;
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | ALooper.h | 67 struct Event { struct in struct:android::ALooper 77 List<Event> mEventQueue;
|
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/ |
H A D | ALooper.h | 67 struct Event { struct in struct:android::ALooper 77 List<Event> mEventQueue;
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioEventLogger.java | 29 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 D | MockPriorityJobService.java | 40 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 D | ResChunkPullParser.h | 38 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 D | DisplayEventReceiver.h | 57 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 D | DisplayEventReceiver.h | 57 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 D | Lifecycle.java | 29 * {@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 D | MetricsReader.java | 75 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 D | EuiccNotification.java | 38 /** 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 D | WifiWakeMetrics.java | 224 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 D | NeuralNetworksWrapper.h | 214 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 D | Event.java | 28 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 D | ActivityRecognitionHardware.java | 46 * 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 D | FillEventHistory.java | 71 @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 D | EventLog.java | 59 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 D | TrustArchive.java | 44 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 D | XmlPullParser.h | 44 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 D | StateMachine.java | 32 * 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 D | UsageEvents.java | 31 * 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 D | EventManager.java | 60 * @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 D | EventBus.java | 94 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<ReturnType>(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...] |