Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 33) sorted by relevance

12

/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DMappedMultiException.java48 private String entryToString(Map.Entry<Object, Throwable> entry) { in entryToString() argument
49 return String.format("%s:\n%s", entry.getKey(), stackTraceToString(entry.getValue())); in entryToString()
66 .map(entry -> entryToString(entry)) in getMessage()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDataCollector.java82 for (Map.Entry<LogGenerator, Long> entry : generatorsWithIntervals.entrySet()) { in start()
83 if (entry.getValue() > 0) { in start()
84 Log.d(TAG, "Collecting " + entry.getKey() + " logs every " + in start()
85 entry.getValue() + " milliseconds"); in start()
87 mLastUpdate.put(entry.getKey(), SystemClock.uptimeMillis()); in start()
124 for (Map.Entry<LogGenerator, Long> entry : generatorsWithIntervals.entrySet()) { in loop()
125 Long t = SystemClock.uptimeMillis() - mLastUpdate.get(entry.getKey()); in loop()
127 if (entry.getValue() > 0 && t >= entry.getValue()) { in loop()
129 entry.getKey().save(instrumentation, resultsDirectory); in loop()
135 mLastUpdate.put(entry.getKey(), SystemClock.uptimeMillis()); in loop()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/assertors/common/
DEntireScreenCoveredAlways.kt35 layerSubject.invoke("entireScreenCovered") { entry -> in <lambda>() method
36 entry.entry.displays.forEach { display -> in <lambda>()
37 entry.visibleRegion().coversAtLeast(display.layerStackSpace) in <lambda>()
DEntireScreenCoveredAtStart.kt36 subject.entry.displays.forEach { display -> in <lambda>()
DEntireScreenCoveredAtEnd.kt36 subject.entry.displays.forEach { display -> in <lambda>()
DStatusBarLayerPositionAtEnd.kt37 val endDisplay = layerSubject.last().entry.displays.minByOrNull { it.id } in doEvaluate()
DStatusBarLayerPositionAtStart.kt37 val startDisplay = layerSubject.first().entry.displays.minByOrNull { it.id } in doEvaluate()
DNavBarLayerPositionAtEnd.kt38 val display = lastLayersSubject.entry.displays.minByOrNull { it.id } in doEvaluate()
DNavBarLayerPositionAtStart.kt38 val display = firstLayersSubject.entry.displays.minByOrNull { it.id } in doEvaluate()
/platform_testing/tests/functional/devicehealthtests/src/com/android/devicehealth/tests/
DHealthCheckBase.java55 DropBoxManager.Entry entry; in checkCrash() local
58 while (null != (entry = dropbox.getNextEntry(label, timestamp))) { in checkCrash()
61 dropboxSnippet = entry.getText(MAX_DROPBOX_READ); in checkCrash()
63 entry.close(); in checkCrash()
77 timestamp = entry.getTimeMillis(); in checkCrash()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/layers/
DLayersTraceTest.kt36 for (entry in layersTrace.entries) { in <lambda>() constant
37 val rootLayers = entry.children in <lambda>()
61 layersTrace.forEach { entry -> in <lambda>() method
63 .that(entry.visibleLayers).asList() in <lambda>()
83 val entry = trace.getEntry(1700382131522L) in <lambda>() constant
84 val layer = entry.getLayerWithBuffer( in <lambda>()
92 val splashScreenLayer = entry.getLayerWithBuffer( in <lambda>()
105 val entry = trace.getEntry(1700382131522L) in <lambda>() constant
106 val layer = entry.getLayerWithBuffer(layerName) in <lambda>()
DLayerTraceEntrySubjectTest.kt81 LayersTraceSubject.assertThat(trace).entry(935346112030) in canDetectUncoveredRegion()
100 LayersTraceSubject.assertThat(trace).entry(937229257165) in canTestLayerVisibleRegion_layerDoesNotExist()
114 LayersTraceSubject.assertThat(trace).entry(937126074082) in canTestLayerVisibleRegion_layerDoesNotHaveExpectedVisibleRegion()
128 LayersTraceSubject.assertThat(trace).entry(935346112030) in canTestLayerVisibleRegion_layerIsHiddenByParent()
142 LayersTraceSubject.assertThat(trace).entry(937126074082) in canTestLayerVisibleRegion_incorrectRegionSize()
155 LayersTraceSubject.assertThat(trace).entry(90480846872160) in canTestLayerVisibleRegion()
164 LayersTraceSubject.assertThat(trace).entry(252794268378458) in canTestLayerVisibleRegion_layerIsNotVisible()
175 val entry = LayersTraceSubject.assertThat(layersTrace) in testCanParseWithoutHWC_visibleRegion() constant
176 .entry(238517209878020) in testCanParseWithoutHWC_visibleRegion()
178 entry.visibleRegion(useCompositionEngineRegionOnly = false) in testCanParseWithoutHWC_visibleRegion()
[all …]
DLayersTraceEntryTest.kt135 val entry = layersTrace.getEntry(131954021476) in testCanParseNonCroppedLayerWithHWC() constant
137 .that(entry.visibleLayers.map { it.name }) in testCanParseNonCroppedLayerWithHWC()
139 val layer = entry.flattenedLayers.first { it.name == layerName } in testCanParseNonCroppedLayerWithHWC()
148 val entry = layersTrace.getEntry(238517209878020) in testCanParseNonCroppedLayerWithoutHWC() constant
150 .that(entry.visibleLayers.map { it.name }) in testCanParseNonCroppedLayerWithoutHWC()
156 .that(entry.visibleLayers.map { it.name }) in testCanParseNonCroppedLayerWithoutHWC()
160 .that(entry.flattenedLayers.map { it.name }) in testCanParseNonCroppedLayerWithoutHWC()
DLayersTraceSubjectTest.kt199 for (entry in layersTrace.entries) { in <lambda>() constant
200 val rootLayers = entry.children in <lambda>()
224 val entry = assertThat(trace).entry(1700382131522L) in <lambda>() constant
225 entry.isVisible(SIMPLE_APP_COMPONENT) in <lambda>()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/windowmanager/
DWindowManagerTraceTest.kt117 trace.entries.forEach { entry: WindowManagerState -> in <lambda>() method
118 entry::class.java.accessProperties(entry) in <lambda>()
119 entry.displays.forEach { it::class.java.accessProperties(it) } in <lambda>()
126 val entry = trace.getEntry(9213763541297) in <lambda>() constant
128 .that(entry.isIncomplete()) in <lambda>()
134 val entry = trace.getEntry(9215511235586) in <lambda>() constant
136 .that(entry.isIncomplete()) in <lambda>()
139 assertThat(entry.getIsIncompleteReason()) in <lambda>()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DAssertionsCheckerTest.kt164 private val entry: SimpleEntry in <lambda>() constant in com.android.server.wm.flicker.AssertionsCheckerTest
165 ) : FlickerSubject(failureMetadata, entry) { in <lambda>()
168 override val selfFacts = listOf(Fact.fact("SimpleEntry", entry.mData.toString())) in <lambda>()
170 return SimpleEntrySubject(fm, entry) in <lambda>()
174 check("is42").that(entry.mData).isEqualTo(42) in <lambda>()
178 check("is0").that(entry.mData).isEqualTo(0) in <lambda>()
182 check("is1").that(entry.mData).isEqualTo(1) in <lambda>()
196 fun assertThat(entry: SimpleEntry): SimpleEntrySubject { in <lambda>()
200 .that(entry) as SimpleEntrySubject in <lambda>()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DDataRecord.java79 for (Map.Entry<String, File> entry : mCurrentFileMetrics.entrySet()) { in getStringMetrics()
80 res.put(entry.getKey(), entry.getValue().getAbsolutePath()); in getStringMetrics()
DBaseCollectionListener.java119 for (Map.Entry<String, T> entry : metrics.entrySet()) { in collectMetrics()
120 data.addStringMetric(entry.getKey(), entry.getValue().toString()); in collectMetrics()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/layers/
DLayersTrace.kt34 constructor(entry: LayerTraceEntry): this(arrayOf(entry))
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DCrashCheckBase.java75 DropBoxManager.Entry entry; in checkCrash() local
80 while (null != (entry = dropbox.getNextEntry(label, timestamp))) { in checkCrash()
84 dropboxSnippet = entry.getText(MAX_DROPBOX_READ_ANR); in checkCrash()
86 dropboxSnippet = entry.getText(MAX_DROPBOX_READ); in checkCrash()
89 entry.close(); in checkCrash()
131 timestamp = entry.getTimeMillis(); in checkCrash()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTestBase.java66 .allMatch(entry -> (entry.getValue() == EXPECTED_ITERATIONS)); in testIterationsRespected()
130 .allMatch(entry -> (entry.getValue() == EXPECTED_ITERATIONS)); in testOverrideOptionName()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/service/processors/
DTransitionProcessor.kt84 val tagStates = tags.map { entry -> in <lambda>() method
85 val timestamp = entry.key in <lambda>()
86 val stateTags = entry.value in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/assertors/
DTransitionAssertor.kt109 val errorStates = errors.map { entry -> in <lambda>() method
110 val timestamp = entry.key in <lambda>()
111 val stateTags = entry.value in <lambda>()
/platform_testing/libraries/flicker/
DREADME.md61 Each trace entry has common assertion checks.
74 // check first entry
77 // check last entry
135 To add a new assertion, add a function to one of the trace entry classes, `LayersTrace.Entry` or `W…
150 mChecker.add(entry -> entry.isHiddenByParent(layerName),
158 // Check if "Chrome" layer is hidden by parent in the first trace entry.
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java256 .mapToLong(entry -> entry.getKey() * entry.getValue()) in mean()

12