/frameworks/base/services/java/com/android/server/ |
H A D | NativeDaemonEvent.java | 70 * additional subsequent events. 161 * {@link #getMessage()} for any events matching the requested code. 163 public static String[] filterMessageList(NativeDaemonEvent[] events, int matchCode) { argument 165 for (NativeDaemonEvent event : events) {
|
H A D | NetworkManagementService.java | 1383 final NativeDaemonEvent[] events = mConnector.executeForList( 1385 for (NativeDaemonEvent event : events) {
|
/frameworks/rs/ |
H A D | rsThreadIO.cpp | 114 p[0].events = POLLIN; 117 p[1].events = POLLIN; 178 // We want to finish processing fifo events before processing the vsync.
|
H A D | rsFifoSocket.cpp | 94 p.events = POLLIN;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardHelper.java | 179 KeyEvent[] events = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD).getEvents( 181 if (events != null) { 182 final int N = events.length; 184 KeyEvent event = events[i];
|
/frameworks/native/services/sensorservice/tests/ |
H A D | sensorservicetest.cpp | 28 int receiver(int fd, int events, void* data) argument 56 printf("error reading events (%s)\n", strerror(-n));
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 31 * Command that sends key events to the device, either by their keycode, or by 172 KeyEvent[] events = kcm.getEvents(chars); 173 for(int i = 0; i < events.length; i++) { 174 KeyEvent e = events[i];
|
/frameworks/native/include/android/ |
H A D | sensor.h | 38 * Structures and functions to receive and process sensor events in 223 * Sets the delivery rate of events in microseconds for the given sensor. 232 * Returns true if there are one or more events available in the 233 * sensor queue. Returns 1 if the queue has events; 0 if 234 * it does not have events; and a negative value if there is an error. 239 * Returns the next available events from the queue. Returns a negative 240 * value if no events are available or an error has occurred, otherwise 241 * the number of events returned. 252 ASensorEvent* events, size_t count); 278 * Returns the minimum delay allowed between events i [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 545 // able to generate normal key events... 551 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); 552 if (events != null) { 553 for (int i=0; i<events.length; i++) { 554 if (DEBUG) Log.v(TAG, "Sending: " + events[i]); 555 sendKeyEvent(events[i]);
|
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 215 eventItem.events = EPOLLIN; 724 if (eventItem.events & EPOLLIN) { 727 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); 733 if (eventItem.events & EPOLLIN) { 743 eventItem.events); 751 eventItem.events, eventItem.data.u32); 756 if (eventItem.events & EPOLLIN) { 785 // which simply timestamps all events on entry to evdev. 829 // it has a default clock source of CLOCK_REALTIME. Any input events 874 } else if (eventItem.events [all...] |
H A D | InputDispatcher.cpp | 43 // Log debug messages about hover events. 69 // Amount of time to allow for all pending events to be processed when an app switch 70 // key is on the way. This is used to preempt input dispatch and drop input events 78 // Amount of time to allow touch events to be streamed out to a connection before requiring 81 // queue of waiting unfinished events, then ANRs will similarly be delayed by one second. 87 // Number of recent events to keep for debugging purposes. 251 // Reset the key repeat timer whenever we disallow key events, even if the next event 258 // If dispatching is frozen, do not process timeouts or try to deliver any new events. 268 // been pressed. When it expires, we preempt dispatch and drop all other pending events. 316 // All events ar 2101 handleReceiveCallback(int fd, int events, void* data) argument [all...] |
H A D | InputDispatcher.h | 71 /* 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 219 * A filter can also transform and inject events later by passing POLICY_FLAG_FILTERED 251 /* Notifies the policy about switch events. 259 /* Checks whether a given application pid/uid has permission to inject input events 270 /* Notifies the system about input events generated by the input reader. 324 * When enabled, incoming input events are sent to the policy's filterInputEvent 326 * injectInputEvent to inject the events it would like to have dispatched. 339 /* Registers or unregister input channels that may be used as targets for input events [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | TimePickerDialog.java | 485 * For keyboard mode, processes key events. 785 KeyEvent[] events = kcm.getEvents(new char[]{amChar, pmChar}); 786 // There should be 4 events: a down and up for both AM and PM. 787 if (events != null && events.length == 4) { 788 mAmKeyCode = events[0].getKeyCode(); 789 mPmKeyCode = events[2].getKeyCode();
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 611 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 D | MediaPlayer_to_android.cpp | 62 XAuint32 events; local 75 // indicate a prefetch error, so we signal it by sending simultaneously two events: 86 events = SL_PREFETCHEVENT_FILLLEVELCHANGE | SL_PREFETCHEVENT_STATUSCHANGE; 95 (*callback)(&mp->mPrefetchStatus.mItf, callbackPContext, events); 127 // callback is unconditional; there is no bitmask of enabled events
|
H A D | AudioPlayer_to_android.cpp | 650 * 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/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 290 // There have been reports of HWCs that signal several vsync events 292 // is a bug in the HWC implementation, but filter the extra events 493 const int32_t oldValue = mDisplayData[disp].events & eventBit; 498 int32_t& events(mDisplayData[disp].events); 499 events = (events & ~eventBit) | newValue; 1159 events(0)
|
H A D | HWComposer.h | 331 int32_t events; member in struct:android::HWComposer::DisplayData
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 313 * (has no more events to process). 836 * Sends the key events corresponding to the text to the app being 847 KeyEvent[] events = keyCharacterMap.getEvents(text.toCharArray()); 849 if (events != null) { 850 for (int i = 0; i < events.length; i++) { 853 // time stamp and the system rejects too old events. Hence, it is 856 sendKeySync(KeyEvent.changeTimeRepeat(events[i], SystemClock.uptimeMillis(), 0)); 909 * Higher-level method for sending both the down and up key events for a
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 188 * 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/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 194 * Callback for handling native events on the application's main thread. 196 static int mainWorkCallback(int fd, int events, void* data) { argument 198 if ((events & POLLIN) == 0) {
|
H A D | android_hardware_SensorManager.cpp | 145 virtual int handleEvent(int fd, int events, void* data) { argument 183 // FIXME: error receiving events, what to do in this case?
|
/frameworks/base/services/common_time/ |
H A D | common_time_server.cpp | 216 pfds[eventCnt].events = POLLIN; 224 pfds[eventCnt].events = POLLIN;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyManager.java | 1295 * the events argument. 1303 * events argument to 1308 * @param events The telephony state(s) of interest to the listener, 1312 public void listen(PhoneStateListener listener, int events) { argument 1316 sRegistry.listen(pkgForDebug, listener.callback, events, notifyNow);
|