Home
last modified time | relevance | path

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

/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()
534 final int numEvents = parcel.readInt();
535 for (int i = 0; i < numEvents; i++) {
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp289 sensors_event_t const* buffer, size_t numEvents, in sendEvents() argument
300 while (i<numEvents) { in sendEvents()
353 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents()
361 count = numEvents; in sendEvents()
363 sanitizedBuffer.reset(new sensors_event_t[numEvents]); in sendEvents()
365 for (size_t i = 0; i < numEvents; i++) { in sendEvents()
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java188 int numEvents = 0; in dump() local
201 numEvents++; in dump()
210 pw.println(" Events: " + numEvents + ", Time-Resets: " + numResets); in dump()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp302 ssize_t numEvents; in handleEvent() local
304 numEvents = mBootAnimation->mDisplayEventReceiver->getEvents(buffer, kBufferSize); in handleEvent()
305 for (size_t i = 0; i < static_cast<size_t>(numEvents); i++) { in handleEvent()
332 } while (numEvents > 0); in handleEvent()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp1434 int numEvents = epoll_wait(epoll_fd, events, 1, 1000); in run_server() local
1435 if (numEvents < 0) { in run_server()
1441 if (numEvents > 0) { in run_server()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java648 final int numEvents = events.size(); in sendEventsForChangedWindowsLocked() local
649 for (int i = 0; i < numEvents; i++) { in sendEventsForChangedWindowsLocked()
/frameworks/base/core/java/android/app/
DAppOpsManager.java3159 int numEvents = mAccessEvents.size(); in collectKeys() local
3160 for (int i = 0; i < numEvents; i++) { in collectKeys()
3166 int numEvents = mRejectEvents.size(); in collectKeys() local
3167 for (int i = 0; i < numEvents; i++) { in collectKeys()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3615 public void createFakeHistoryEvents(long numEvents) { in createFakeHistoryEvents() argument
3616 for(long i = 0; i < numEvents; i++) { in createFakeHistoryEvents()