/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() 779 final int numEvents = parcel.readInt(); 780 for (int i = 0; i < numEvents; i++) {
|
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 291 sensors_event_t const* buffer, size_t numEvents, in sendEvents() argument 302 while (i<numEvents) { in sendEvents() 355 } while ((i<numEvents) && ((buffer[i].sensor == sensor_handle && in sendEvents() 363 count = numEvents; in sendEvents() 365 sanitizedBuffer.reset(new sensors_event_t[numEvents]); in sendEvents() 367 for (size_t i = 0; i < numEvents; i++) { in sendEvents()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakeLockLog.java | 189 int numEvents = 0; in dump() local 194 numEvents++; in dump() 218 numEvents++; in dump() 229 pw.println(" Events: " + numEvents + ", Time-Resets: " + numResets); in dump()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/criticalevents/ |
D | CriticalEventLogTest.java | 659 private void createTestFileWithEvents(int numEvents) throws Exception { in createTestFileWithEvents() argument 661 log.events = new CriticalEventProto[numEvents]; in createTestFileWithEvents() 662 long startTimeMs = START_TIME_MS - (numEvents * 1000L); in createTestFileWithEvents() 664 for (int i = 0; i < numEvents; i++) { in createTestFileWithEvents()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | LogicalDisplayMapperTest.java | 359 int numEvents = allEvents.size(); in testDisplayDeviceAddAndRemove_withDisplayManagement() local 362 events.add(allEvents.get(numEvents - 2)); in testDisplayDeviceAddAndRemove_withDisplayManagement() 363 events.add(allEvents.get(numEvents - 1)); in testDisplayDeviceAddAndRemove_withDisplayManagement() 367 LogicalDisplay displayRemoved = displays.get(numEvents - 2); in testDisplayDeviceAddAndRemove_withDisplayManagement() 368 assertThat(displays.get(numEvents - 1)).isEqualTo(displayRemoved); in testDisplayDeviceAddAndRemove_withDisplayManagement()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 436 ssize_t numEvents; in handleEvent() local 438 numEvents = mBootAnimation->mDisplayEventReceiver->getEvents(buffer, kBufferSize); in handleEvent() 439 for (size_t i = 0; i < static_cast<size_t>(numEvents); i++) { in handleEvent() 466 } while (numEvents > 0); in handleEvent()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 741 final int numEvents = cachedEvents.events == null ? 0 : cachedEvents.events.size(); in queryEarliestEventsForPackage() local 742 if ((numEvents == 0 in queryEarliestEventsForPackage() 743 || cachedEvents.events.get(numEvents - 1).getEventType() != eventType) in queryEarliestEventsForPackage()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskFragmentOrganizerController.java | 1099 final int numEvents = pendingEvents.size(); in dispatchPendingEvents() local 1101 for (int i = 0; i < numEvents; i++) { in dispatchPendingEvents()
|
/frameworks/native/services/inputflinger/tests/ |
D | CursorInputMapper_test.cpp | 1097 constexpr static int32_t numEvents = in TEST_F() local 1099 for (int i = 0; i < numEvents; i++) { in TEST_F()
|
/frameworks/native/libs/binder/tests/ |
D | binderLibTest.cpp | 2164 int numEvents = epoll_wait(epoll_fd, events, 1, 1000); in run_server() local 2165 if (numEvents < 0) { in run_server() 2171 if (numEvents > 0) { in run_server()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityWindowManager.java | 988 final int numEvents = events.size(); in sendEventsForChangedWindowsLocked() local 989 for (int i = 0; i < numEvents; i++) { in sendEventsForChangedWindowsLocked()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 1226 int numEvents = mEventHistory.getEvents().size(); in dumpLocked() local 1227 for (int i = 0; i < numEvents; i++) { in dumpLocked()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 3914 int numEvents = mAccessEvents.size(); in collectKeys() local 3915 for (int i = 0; i < numEvents; i++) { in collectKeys() 3921 int numEvents = mRejectEvents.size(); in collectKeys() local 3922 for (int i = 0; i < numEvents; i++) { in collectKeys()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 4529 public void createFakeHistoryEvents(long numEvents) { in createFakeHistoryEvents() argument 4532 for(long i = 0; i < numEvents; i++) { in createFakeHistoryEvents()
|