Home
last modified time | relevance | path

Searched refs:eventList (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/
DNfcEventLog.java97 NfcEventProto.EventList eventList; in readListFromLogFile() local
99 eventList = NfcEventProto.EventList.parseFrom(bytes); in readListFromLogFile()
105 for (NfcEventProto.Event event : eventList.getEventsList()) { in readListFromLogFile()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcEventLogTest.java137 NfcEventProto.EventList eventList = in testReadEventsFromLogFile() local
143 when(mLogFile.readFully()).thenReturn(eventList.toByteArray()); in testReadEventsFromLogFile()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtils.java107 final List<AppUsageEventEntity> eventList = in dumpAppUsageDatabaseHist() local
109 dumpListItems(writer, eventList, event -> event); in dumpAppUsageDatabaseHist()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1721 for (int current : mStkContext[slotId].mSetupEventListSettings.eventList) { in replaceEventList()
1726 .getSetEventList().eventList)) { in replaceEventList()
1739 private boolean findEvent(int event, int[] eventList) { in findEvent() argument
1740 for (int content : eventList) { in findEvent()
1750 if (findEvent(event, mStkContext[slot].mSetupEventListSettings.eventList)) { in unregisterEvent()
1778 for (int event : mStkContext[slotId].mSetupEventListSettings.eventList) { in registerEvents()
1862 mStkContext[slot].mSetupEventListSettings.eventList)) { in unregisterHomeVisibilityObserver()
1927 for (int i : mStkContext[slotId].mSetupEventListSettings.eventList) { in checkForSetupEvent()
1972 for (int i = 0; i < mStkContext[slotId].mSetupEventListSettings.eventList.length; i++) { in removeSetUpEvent()
1973 if (event == mStkContext[slotId].mSetupEventListSettings.eventList[i]) { in removeSetUpEvent()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java267 (i, eventList) -> { in registerSnapshotLoggingCallback()
280 eventList.add(statsEvent); in registerSnapshotLoggingCallback()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java989 List<CarPropertyEvent> eventList = new ArrayList<>(); in onPropertySetError() local
990 eventList.add( in onPropertySetError()
994 lastOperatedClient.onFilteredEvents(eventList); in onPropertySetError()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java786 List<CarPropertyEvent> eventList = mPropertyEventCaptor.getValue(); in testRegisterListenerWithSubscription() local
787 assertWithMessage("Must receive two initial value events").that(eventList).hasSize(2); in testRegisterListenerWithSubscription()
789 eventList.get(0).getCarPropertyValue()).isEqualTo(speedValue); in testRegisterListenerWithSubscription()
791 eventList.get(1).getCarPropertyValue()).isEqualTo(hvacValue); in testRegisterListenerWithSubscription()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyManagerUnitTest.java2195 List<CarPropertyEvent> eventList = List.of( in testRegisterCallback_restoresOriginalRateHzIfTheSecondCallbackReturnsFalse() local
2218 listener.onEvent(eventList); in testRegisterCallback_restoresOriginalRateHzIfTheSecondCallbackReturnsFalse()
2697 List<CarPropertyEvent> eventList = createErrorCarPropertyEventList(); in testOnErrorEvent_callbackIsCalledWithErrorEvent() local
2704 listener.onEvent(eventList); in testOnErrorEvent_callbackIsCalledWithErrorEvent()
2713 List<CarPropertyEvent> eventList = createCarPropertyEventList(); in testOnChangeEvent_callbackIsCalledWithEvent() local
2721 listener.onEvent(eventList); in testOnChangeEvent_callbackIsCalledWithEvent()