Home
last modified time | relevance | path

Searched refs:numEvents (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSecurityEventTest.java42 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/
DSensorEventQueue.cpp62 ASensorEvent const* events, size_t numEvents) { in write() argument
63 return BitTube::sendObjects(tube, events, numEvents); in write()
66 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read() argument
76 size_t count = min(numEvents, mAvailable); in read()
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h75 ASensorEvent const* events, size_t numEvents);
77 ssize_t read(ASensorEvent* events, size_t numEvents);
/frameworks/base/core/java/android/service/autofill/
DFillEventHistory.java138 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/
DSensorEventConnection.cpp230 sensors_event_t const* buffer, size_t numEvents, in sendEvents() argument
241 while (i<numEvents) { in sendEvents()
295 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents()
303 count = numEvents; in sendEvents()
305 sanitizedBuffer.reset(new sensors_event_t[numEvents]); in sendEvents()
307 for (size_t i = 0; i < numEvents; i++) { in sendEvents()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp1469 int numEvents = epoll_wait(epoll_fd, events, 1, 1000); in run_server() local
1470 if (numEvents < 0) { in run_server()
1476 if (numEvents > 0) { in run_server()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java1024 int numEvents = mEventHistory.getEvents().size(); in dumpLocked() local
1025 for (int i = 0; i < numEvents; i++) { in dumpLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3438 final int numEvents = events.size(); in sendEventsForChangedWindowsLocked() local
3439 for (int i = 0; i < numEvents; i++) { in sendEventsForChangedWindowsLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3610 public void createFakeHistoryEvents(long numEvents) { in createFakeHistoryEvents() argument
3611 for(long i = 0; i < numEvents; i++) { in createFakeHistoryEvents()