Searched refs:numEvents (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DSecurityEventTest.java42 private List<SecurityEvent> buildSecurityEvents(int numEvents, long id) { argument
44 for (int i = 0; i < numEvents; i++) {
53 assertTrue("Unexpected number of events read from the log.", events.size() >= numEvents);
56 for (int i = events.size() - numEvents; i < events.size(); i++) {
/frameworks/native/libs/sensor/
H A DSensorEventQueue.cpp61 ASensorEvent const* events, size_t numEvents) {
62 return BitTube::sendObjects(tube, events, numEvents);
65 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { argument
75 size_t count = min(numEvents, mAvailable);
60 write(const sp<BitTube>& tube, ASensorEvent const* events, size_t numEvents) argument
/frameworks/native/libs/sensor/include/sensor/
H A DSensorEventQueue.h74 ASensorEvent const* events, size_t numEvents);
76 ssize_t read(ASensorEvent* events, size_t numEvents);
/frameworks/base/core/java/android/service/autofill/
H A DFillEventHistory.java138 int numEvents = mEvents.size();
139 for (int i = 0; i < numEvents; i++) {
526 final int numEvents = parcel.readInt();
527 for (int i = 0; i < numEvents; i++) {
/frameworks/native/services/sensorservice/
H A DSensorEventConnection.cpp222 sensors_event_t const* buffer, size_t numEvents,
233 while (i<numEvents) {
286 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle &&
294 count = numEvents;
296 scratch = sanitizedBuffer = new sensors_event_t[numEvents];
297 for (size_t i = 0; i < numEvents; i++) {
221 sendEvents( sensors_event_t const* buffer, size_t numEvents, sensors_event_t* scratch, wp<const SensorEventConnection> const * mapFlushEventsToConnections) argument
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp1260 int numEvents = epoll_wait(epoll_fd, events, 1, 1000); local
1261 if (numEvents < 0) {
1267 if (numEvents > 0) {
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceImpl.java1015 int numEvents = mEventHistory.getEvents().size();
1016 for (int i = 0; i < numEvents; i++) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java3237 final int numEvents = events.size();
3238 for (int i = 0; i < numEvents; i++) {

Completed in 113 milliseconds