Home
last modified time | relevance | path

Searched refs:Collection (Results 1 – 25 of 102) sorted by relevance

12345

/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DIComponentMatcher.kt38 fun windowMatchesAnyOf(windows: Collection<WindowContainer>): Boolean in windowMatchesAnyOf()
50 fun activityMatchesAnyOf(activities: Collection<Activity>): Boolean in windowMatchesAnyOf()
62 fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean in windowMatchesAnyOf()
106 fun check(layers: Collection<Layer>, condition: (Collection<Layer>) -> Boolean): Boolean in windowMatchesAnyOf()
108 fun filterLayers(layers: Collection<Layer>): Collection<Layer> = in windowMatchesAnyOf()
111 fun filterWindows(windows: Collection<WindowContainer>): Collection<WindowContainer> = in filterWindows()
DExactComponentIdMatcher.kt36 override fun windowMatchesAnyOf(windows: Collection<WindowContainer>) = in windowMatchesAnyOf()
43 override fun activityMatchesAnyOf(activities: Collection<Activity>) = in activityMatchesAnyOf()
50 override fun layerMatchesAnyOf(layers: Collection<Layer>) = layers.any { it.id == layerId } in <lambda>()
54 layers: Collection<Layer>, in check()
55 condition: (Collection<Layer>) -> Boolean in check()
DEdgeExtensionComponentMatcher.kt25 override fun windowMatchesAnyOf(windows: Collection<WindowContainer>): Boolean { in windowMatchesAnyOf()
31 override fun activityMatchesAnyOf(activities: Collection<Activity>): Boolean { in activityMatchesAnyOf()
37 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf()
51 layers: Collection<Layer>, in check()
52 condition: (Collection<Layer>) -> Boolean in check()
DOrComponentMatcher.kt23 class OrComponentMatcher(private val componentMatchers: Collection<IComponentMatcher>) : in <lambda>()
32 override fun windowMatchesAnyOf(windows: Collection<WindowContainer>): Boolean { in <lambda>()
42 override fun activityMatchesAnyOf(activities: Collection<Activity>): Boolean { in <lambda>()
52 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in <lambda>()
58 layers: Collection<Layer>, in <lambda>()
59 condition: (Collection<Layer>) -> Boolean in <lambda>()
DFullComponentIdMatcher.kt35 override fun windowMatchesAnyOf(windows: Collection<WindowContainer>): Boolean = in windowMatchesAnyOf()
49 override fun activityMatchesAnyOf(activities: Collection<Activity>) = in activityMatchesAnyOf()
56 override fun layerMatchesAnyOf(layers: Collection<Layer>) = in layerMatchesAnyOf()
68 layers: Collection<Layer>, in check()
69 condition: (Collection<Layer>) -> Boolean in check()
DComponentSplashScreenMatcher.kt25 override fun windowMatchesAnyOf(windows: Collection<WindowContainer>): Boolean { in windowMatchesAnyOf()
29 override fun activityMatchesAnyOf(activities: Collection<Activity>): Boolean { in activityMatchesAnyOf()
33 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf()
70 layers: Collection<Layer>, in check()
71 condition: (Collection<Layer>) -> Boolean in check()
DComponentNameMatcher.kt40 override fun activityRecordMatchesAnyOf(layers: Collection<Layer>): Boolean = in toActivityName()
48 override fun windowMatchesAnyOf(windows: Collection<WindowContainer>): Boolean = in windowMatchesAnyOf()
52 override fun activityMatchesAnyOf(activities: Collection<Activity>): Boolean = in activityMatchesAnyOf()
56 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean = in layerMatchesAnyOf()
61 layers: Collection<Layer>, in check()
62 condition: (Collection<Layer>) -> Boolean in check()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerTraceEntryBuilder.kt31 private var displays: Collection<Display> = emptyList() in <lambda>()
45 fun setDisplays(displays: Collection<Display>): LayerTraceEntryBuilder = apply { in <lambda>()
63 fun setLayers(layers: Collection<Layer>): LayerTraceEntryBuilder = apply { in <lambda>()
137 private fun computeRootLayers(): Collection<Layer> { in <lambda>()
163 private fun filterOutLayersInVirtualDisplays(roots: Collection<Layer>): Collection<Layer> { in <lambda>()
169 private fun filterOutVirtualDisplays(displays: Collection<Display>): Collection<Display> { in <lambda>()
173 private fun filterOutLayersInOffDisplays(roots: Collection<Layer>): Collection<Layer> { in <lambda>()
181 private fun filterOutLayersStackMatchNoDisplay(roots: Collection<Layer>): Collection<Layer> { in <lambda>()
DLayerTraceEntry.kt38 val displays: Collection<Display>, in <lambda>()
40 _rootLayers: Collection<Layer> in <lambda>()
47 val flattenedLayers: Collection<Layer> = fillFlattenedLayers(_rootLayers) in <lambda>()
52 val visibleLayers: Collection<Layer> in <lambda>()
55 val children: Collection<Layer> in <lambda>()
133 private fun fillFlattenedLayers(rootLayers: Collection<Layer>): Collection<Layer> { in <lambda>()
144 private fun Collection<Layer>.topDownTraversal(): List<Layer> { in <lambda>() method
158 private fun Collection<Layer>.fillOcclusionState(): Collection<Layer> { in <lambda>() method
DTransactionsTrace.kt22 class TransactionsTrace(override val entries: Collection<TransactionsTraceEntry>) : in <lambda>()
39 val allTransactions: Collection<Transaction> = entries.flatMap { it.transactions } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DAssertionResultImpl.kt26 override val assertionData: Collection<AssertionData>,
27 override val assumptionViolations: Collection<AssumptionViolatedException>,
28 override val assertionErrors: Collection<FlickerAssertionError>,
DAssertionResult.kt25 val assertionData: Collection<AssertionData>
26 val assertionErrors: Collection<FlickerAssertionError>
27 val assumptionViolations: Collection<AssumptionViolatedException>
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/
DViewTraceParser.kt26 AbstractTraceParser<ExportedData, WindowData, ViewTrace, Collection<ViewTrace>>() {
35 override fun getEntries(input: ExportedData): Collection<WindowData> = input.windowDataList in getEntries()
47 override fun createTrace(entries: Collection<ViewTrace>): Collection<ViewTrace> = entries
/platform_testing/libraries/flicker/test/src/android/tools/flicker/extractor/
DShellTransitionScenarioExtractorTest.kt41 transitions: Collection<Transition> in <lambda>()
42 ): Collection<Transition> { in <lambda>()
66 transitions: Collection<Transition> in <lambda>()
67 ): Collection<Transition> { in <lambda>()
102 transitions: Collection<Transition> in <lambda>()
103 ): Collection<Transition> { in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowManagerState.kt45 private val _pendingActivities: Collection<String>, in <lambda>()
59 val windowContainers: Collection<WindowContainer> in <lambda>()
62 val children: Collection<WindowContainer> in <lambda>()
66 val displays: Collection<DisplayContent> in <lambda>()
73 val rootTasks: Collection<Task> in <lambda>()
77 val taskFragments: Collection<TaskFragment> in <lambda>()
81 val windowStates: Collection<WindowState> in <lambda>()
85 val windows: Collection<WindowState> in <lambda>()
88 val appWindows: Collection<WindowState> in <lambda>()
90 val nonAppWindows: Collection<WindowState> in <lambda>()
[all …]
DTaskFragment.kt32 val tasks: Collection<Task> in <lambda>()
35 val taskFragments: Collection<TaskFragment> in <lambda>()
38 val activities: Collection<Activity> in <lambda>()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DMemHealthRecord.java26 import java.util.Collection;
118 static void saveVerbose(Collection<MemHealthRecord> allRecords, String fileName) in saveVerbose()
215 static void saveCsv(Collection<MemHealthRecord> allRecords, String fileName) throws IOException{ in saveCsv()
230 public static List<Long> getForegroundDalvikHeap(Collection<MemHealthRecord> samples) { in getForegroundDalvikHeap()
240 public static List<Long> getBackgroundDalvikHeap(Collection<MemHealthRecord> samples) { in getBackgroundDalvikHeap()
250 public static List<Long> getForegroundNativeHeap(Collection<MemHealthRecord> samples) { in getForegroundNativeHeap()
260 public static List<Long> getBackgroundNativeHeap(Collection<MemHealthRecord> samples) { in getBackgroundNativeHeap()
270 public static List<Long> getForegroundPss(Collection<MemHealthRecord> samples) { in getForegroundPss()
280 public static List<Long> getBackgroundPss(Collection<MemHealthRecord> samples) { in getBackgroundPss()
290 public static List<Long> getForegroundSummaryJavaHeap(Collection<MemHealthRecord> samples) { in getForegroundSummaryJavaHeap()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/events/
DEventLog.kt29 class EventLog(override val entries: Collection<Event>) : Trace<Event> {
30 val focusEvents: Collection<FocusEvent> =
33 val cujEvents: Collection<CujEvent> = entries.filterIsInstance<CujEvent>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DITransitionMatcher.kt22 fun findAll(transitions: Collection<Transition>): Collection<Transition>
/platform_testing/libraries/health/composers/host/src/android/host/test/composer/
DIterateBase.java19 import java.util.Collection;
55 .flatMap(Collection::stream) in apply()
60 .flatMap(Collection::stream) in apply()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DIFlickerServiceResultsCollector.kt30 fun resultsForTest(description: Description): Collection<AssertionResult>
31 fun detectedScenariosForTest(description: Description): Collection<ScenarioId>
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DMockTraceParser.kt30 override fun createTrace(entries: Collection<WindowManagerState>): WindowManagerTrace = in createTrace()
35 override fun getEntries(input: WindowManagerTrace): Collection<WindowManagerState> = in createTrace()
/platform_testing/tests/example/parameterized_test/src/test/example/parameterized/helloworld/
DHelloWorldTest.java25 import java.util.Collection;
36 public static Collection configs() { in configs()
/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/
DMetricsAsserts.java25 import java.util.Collection;
136 public boolean addAll(Collection<? extends LogMaker> collection) { in addAll()
151 public boolean containsAll(Collection<?> collection) { in containsAll()
166 public boolean removeAll(Collection<?> collection) { in removeAll()
171 public boolean retainAll(Collection<?> collection) { in retainAll()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/
DFlickerConfig.kt37 fun getEntries(): Collection<FlickerConfigEntry>
49 fun use(flickerConfigEntries: Collection<FlickerConfigEntry>): FlickerConfig

12345