Searched refs:numEvents (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SecurityEventTest.java | 42 private List<SecurityEvent> buildSecurityEvents(int numEvents, long id) { in buildSecurityEvents() argument 44 for (int i = 0; i < numEvents; i++) { in buildSecurityEvents() 53 assertTrue("Unexpected number of events read from the log.", events.size() >= numEvents); in buildSecurityEvents() 56 for (int i = events.size() - numEvents; i < events.size(); i++) { in buildSecurityEvents()
|
/frameworks/native/libs/sensor/ |
D | SensorEventQueue.cpp | 61 ASensorEvent const* events, size_t numEvents) { in write() argument 62 return BitTube::sendObjects(tube, events, numEvents); in write() 65 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read() argument 75 size_t count = min(numEvents, mAvailable); in read()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorEventQueue.h | 74 ASensorEvent const* events, size_t numEvents); 76 ssize_t read(ASensorEvent* events, size_t numEvents);
|
/frameworks/base/core/java/android/service/autofill/ |
D | FillEventHistory.java | 138 int numEvents = mEvents.size(); in writeToParcel() local 139 for (int i = 0; i < numEvents; i++) { in writeToParcel() 526 final int numEvents = parcel.readInt(); 527 for (int i = 0; i < numEvents; i++) {
|
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 222 sensors_event_t const* buffer, size_t numEvents, in sendEvents() argument 233 while (i<numEvents) { in sendEvents() 286 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents() 294 count = numEvents; in sendEvents() 296 scratch = sanitizedBuffer = new sensors_event_t[numEvents]; in sendEvents() 297 for (size_t i = 0; i < numEvents; i++) { in sendEvents()
|
/frameworks/native/libs/binder/tests/ |
D | binderLibTest.cpp | 1260 int numEvents = epoll_wait(epoll_fd, events, 1, 1000); in run_server() local 1261 if (numEvents < 0) { in run_server() 1267 if (numEvents > 0) { in run_server()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 1015 int numEvents = mEventHistory.getEvents().size(); in dumpLocked() local 1016 for (int i = 0; i < numEvents; i++) { in dumpLocked()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 3237 final int numEvents = events.size(); in sendEventsForChangedWindowsLocked() local 3238 for (int i = 0; i < numEvents; i++) { in sendEventsForChangedWindowsLocked()
|