Searched refs:events (Results 51 - 67 of 67) sorted by relevance

123

/frameworks/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp70 InvokeAnimationListeners(std::vector<OnFinishedEvent>& events) { argument
71 mOnFinishedEvents.swap(events);
H A Dandroid_app_NativeActivity.cpp196 * Callback for handling native events on the application's main thread.
198 static int mainWorkCallback(int fd, int events, void* data) { argument
200 if ((events & POLLIN) == 0) {
H A Dandroid_hardware_SensorManager.cpp162 virtual int handleEvent(int fd, int events, void* data) { argument
215 // FIXME: error receiving events, what to do in this case?
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp763 Vector< sp<IMemory> > events; local
807 events.add(eventMemory);
813 for (size_t i = 0; i < events.size(); i++) {
814 service->sendCallbackEvent_l(new CallbackEvent(CallbackEvent::TYPE_RECOGNITION, events[i],
/frameworks/base/core/java/android/app/
H A DInstrumentation.java318 * (has no more events to process).
841 * Sends the key events corresponding to the text to the app being
852 KeyEvent[] events = keyCharacterMap.getEvents(text.toCharArray());
854 if (events != null) {
855 for (int i = 0; i < events.length; i++) {
858 // time stamp and the system rejects too old events. Hence, it is
861 sendKeySync(KeyEvent.changeTimeRepeat(events[i], SystemClock.uptimeMillis(), 0));
914 * Higher-level method for sending both the down and up key events for a
/frameworks/native/services/sensorservice/
H A DSensorService.h43 // Max size is 100 KB which is enough to accept a batch of about 1000 events.
86 // Count the number of flush complete events which are about to be dropped in the buffer.
87 // Increment mPendingFlushEventsToSend in mSensorInfo. These flush complete events will be
88 // sent separately before the next batch of events.
91 // Check if there are any wake up events in the buffer. If yes, return the index of the
98 // Send pending flush_complete events. There may have been flush_complete_events that are
99 // dropped which need to be sent separately before other events. On older HALs (1_0) this
103 // Writes events from mEventCache to the socket.
112 // size, reallocate memory and copy over events from the older cache.
116 // app that it has read events fro
[all...]
H A DSensorService.cpp281 result.appendFormat("FifoMax=%d events | ",
341 result.appendFormat("Socket Buffer size = %d events\n",
399 // Reset sensors_event_t.flags to zero for all events in the buffer.
405 // course of this loop (especially when one-shot sensor events are present in the
413 // Poll has returned. Hold a wakelock if one of the events is from a wake up sensor. The
415 // sending events to clients (incrementing SensorEventConnection::mWakeLockRefCount) should
446 ALOGE("buffer too small to hold all events: "
496 // Send our events to clients. Check the state of wake lock for each client and release the
783 // event before sending events on this connection. Ignore one-shot sensors which don't
1072 result.appendFormat("\t %s 0x%08x | status: %s | pending flush events
1516 handleEvent(int fd, int events, void* ) argument
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java188 * Filter out the ones for events whose BYxxx rule is for
211 // BYWEEK -- this is just a guess. I wonder how many events
241 // only is meaningful when creating more events.
522 // This isn't ideal, but we'll generate a month's worth of events
712 * Run the recurrence algorithm. Processes events defined in the local
717 * If you want all of the events, pass Long.MAX_VALUE for rangeEndDateValue. If you pass
729 * @param out the TreeSet you'd like to fill with the events
868 events: {
984 // sometimes events get generated (BYDAY, BYHOUR, etc.) that
1024 break events;
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h346 int32_t events; member in struct:android::HWComposer::DisplayData
/frameworks/base/libs/common_time/
H A Dcommon_time_server.cpp216 pfds[eventCnt].events = POLLIN;
224 pfds[eventCnt].events = POLLIN;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java1971 * The only time we want to intercept motion events is if we are in the
2653 * Combines the length of several animation events into a single value.
2655 * @param events The events of the lengths to combine.
2657 * all events or the length of a specific event.
2659 static long combineLength(ArrayList<AnimationEvent> events) { argument
2661 int size = events.size();
2663 AnimationEvent event = events.get(i);
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp650 * from a URI or FD, for prepare, prefetch, and play events
680 SLuint32 events; local
693 // indicate a prefetch error, so we signal it by sending simultaneously two events:
704 events = SL_PREFETCHEVENT_FILLLEVELCHANGE | SL_PREFETCHEVENT_STATUSCHANGE;
713 (*callback)(&ap->mPrefetchStatus.mItf, callbackPContext, events);
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp43 // Log debug messages about hover events.
70 // Amount of time to allow for all pending events to be processed when an app switch
71 // key is on the way. This is used to preempt input dispatch and drop input events
79 // Amount of time to allow touch events to be streamed out to a connection before requiring
82 // queue of waiting unfinished events, then ANRs will similarly be delayed by one second.
88 // Number of recent events to keep for debugging purposes.
261 // If dispatching is frozen, do not process timeouts or try to deliver any new events.
271 // been pressed. When it expires, we preempt dispatch and drop all other pending events.
319 // All events are eventually dequeued and processed this way, even if we intend to drop them.
411 // If the application takes too long to catch up then we drop all events precedin
2091 handleReceiveCallback(int fd, int events, void* data) argument
[all...]
H A DInputDispatcher.h71 /* Waits for previous events to be dispatched so that the input dispatcher can determine
120 * previous hover events, signifying the end of the current hover sequence for that
158 // The subset of pointer ids to include in motion events dispatched to this input target
216 * A filter can also transform and inject events later by passing POLICY_FLAG_FILTERED
248 /* Notifies the policy about switch events.
256 /* Checks whether a given application pid/uid has permission to inject input events
267 /* Notifies the system about input events generated by the input reader.
321 * When enabled, incoming input events are sent to the policy's filterInputEvent
323 * injectInputEvent to inject the events it would like to have dispatched.
336 /* Registers or unregister input channels that may be used as targets for input events
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java1676 final NativeDaemonEvent[] events = mConnector.executeForList(
1678 for (NativeDaemonEvent event : events) {
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java2392 * the events argument.
2400 * events argument to
2405 * @param events The telephony state(s) of interest to the listener,
2409 public void listen(PhoneStateListener listener, int events) { argument
2413 sRegistry.listenForSubscriber(listener.mSubId, pkgForDebug, listener.callback, events, notifyNow);
/frameworks/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp236 /* commands and events */
268 printf("Too many events in the cache\n");
459 int events = 0; local

Completed in 440 milliseconds

123