/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
H A D | ASensorManager.cpp | 340 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 D | buffer_hub_queue_client.cpp | 34 // 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 D | SensorEventConnection.cpp | 86 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 D | HWComposer_hwc1.h | 361 int32_t events; member in struct:android::HWComposer::DisplayData
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | TelephonyRegistryMock.java | 49 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 D | SoundTriggerHwService.cpp | 839 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 D | PointerController.cpp | 50 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 D | EventBus.java | 17 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 D | dvr_display_manager-test.cpp | 187 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 D | service_framework_tests.cpp | 384 Status<int> GetEventMask(int events) { argument 386 return client_channel->GetEventMask(events);
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 216 * 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 D | android_hardware_SensorManager.cpp | 332 virtual int handleEvent(int fd, int events, void* data) { argument 417 // FIXME: error receiving events, what to do in this case?
|
H A D | android_view_ThreadedRenderer.cpp | 87 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 D | TelephonyRegistry.java | 98 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 D | ApfTest.java | 1087 private RaEvent lastRaEvent(List<Parcelable> events) { argument 1089 for (Parcelable ev : events) {
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 616 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 D | Surface.cpp | 275 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 D | AudioPlayer_to_android.cpp | 756 * 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 D | InputDispatcher.cpp | 43 // 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 D | TelephonyManager.java | 3529 * 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 D | NotificationStackScrollLayout.java | 2689 // 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 D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |