Searched defs:events (Results 26 - 38 of 38) sorted by relevance

12

/frameworks/base/core/jni/
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?
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_view_ThreadedRenderer.cpp70 InvokeAnimationListeners(std::vector<OnFinishedEvent>& events) { argument
71 mOnFinishedEvents.swap(events);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h346 int32_t events; member in struct:android::HWComposer::DisplayData
/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/services/core/java/com/android/server/
H A DTelephonyRegistry.java96 int events; field in class:TelephonyRegistry.Record
102 boolean matchPhoneStateListenerEvent(int events) { argument
103 return (callback != null) && ((events & this.events) != 0);
116 + " events=" + Integer.toHexString(events) + "}";
375 r.events = 0;
435 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, argument
438 events, notifyNow);
443 int events, boolea
442 listenForSubscriber(int subId, String pkgForDebug, IPhoneStateListener callback, int events, boolean notifyNow) argument
447 listen(String pkgForDebug, IPhoneStateListener callback, int events, boolean notifyNow, int subId) argument
1438 checkListenerPermission(int events) argument
1479 validateEventsAndUserLocked(Record r, int events) argument
[all...]
/frameworks/native/services/sensorservice/
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/net/voip/src/jni/rtp/
H A DAudioGroup.cpp611 event.events = EPOLLIN;
675 event.events = EPOLLIN;
748 epoll_event events[count]; local
749 count = epoll_wait(mGroup->mEventQueue, events, count, deadline);
755 ((AudioStream *)events[i].data.ptr)->decode(tick);
/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/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
/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/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/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...]

Completed in 279 milliseconds

12