Searched defs:events (Results 126 - 147 of 147) sorted by relevance

123456

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorManager.cpp340 ASensorEventQueue* queue, ASensorEvent* events, size_t count) {
343 return queue->getEvents(events, count);
339 ASensorEventQueue_getEvents( ASensorEventQueue* queue, ASensorEvent* events, size_t count) argument
/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_client.cpp34 // Polls an fd for the given events.
35 Status<int> PollEvents(int fd, short events) { argument
37 pollfd pfd{fd, events, 0};
82 .events = EPOLLIN | EPOLLET,
142 std::array<epoll_event, kMaxEvents> events; local
152 const int ret = epoll_fd_.Wait(events.data(), events.size(),
157 "BufferHubQueue::WaitForBuffers: No events before timeout: "
171 // A BufferQueue's epoll fd tracks N+1 events, where there are N events,
220 const int events = status.get(); local
253 const int events = status.get(); local
[all...]
/frameworks/native/services/sensorservice/
H A DSensorEventConnection.cpp86 result.appendFormat("\t %s 0x%08x | status: %s | pending flush events %d \n",
94 result.appendFormat("\t events recvd: %d | sent %d | cache %d | dropped %d |"
190 // already been added, remove it. This is likely to happen when ALL the events stored in the
202 // registered for wake-up sensors OR for sending events in the cache.
225 // filter out events not for this connection
235 // Setting sensor_handle to the correct sensor to ensure the sensor events per
237 // events.
268 // Keep copying events into the scratch buffer as long as they are regular
292 // Early return if there are no events for this connection.
301 // There are some events i
556 handleEvent(int fd, int events, void* ) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.h361 int32_t events; member in struct:android::HWComposer::DisplayData
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DTelephonyRegistryMock.java49 int events; field in class:TelephonyRegistryMock.Record
57 boolean matchPhoneStateListenerEvent(int events) { argument
58 return (callback != null) && ((events & this.events) != 0);
72 + " events=" + Integer.toHexString(events)
131 r.events = 0;
176 public void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow) { argument
181 public void listenForSubscriber(int subId, String pkg, IPhoneStateListener callback, int events, argument
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp839 Vector< sp<IMemory> > events; local
883 events.add(eventMemory);
894 events.add(eventMemory);
905 events.add(eventMemory);
914 for (size_t i = 0; i < events.size(); i++) {
916 events[i]);
/frameworks/base/libs/input/
H A DPointerController.cpp50 virtual int handleEvent(int fd, int events, void* data) { argument
53 return callback->handleEvent(fd, events, data);
74 // The number of events to be read at once for DisplayEventReceiver.
485 int PointerController::handleEvent(int /* fd */, int events, void* /* data */) { argument
486 if (events & (Looper::EVENT_ERROR | Looper::EVENT_HANGUP)) {
488 "events=0x%x", events);
492 if (!(events & Looper::EVENT_INPUT)) {
494 "events=0x%x", events);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
H A DEventBus.java17 package com.android.systemui.recents.events;
119 * on the main application thread. Publishers can send() events to synchronously call subscribers
120 * of that event, or post() events to be processed in the next run of the {@link Looper}. In
123 * Interprocess events must be posted using postInterprocess() to ensure that it is dispatched
127 * Subscribers must be registered with a particular EventBus before they will receive events, and
148 * Each subscriber can be registered with a given priority (default 1), and events will be dispatch
149 * in decreasing order of priority. For subscribers with the same priority, events will be
153 * Interprocess events must extend {@link EventBus.InterprocessEvent}, have a constructor which
154 * takes a {@link Bundle} and implement toBundle(). This allows us to serialize events to be sent
161 * continue receiving events
[all...]
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp187 int events; local
189 display_manager_.get(), pfd.revents, &events);
192 else if (events & POLLIN)
573 // Test attribute change events.
643 // Failed attribute operations should not trigger update events.
/frameworks/native/libs/vr/libpdx_uds/
H A Dservice_framework_tests.cpp384 Status<int> GetEventMask(int events) { argument
386 return client_channel->GetEventMask(events);
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp216 * Callback for handling native events on the application's main thread.
218 static int mainWorkCallback(int fd, int events, void* data) { argument
220 if ((events & POLLIN) == 0) {
H A Dandroid_hardware_SensorManager.cpp332 virtual int handleEvent(int fd, int events, void* data) { argument
417 // FIXME: error receiving events, what to do in this case?
H A Dandroid_view_ThreadedRenderer.cpp87 explicit InvokeAnimationListeners(std::vector<OnFinishedEvent>& events) { argument
88 mOnFinishedEvents.swap(events);
118 // the playstate in time to ensure all the subsequent events get chained properly.
373 // user events, in which case the already posted listener's id will become stale, and
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java98 int events; field in class:TelephonyRegistry.Record
106 boolean matchPhoneStateListenerEvent(int events) { argument
107 return (callback != null) && ((events & this.events) != 0);
121 + " events=" + Integer.toHexString(events)
399 r.events = 0;
454 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, argument
457 events, notifyNow);
462 int events, boolea
461 listenForSubscriber(int subId, String pkgForDebug, IPhoneStateListener callback, int events, boolean notifyNow) argument
466 listen(String callingPackage, IPhoneStateListener callback, int events, boolean notifyNow, int subId) argument
1646 checkListenerPermission(int events) argument
1694 validateEventsAndUserLocked(Record r, int events) argument
[all...]
/frameworks/base/tests/net/java/android/net/apf/
H A DApfTest.java1087 private RaEvent lastRaEvent(List<Parcelable> events) { argument
1089 for (Parcelable ev : events) {
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp616 event.events = EPOLLIN;
680 event.events = EPOLLIN;
753 epoll_event events[count]; local
754 count = epoll_wait(mGroup->mEventQueue, events, count, deadline);
760 ((AudioStream *)events[i].data.ptr)->decode(tick);
/frameworks/native/libs/gui/
H A DSurface.cpp275 FrameEvents* events = mFrameEventHistory->getFrame(frameNumber); local
276 if (events == nullptr) {
282 // Update our cache of events if the requested events are not available.
283 if (checkConsumerForUpdates(events, mLastFrameNumber,
290 events = mFrameEventHistory->getFrame(frameNumber);
293 if (events == nullptr) {
299 getFrameTimestamp(outRequestedPresentTime, events->requestedPresentTime);
300 getFrameTimestamp(outLatchTime, events->latchTime);
301 getFrameTimestamp(outFirstRefreshStartTime, events
[all...]
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp756 * from a URI or FD, for prepare, prefetch, and play events
786 SLuint32 events; local
799 // indicate a prefetch error, so we signal it by sending simultaneously two events:
810 events = SL_PREFETCHEVENT_FILLLEVELCHANGE | SL_PREFETCHEVENT_STATUSCHANGE;
819 (*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.
265 // If dispatching is frozen, do not process timeouts or try to deliver any new events.
275 // been pressed. When it expires, we preempt dispatch and drop all other pending events.
323 // All events are eventually dequeued and processed this way, even if we intend to drop them.
416 // If the application takes too long to catch up then we drop all events precedin
2134 handleReceiveCallback(int fd, int events, void* data) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java3529 * the events argument.
3537 * events argument to
3542 * @param events The telephony state(s) of interest to the listener,
3546 public void listen(PhoneStateListener listener, int events) { argument
3560 listener.callback, events, notifyNow);
6731 * network available events
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java2689 // This child was just added lets remove all events.
3277 * The only time we want to intercept motion events is if we are in the
4068 // Talkback only listenes to scroll events of certain classes, let's make us a scrollview
4867 * Combines the length of several animation events into a single value.
4869 * @param events The events of the lengths to combine.
4871 * all events or the length of a specific event.
4873 static long combineLength(ArrayList<AnimationEvent> events) { argument
4875 int size = events.size();
4877 AnimationEvent event = events
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 676 milliseconds

123456