Searched refs:eventIndex (Results 1 – 8 of 8) sorted by relevance
95 EventIndex eventIndex; in testQueryEventIndexForSingleEventType() local97 eventIndex = mAggEventHistory.getEventIndex(Event.TYPE_NOTIFICATION_OPENED); in testQueryEventIndexForSingleEventType()98 assertEquals(2, eventIndex.getActiveTimeSlots().size()); in testQueryEventIndexForSingleEventType()100 eventIndex = mAggEventHistory.getEventIndex(Event.TYPE_SMS_OUTGOING); in testQueryEventIndexForSingleEventType()101 assertEquals(1, eventIndex.getActiveTimeSlots().size()); in testQueryEventIndexForSingleEventType()103 eventIndex = mAggEventHistory.getEventIndex(Event.TYPE_SHORTCUT_INVOCATION); in testQueryEventIndexForSingleEventType()104 assertTrue(eventIndex.isEmpty()); in testQueryEventIndexForSingleEventType()112 EventIndex eventIndex; in testQueryEventIndexForMultipleEventTypes() local114 eventIndex = mAggEventHistory.getEventIndex(Event.SMS_EVENT_TYPES); in testQueryEventIndexForMultipleEventTypes()115 assertEquals(2, eventIndex.getActiveTimeSlots().size()); in testQueryEventIndexForMultipleEventTypes()[all …]
99 EventIndex eventIndex = mEventHistory.getEventIndex(Event.ALL_EVENT_TYPES); in testNoEvents() local100 assertTrue(eventIndex.isEmpty()); in testNoEvents()113 EventIndex eventIndex = mEventHistory.getEventIndex(Event.ALL_EVENT_TYPES); in testMultipleEvents() local114 assertEquals(4, eventIndex.getActiveTimeSlots().size()); in testMultipleEvents()127 EventIndex eventIndex = mEventHistory.getEventIndex(Event.NOTIFICATION_EVENT_TYPES); in testQuerySomeEventTypes() local128 assertEquals(2, eventIndex.getActiveTimeSlots().size()); in testQuerySomeEventTypes()142 EventIndex eventIndex = mEventHistory.getEventIndex(Event.TYPE_SHARE_IMAGE); in testQuerySingleEventType() local143 assertEquals(1, eventIndex.getActiveTimeSlots().size()); in testQuerySingleEventType()
67 final int eventIndex = 1; in toSelectionEvent_smartSelectionMulti() local74 expected.setEventIndex(eventIndex); in toSelectionEvent_smartSelectionMulti()86 .setEventIndex(eventIndex) in toSelectionEvent_smartSelectionMulti()96 final int eventIndex = 2; in toSelectionEvent_smartSelectionSingle() local103 expected.setEventIndex(eventIndex); in toSelectionEvent_smartSelectionSingle()115 .setEventIndex(eventIndex) in toSelectionEvent_smartSelectionSingle()127 final int eventIndex = 3; in toSelectionEvent_resetSelection() local135 expected.setEventIndex(eventIndex); in toSelectionEvent_resetSelection()149 .setEventIndex(eventIndex) in toSelectionEvent_resetSelection()159 final int eventIndex = 4; in toSelectionEvent_modifySelection() local[all …]
34 EventIndex eventIndex = eventHistory.getEventIndex(eventType); in getEventIndex() local35 if (!eventIndex.isEmpty()) { in getEventIndex()36 return eventIndex; in getEventIndex()47 EventIndex eventIndex = eventHistory.getEventIndex(eventTypes); in getEventIndex() local49 merged = eventIndex; in getEventIndex()50 } else if (!eventIndex.isEmpty()) { in getEventIndex()51 merged = EventIndex.combine(merged, eventIndex); in getEventIndex()62 EventIndex eventIndex = eventHistory.getEventIndex(eventTypes); in queryEvents() local63 if (eventIndex.isEmpty()) { in queryEvents()
158 EventIndex eventIndex = mEventIndexArray.get(eventType); in getEventIndex() local159 return eventIndex != null ? new EventIndex(eventIndex) : mInjector.createEventIndex(); in getEventIndex()167 EventIndex eventIndex = mEventIndexArray.get(eventType); in getEventIndex() local168 if (eventIndex != null) { in getEventIndex()169 combined = EventIndex.combine(combined, eventIndex); in getEventIndex()207 EventIndex eventIndex = mEventIndexArray.get(event.getType()); in addEventInMemory() local208 if (eventIndex == null) { in addEventInMemory()209 eventIndex = mInjector.createEventIndex(); in addEventInMemory()210 mEventIndexArray.put(event.getType(), eventIndex); in addEventInMemory() local212 eventIndex.addEvent(event.getTimestamp()); in addEventInMemory()
175 constexpr size_t eventIndex = static_cast<size_t>(event); in setDirty() local176 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in setDirty()177 mBitset.set(eventIndex); in setDirty()182 constexpr size_t eventIndex = static_cast<size_t>(event); in isDirty() local183 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in isDirty()184 return mBitset[eventIndex]; in isDirty()
588 public T setEventIndex(int eventIndex) { in setEventIndex() argument589 mEventIndex = eventIndex; in setEventIndex()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...