Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 39) 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/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/src/com/android/server/wm/traces/common/layers/
DLayerTraceEntry.kt41 val children: Array<Layer> get() = flattenedLayers.filter { it.isRootLayer }.toTypedArray() in <lambda>()
64 get() = flattenedLayers.filter { it.isVisible }.toTypedArray() in <lambda>()
88 .filter { it.contains(layer) && !it.hasRoundedCorners }.toTypedArray() in <lambda>()
91 .filter { it.overlaps(layer) && it !in layer.occludedBy } in <lambda>()
94 val coveredBy = transparentLayers.filter { it.overlaps(layer) }.toTypedArray() in <lambda>()
120 val layers = visibleLayers.filter { it.name.contains(windowName) } in <lambda>()
DLayersTrace.kt64 fun filter(from: Long, to: Long): LayersTrace { in filter() method in com.android.server.wm.traces.common.layers.LayersTrace
DLayerTraceEntryBuilder.kt117 val remainingRoots = orphans.filter { it.parentId == firstRoot.parentId } in <lambda>()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/windowmanager/
DWindowManagerTraceTest.kt75 .filter { Modifier.isPublic(it.modifiers) } in <lambda>()
77 .filter { it.isFailure } in <lambda>()
85 .filter { in <lambda>()
91 .filter { it.isFailure } in <lambda>()
145 val splitWmTrace = trace.filter(9215895891561, 9216093628925) in <lambda>()
155 val splitWmTrace = trace.filter(71607477186189, 71607812120180) in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/
DAssertionEngine.kt48 .filter { knownTypes.contains(it.tag.transition) } in <lambda>()
54 .filter { it.transitionType == transition.tag.transition } in <lambda>()
79 state.tags.filter { tag -> tag.isStartTag } in <lambda>()
109 val filteredWmTrace = wmTrace.filter(tag.startTimestamp, tag.endTimestamp) in <lambda>()
110 val filteredLayersTrace = layersTrace.filter(tag.startTimestamp, tag.endTimestamp) in <lambda>()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/service/
DAssertionEngineTest.kt55 .filter { it.tag.transition == Transition.APP_LAUNCH } in canSplitTraces_singleTag()
69 .filter { it.tag.transition == Transition.ROTATION } in canSplitLayersTrace_mergedTags()
83 .filter { it.tag.transition == Transition.APP_CLOSE } in canSplitLayersTrace_noTags()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/
DWMFlickerServiceRuleForTestSpec.kt44 val assertions = AssertionData.readConfiguration().filter { it.category == category } in <lambda>()
48 .filter { it.assertionTag == AssertionTag.ALL } in <lambda>()
49 .filter { 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/
DWindowManagerTrace.kt64 fun filter(from: Long, to: Long): WindowManagerTrace { in <lambda>() method
/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/test/src/com/android/server/wm/flicker/layers/
DLayersTraceTest.kt134 val splitlayersTrace = trace.filter(71607477186189, 71607812120180) in <lambda>()
145 val splitLayersTrace = trace.filter(9213763541297, 9215895891561) in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/service/processors/
DPipEnterProcessor.kt58 ): List<Layer> = current.layerState.flattenedLayers.filter { in getInitialState()
80 val notScalingLayerIds = allScalingLayers.keys.filter { !scalingLayerIds.contains(it) } in getInitialState()
DAppCloseProcessor.kt65 val activities = task.activities.filter { activity -> in <lambda>()
72 activity.children.filterIsInstance<WindowState>().filter { window -> 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/
DFlickerResult.kt61 val filteredRuns = runs.filter { it.assertionTag == assertion.tag } in <lambda>()
DFlickerTestParameterFactory.kt64 .filter { (start, end) -> start != end } in <lambda>()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/service/assertors/
DAppLaunchAssertionsTest.kt38 .filter { it.transitionType == Transition.APP_LAUNCH } in <lambda>()
DRotationAssertionsTest.kt39 .filter { it.transitionType == Transition.ROTATION } in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DTask.kt72 .filter { it.isNotEmpty() } in <lambda>()
84 ?: tasks.flatMap { task -> task.activities.filter { predicate(task, it) } } in <lambda>()

12