Home
last modified time | relevance | path

Searched refs:eventFilter (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/benchmark/
Dlog_event_filter_benchmark.cpp82 LogEventFilter eventFilter; in BM_LogEventFilterUnorderedSet() local
84 eventFilter.setAtomIds(kAtomIdsUnorderedSet, nullptr); in BM_LogEventFilterUnorderedSet()
87 benchmark::DoNotOptimize(eventFilter.isAtomInUse(atomId)); in BM_LogEventFilterUnorderedSet()
95 LogEventFilter eventFilter; in BM_LogEventFilterUnorderedSet2Consumers() local
97 eventFilter.setAtomIds(kAtomIdsUnorderedSet, &kAtomIdsUnorderedSet); in BM_LogEventFilterUnorderedSet2Consumers()
98 eventFilter.setAtomIds(kAtomIdsUnorderedSet2, &kAtomIdsUnorderedSet2); in BM_LogEventFilterUnorderedSet2Consumers()
99 eventFilter.setAtomIds(kAtomIdsUnorderedSet3, &kAtomIdsUnorderedSet); in BM_LogEventFilterUnorderedSet2Consumers()
100 eventFilter.setAtomIds(kAtomIdsUnorderedSet4, &kAtomIdsUnorderedSet2); in BM_LogEventFilterUnorderedSet2Consumers()
103 benchmark::DoNotOptimize(eventFilter.isAtomInUse(atomId)); in BM_LogEventFilterUnorderedSet2Consumers()
111 LogEventFilterGeneric<std::set<int>> eventFilter; in BM_LogEventFilterSet() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java428 private static boolean sendEventNewMessage(long eventFilter) { in sendEventNewMessage() argument
429 return ((eventFilter & EVENT_FILTER_NEW_MESSAGE) > 0); in sendEventNewMessage()
432 private static boolean sendEventMessageDeleted(long eventFilter) { in sendEventMessageDeleted() argument
433 return ((eventFilter & EVENT_FILTER_MESSAGE_DELETED) > 0); in sendEventMessageDeleted()
436 private static boolean sendEventMessageShift(long eventFilter) { in sendEventMessageShift() argument
437 return ((eventFilter & EVENT_FILTER_MESSAGE_SHIFT) > 0); in sendEventMessageShift()
440 private static boolean sendEventSendingSuccess(long eventFilter) { in sendEventSendingSuccess() argument
441 return ((eventFilter & EVENT_FILTER_SENDING_SUCCESS) > 0); in sendEventSendingSuccess()
444 private static boolean sendEventSendingFailed(long eventFilter) { in sendEventSendingFailed() argument
445 return ((eventFilter & EVENT_FILTER_SENDING_FAILED) > 0); in sendEventSendingFailed()
[all …]
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java1030 UiAutomation.AccessibilityEventFilter eventFilter, Supplier<String> message, in executeAndWaitForLauncherEvent() argument
1034 e -> mLauncherPackage.equals(e.getPackageName()) && eventFilter.accept(e), in executeAndWaitForLauncherEvent()
1039 UiAutomation.AccessibilityEventFilter eventFilter, Supplier<String> message, in executeAndWaitForEvent() argument
1045 command, eventFilter, WAIT_TIME_MS); in executeAndWaitForEvent()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java786 BiFunction<CpmsState, CpmsState, Boolean> eventFilter = null; in onApPowerStateChange() local
792 eventFilter = (stateToAdd, pendingSate) -> in onApPowerStateChange()
803 eventFilter = (stateToAdd, pendingState) -> in onApPowerStateChange()
812 if (eventFilter != null) { in onApPowerStateChange()
815 if (eventFilter.apply(newState, pendingState)) { in onApPowerStateChange()