Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 32) sorted by relevance

12

/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DCompilationFilterRule.java61 String filter = getArguments().getString(COMPILE_FILTER_OPTION); in finished() local
65 if (filter == null) { in finished()
69 } else if (!COMPILE_FILTER_LIST.contains(filter)) { in finished()
73 "Unknown compiler filter: %s, not part of %s", filter, filterOptions)); in finished()
83 if (filter.equalsIgnoreCase(SPEED_PROFILE_FILTER)) { in finished()
97 String.format(COMPILE_CMD_FORMAT, filter, app)); in finished()
DDex2oatPressureRule.java94 .filter(pkg -> !installedPackages.contains(pkg)) in starting()
169 protected void runCompileCommand(String pkg, String filter) { in runCompileCommand() argument
171 executeShellCommand(String.format(COMPILE_COMMAND_TEMPLATE, filter, pkg)).trim(); in runCompileCommand()
178 pkg, filter, response)); in runCompileCommand()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/layers/
DLayerTraceEntry.kt36 val rootLayers: Array<Layer> get() = flattenedLayers.filter { it.isRootLayer }.toTypedArray() in <lambda>()
59 get() = flattenedLayers.filter { it.isVisible }.toTypedArray() in <lambda>()
83 .filter { it.contains(layer) && !it.hasRoundedCorners }) in <lambda>()
85 opaqueLayers.filter { it.overlaps(layer) && it !in layer.occludedBy }) in <lambda>()
86 layer.coveredBy.addAll(transparentLayers.filter { it.overlaps(layer) }) in <lambda>()
DLayerTraceEntryBuilder.kt116 val remainingRoots = orphans.filter { it.parentId == firstRoot.parentId } in <lambda>()
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DPinnerHelperTest.java133 .filter(s -> s.startsWith(PinnerHelper.SYSTEM_HEADER_NAME + "_")) in testSystemFileSizeMetrics()
148 .filter(s -> s.startsWith(HOME_APP_PREFIX)) in testIndividualAppFileSizeMetrics()
163 .filter(s -> (s.endsWith(PinnerHelper.PINNER_FILES_COUNT_SUFFIX) in testValidateTotalFileSizeCount()
166 int totalFilesCount = metrics.entrySet().stream().filter( in testValidateTotalFileSizeCount()
204 .filter(s -> s.startsWith(PinnerHelper.SYSTEM_HEADER_NAME + "_")) in testOnlySystemPinnerInfoIsPresent()
209 .filter(s -> s.startsWith(HOME_APP_PREFIX)) in testOnlySystemPinnerInfoIsPresent()
229 .filter(s -> s.startsWith(HOME_APP_PREFIX)) in testOnlyAppPinnerMetricsInfoIsPresent()
234 .filter(s -> (s.startsWith(PinnerHelper.SYSTEM_HEADER_NAME + "_") in testOnlyAppPinnerMetricsInfoIsPresent()
269 .filter(s -> s.startsWith(PinnerHelper.SYSTEM_HEADER_NAME + "_")) in testMetricMapResetOnMultipleGetMetrics()
283 .filter(s -> s.startsWith(HOME_APP_PREFIX)) in testMetricMapResetOnMultipleGetMetrics()
[all …]
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DWindowManagerTraceTest.kt73 .filter { Modifier.isPublic(it.modifiers) } in <lambda>()
75 .filter { it.isFailure } in <lambda>()
83 .filter { in <lambda>()
89 .filter { it.isFailure } in <lambda>()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DUiInteractionFrameInfoListener.java92 IntentFilter filter = new IntentFilter(); in onTestStartAlternative() local
93 filter.addAction(InteractionJankMonitor.ACTION_SESSION_BEGIN); in onTestStartAlternative()
94 filter.addAction(InteractionJankMonitor.ACTION_METRICS_LOGGED); in onTestStartAlternative()
95 filter.addAction(InteractionJankMonitor.ACTION_SESSION_CANCEL); in onTestStartAlternative()
96 getInstrumentation().getContext().registerReceiver(mReceiver, filter); in onTestStartAlternative()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/
DWindowManagerState.kt80 get() = windowStates.filter { it.isAppWindow }.toTypedArray() in <lambda>()
89 get() = windowStates.filter { it.isSurfaceShown }.toTypedArray() in <lambda>()
91 get() = appWindows.filter { it.isVisible } in <lambda>()
96 .filter { it.windowingMode == WINDOWING_MODE_PINNED } in <lambda>()
143 get() = windowStates.filter { it.isValidNavBarType }.toTypedArray() in <lambda>()
423 return windowStates.filter { it.isSurfaceShown && it.title == windowName } in <lambda>()
433 windowStates.filter { ws -> in <lambda>()
440 windowStates.filter { it.attributes.type == type } in <lambda>()
443 windowStates.filter { it.title === windowName }.map { it.token } in <lambda>()
446 val navWindow = windowStates.filter { it.isValidNavBarType && it.displayId == displayId } in <lambda>()
/platform_testing/build/tasks/tests/
Dinstrumentation_test_list.mk91 ifneq ($(filter StorageManager, $(PRODUCT_PACKAGES)),)
Dplatform_test_list.mk122 ifneq ($(filter vsoc_arm vsoc_arm64 vsoc_x86 vsoc_x86_64, $(TARGET_BOARD_PLATFORM)),)
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBinderListener.java59 .filter(item -> !item.isEmpty()) in setupAdditionalArgs()
DJankListener.java59 .filter(item -> !item.isEmpty()) in setupAdditionalArgs()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/
DLayerTraceEntrySubject.kt127 .filter { it.name.containsAny(*partialLayerNames) } in <lambda>()
133 val visibleLayers = selectedLayers.filter { it.isVisible } in <lambda>()
177 .filter { it.name.containsAny(*partialLayerNames) } in <lambda>()
DLayersTraceSubject.kt249 .filter { ignoreLayers.none { layerName -> layerName in it.name } } in <lambda>()
357 val subjectsInRange = subjects.filter { it.entry.timestamp in startTime..endTime } in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DFlickerResult.kt63 assertions.filter { it.tag == run.assertionTag }.mapNotNull { assertion -> in <lambda>()
DFlickerTestParameterFactory.kt64 .filter { (start, end) -> start != end } in <lambda>()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioSystemService.java180 .filter( in findClosestMatchingMixer()
195 .filter( in findClosestMatchingMixer()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/
DFlickerTraceSubject.kt89 val newVisible = currentVisible.filter { it !in lastVisible } in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/windowmanager/
DWindowManagerStateSubject.kt107 val selectedWindows = subjects.filter { it.name.containsAny(*partialWindowTitles) } in <lambda>()
113 val visibleWindows = selectedWindows.filter { it.isVisible } in <lambda>()
170 val visibleWindows = this.filter { it.isVisible } in <lambda>()
171 .filter { it.name.containsAny(*partialWindowTitles) } in <lambda>()
183 .filter { it.name.containsAny(*partialWindowTitles) } in <lambda>()
DWindowManagerTraceSubject.kt452 .filter { it.isVisible } in <lambda>()
453 .filter { in <lambda>()
473 val subjectsInRange = subjects.filter { it.wmState.timestamp in startTime..endTime } in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DDisplayContent.kt82 .filter { it.containsActivity(activityName) } in <lambda>()
DWindowContainer.kt83 .filter { predicate(it) } in <lambda>()
DActivityTask.kt70 .filter { it.isNotEmpty() } in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DEventLogMonitor.kt55 return events.filter { it.data != null }.dropWhile { in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/eventlog/
DEventLogSubject.kt52 focusList + trace.filter { it.hasFocus() }.map { it.window } in <lambda>()

12