Searched refs:numEvents (Results 1 – 9 of 9) 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 | 62 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/ |
D | SensorEventQueue.h | 75 ASensorEvent const* events, size_t numEvents); 77 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 | 230 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/ |
D | binderLibTest.cpp | 1429 int numEvents = epoll_wait(epoll_fd, events, 1, 1000); in run_server() local 1430 if (numEvents < 0) { in run_server() 1436 if (numEvents > 0) { in run_server()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 1024 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/ |
D | AccessibilityManagerService.java | 3440 final int numEvents = events.size(); in sendEventsForChangedWindowsLocked() local 3441 for (int i = 0; i < numEvents; i++) { in sendEventsForChangedWindowsLocked()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3613 public void createFakeHistoryEvents(long numEvents) { in createFakeHistoryEvents() argument 3614 for(long i = 0; i < numEvents; i++) { in createFakeHistoryEvents()
|