/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphRunner.java | 42 private static final Event BEGIN_EVENT = new Event(Event.BEGIN, null); 43 private static final Event FLUSH_EVENT = new Event(Event.FLUSH, null); 44 private static final Event HALT_EVENT = new Event(Event.HALT, null); 45 private static final Event KILL_EVENT = new Event(Event.KILL, null); 46 private static final Event PAUSE_EVENT = new Event(Event.PAUSE, null); 47 private static final Event RELEASE_FRAMES_EVENT = new Event(Event.RELEASE_FRAMES, null); 48 private static final Event RESTART_EVENT = new Event(Event.RESTART, null); 49 private static final Event RESUME_EVENT = new Event(Event.RESUME, null); 50 private static final Event STEP_EVENT = new Event(Event.STEP, null); 51 private static final Event STOP_EVENT = new Event(Event.STOP, null); [all …]
|
D | CameraStreamer.java | 747 private static class Event { class in CameraStreamer 758 public Event(int code) { in Event() method in CameraStreamer.Event 772 private LinkedBlockingQueue<Event> mEventQueue = new LinkedBlockingQueue<Event>(MAX_EVENTS); 898 Event event = nextEvent(); in loop() 901 case Event.START: in loop() 904 case Event.STOP: in loop() 907 case Event.FRAME: in loop() 910 case Event.HALT: in loop() 913 case Event.RESTART: in loop() 916 case Event.UPDATE: in loop() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | TimedEventQueue.h | 34 struct Event : public RefBase { struct 35 Event() in Event() argument 39 virtual ~Event() {} in ~Event() argument 57 Event(const Event &); 58 Event &operator=(const Event &); argument 89 event_id postEvent(const sp<Event> &event); 91 event_id postEventToBack(const sp<Event> &event); 94 event_id postEventWithDelay(const sp<Event> &event, int64_t delay_us); 98 event_id postTimedEvent(const sp<Event> &event, int64_t realtime_us); 109 bool (*predicate)(void *cookie, const sp<Event> &event), [all …]
|
D | AwesomePlayer.h | 211 sp<TimedEventQueue::Event> mVideoEvent; 213 sp<TimedEventQueue::Event> mStreamDoneEvent; 215 sp<TimedEventQueue::Event> mBufferingEvent; 217 sp<TimedEventQueue::Event> mCheckAudioStatusEvent; 219 sp<TimedEventQueue::Event> mVideoLagEvent; 221 sp<TimedEventQueue::Event> mAudioTearDownEvent; 223 sp<TimedEventQueue::Event> mAsyncPrepareEvent;
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustArchive.java | 42 private static class Event { class in TrustArchive 56 private Event(int type, int userId, ComponentName agent, String message, in Event() method in TrustArchive.Event 69 ArrayDeque<Event> mEvents = new ArrayDeque<Event>(); 73 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration, in logGrantTrust() 78 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, false, false)); in logRevokeTrust() 82 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, null, 0, false, false)); in logTrustTimeout() 86 addEvent(new Event(TYPE_AGENT_DIED, userId, agent, null, 0, false, false)); in logAgentDied() 90 addEvent(new Event(TYPE_AGENT_CONNECTED, userId, agent, null, 0, false, false)); in logAgentConnected() 94 addEvent(new Event(TYPE_AGENT_STOPPED, userId, agent, null, 0, false, false)); in logAgentStopped() 98 addEvent(new Event(TYPE_MANAGING_TRUST, userId, agent, null, 0, false, managing)); in logManagingTrust() [all …]
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageLogActivity.java | 76 private final CircularArray<UsageEvents.Event> mEvents = new CircularArray<>(MAX_EVENTS); 81 UsageEvents.Event event = new UsageEvents.Event(); in update() 102 public UsageEvents.Event getItem(int position) { in getItem() 114 if (eventType == UsageEvents.Event.CONFIGURATION_CHANGE) { in getItemViewType() 122 final UsageEvents.Event event = getItem(position); in getView() 128 if (event.getEventType() == UsageEvents.Event.CONFIGURATION_CHANGE) { in getView() 152 event.getEventType() == UsageEvents.Event.CONFIGURATION_CHANGE) { in getView() 160 case UsageEvents.Event.MOVE_TO_FOREGROUND: in eventToString() 163 case UsageEvents.Event.MOVE_TO_BACKGROUND: in eventToString() 166 case UsageEvents.Event.CONFIGURATION_CHANGE: in eventToString()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 33 public TimeSparseArray<UsageEvents.Event> events; 75 UsageEvents.Event buildEvent(String packageName, String className) { in buildEvent() 76 UsageEvents.Event event = new UsageEvents.Event(); in buildEvent() 89 if (eventType == UsageEvents.Event.MOVE_TO_BACKGROUND || in update() 90 eventType == UsageEvents.Event.END_OF_DAY) { in update() 91 if (usageStats.mLastEvent == UsageEvents.Event.MOVE_TO_FOREGROUND || in update() 92 usageStats.mLastEvent == UsageEvents.Event.CONTINUE_PREVIOUS_DAY) { in update() 100 if (eventType == UsageEvents.Event.MOVE_TO_FOREGROUND) { in update()
|
D | UserUsageStatsService.java | 109 if (pkgStats.mLastEvent == UsageEvents.Event.MOVE_TO_FOREGROUND || in init() 110 pkgStats.mLastEvent == UsageEvents.Event.CONTINUE_PREVIOUS_DAY) { in init() 112 UsageEvents.Event.END_OF_DAY); in init() 127 void reportEvent(UsageEvents.Event event) { in reportEvent() 142 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE && in reportEvent() 156 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE) { in reportEvent() 281 List<UsageEvents.Event> results = queryStats(UsageStatsManager.INTERVAL_DAILY, in queryEvents() 282 beginTime, endTime, new StatCombiner<UsageEvents.Event>() { in queryEvents() 285 List<UsageEvents.Event> accumulatedResult) { in queryEvents() 301 final UsageEvents.Event event = stats.events.valueAt(i); in queryEvents() [all …]
|
D | UsageStatsService.java | 211 private void convertToSystemTimeLocked(UsageEvents.Event event) { in convertToSystemTimeLocked() 228 void reportEvent(UsageEvents.Event event, int userId) { in reportEvent() 331 reportEvent((UsageEvents.Event) msg.obj, msg.arg1); in handleMessage() 436 UsageEvents.Event event = new UsageEvents.Event(); in reportEvent() 454 UsageEvents.Event event = new UsageEvents.Event(); in reportConfigurationChange() 460 event.mEventType = UsageEvents.Event.CONFIGURATION_CHANGE; in reportConfigurationChange()
|
D | UsageStatsXmlV1.java | 104 final UsageEvents.Event event = statsOut.buildEvent(packageName, className); in loadEvent() 110 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE) { in loadEvent() 157 final UsageEvents.Event event) throws IOException { in writeEvent() 169 if (event.mEventType == UsageEvents.Event.CONFIGURATION_CHANGE in writeEvent()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 34 public static final class Event { class in UsageEvents 140 private List<Event> mEventsToWrite = null; 186 public UsageEvents(List<Event> events, String[] stringPool) { in UsageEvents() 210 public boolean getNextEvent(Event eventOut) { in getNextEvent() 249 private void writeEventToParcel(Event event, Parcel p, int flags) { in writeEventToParcel() 268 if (event.mEventType == Event.CONFIGURATION_CHANGE) { in writeEventToParcel() 276 private void readEventFromParcel(Parcel p, Event eventOut) { in readEventFromParcel() 294 if (eventOut.mEventType == Event.CONFIGURATION_CHANGE) { in readEventFromParcel() 319 final Event event = mEventsToWrite.get(i); in writeToParcel()
|
/frameworks/native/include/gui/ |
D | DisplayEventReceiver.h | 47 struct Event { struct 104 ssize_t getEvents(Event* events, size_t count); 106 Event* events, size_t count); 113 Event const* events, size_t count);
|
/frameworks/av/media/libstagefright/ |
D | TimedEventQueue.cpp | 100 TimedEventQueue::event_id TimedEventQueue::postEvent(const sp<Event> &event) { in postEvent() 107 const sp<Event> &event) { in postEventToBack() 112 const sp<Event> &event, int64_t delay_us) { in postEventWithDelay() 118 const sp<Event> &event, int64_t realtime_us) { in postTimedEvent() 149 void *cookie, const sp<TimedEventQueue::Event> &event) { in MatchesEventID() 176 bool (*predicate)(void *cookie, const sp<Event> &event), in cancelEvents() 220 sp<Event> event; in threadEntry() 302 sp<TimedEventQueue::Event> TimedEventQueue::removeEventFromQueue_l( in removeEventFromQueue_l() 307 sp<Event> event = (*it).event; in removeEventFromQueue_l()
|
/frameworks/native/services/surfaceflinger/ |
D | EventThread.h | 60 status_t postEvent(const DisplayEventReceiver::Event& event); 97 DisplayEventReceiver::Event* event); 122 Vector< DisplayEventReceiver::Event > mPendingEvents; 123 DisplayEventReceiver::Event mVSyncEvent[DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES];
|
D | EventThread.cpp | 163 DisplayEventReceiver::Event event; in onHotplugReceived() 174 DisplayEventReceiver::Event event; in threadLoop() 205 DisplayEventReceiver::Event* event) in waitForEvent() 406 const DisplayEventReceiver::Event& event) { in postEvent()
|
/frameworks/native/libs/gui/ |
D | DisplayEventReceiver.cpp | 80 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents() 86 Event* events, size_t count) in getEvents() 92 Event const* events, size_t count) in sendEvents()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardExporterTests.java | 27 import android.provider.ContactsContract.CommonDataKinds.Event; 1056 entry.addContentValues(Event.CONTENT_ITEM_TYPE) in testEventCommon() 1057 .put(Event.TYPE, Event.TYPE_ANNIVERSARY) in testEventCommon() 1058 .put(Event.START_DATE, "1982-06-16"); in testEventCommon() 1059 entry.addContentValues(Event.CONTENT_ITEM_TYPE) in testEventCommon() 1060 .put(Event.TYPE, Event.TYPE_BIRTHDAY) in testEventCommon() 1061 .put(Event.START_DATE, "2008-10-22"); in testEventCommon() 1062 entry.addContentValues(Event.CONTENT_ITEM_TYPE) in testEventCommon() 1063 .put(Event.TYPE, Event.TYPE_OTHER) in testEventCommon() 1064 .put(Event.START_DATE, "2018-03-12"); in testEventCommon() [all …]
|
D | VCardImporterTests.java | 20 import android.provider.ContactsContract.CommonDataKinds.Event; 677 elem.addExpected(Event.CONTENT_ITEM_TYPE) in testV21ComplicatedCase() 678 .put(Event.START_DATE, "19800101") in testV21ComplicatedCase() 679 .put(Event.TYPE, Event.TYPE_BIRTHDAY); in testV21ComplicatedCase() 1003 elem.addExpected(Event.CONTENT_ITEM_TYPE) in testIgnoreAgentV21() 1004 .put(Event.TYPE, Event.TYPE_ANNIVERSARY) in testIgnoreAgentV21() 1005 .put(Event.START_DATE, "20091010"); in testIgnoreAgentV21()
|
/frameworks/av/include/media/nbaio/ |
D | NBLog.h | 39 enum Event { enum 49 Entry(Event event, const void *data, size_t length) in Entry() 57 Event mEvent; // event type 141 void log(Event event, const void *data, size_t length);
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ALooper.h | 62 struct Event { struct 72 List<Event> mEventQueue;
|
/frameworks/av/media/libstagefright/foundation/ |
D | ALooper.cpp | 171 List<Event>::iterator it = mEventQueue.begin(); in post() 176 Event event; in post() 188 Event event; in loop()
|
/frameworks/base/core/java/android/hardware/location/ |
D | ActivityRecognitionHardware.java | 48 private static class Event { class in ActivityRecognitionHardware 136 private void onActivityChanged(Event[] events) { in onActivityChanged() 146 Event event = events[i]; in onActivityChanged()
|
/frameworks/base/core/java/android/util/ |
D | EventLog.java | 56 public static final class Event { class in EventLog 79 /*package*/ Event(byte[] data) { in Event() method in EventLog.Event 202 public static native void readEvents(int[] tags, Collection<Event> output) in readEvents()
|
/frameworks/av/media/libnbaio/ |
D | NBLog.cpp | 150 void NBLog::Writer::log(Event event, const void *data, size_t length) in log() 319 Event event; in dump() 328 event = (Event) copy[i - length - 3]; in dump() 361 event = (Event) copy[i]; in dump() 379 if (j >= avail || (Event) copy[j] != EVENT_TIMESTAMP) { in dump()
|
/frameworks/native/services/surfaceflinger/tests/vsync/ |
D | vsync.cpp | 27 DisplayEventReceiver::Event buffer[1]; in receiver()
|