Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 17 of 17) sorted by relevance

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/
DFlickerSubject.kt40 open fun fail(reason: List<Fact>): FlickerSubject = apply { in clone()
41 require(reason.isNotEmpty()) { "Failure should contain at least 1 fact" } in clone()
42 val facts = reason.drop(1).toTypedArray() in clone()
43 failWithoutActual(reason.first(), *facts) in clone()
46 fun fail(reason: Fact, vararg rest: Fact): FlickerSubject = apply { in <lambda>()
47 val facts = mutableListOf(reason) in <lambda>()
57 fun fail(reason: Fact): FlickerSubject = apply { in <lambda>()
58 fail(listOf(reason)) in <lambda>()
66 fun fail(reason: String): FlickerSubject = apply { in <lambda>()
67 fail(Fact.fact("Reason", reason)) in <lambda>()
[all …]
DAssertionsChecker.kt105 val reason = listOf( in test() constant
111 entries.first().fail(reason) in test()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/listener/
DErrorTerminator.java34 protected void print(String reason) { in print() argument
35 Log.e(getClass().getSimpleName(), reason); in print() local
DTimeoutTerminator.java47 protected void print(String reason) { in print() argument
48 Log.e(getClass().getSimpleName(), reason); in print() local
DBatteryTerminator.java72 protected void print(String reason) { in print() argument
73 Log.e(getClass().getSimpleName(), reason); in print() local
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/eventlog/
DFocusEvent.kt25 val reason: String constant in com.android.server.wm.flicker.traces.eventlog.FocusEvent
30 return "$timestamp: Focus ${focus.name} $window Reason=$reason" in toString()
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/listener/
DRunTerminator.java35 protected final void kill(String reason) { in kill() argument
36 print(String.format("Test run killed because %s.", reason)); in kill()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/
DLayerTraceEntrySubject.kt175 var reason: Fact? = null in <lambda>() variable
180 reason = Fact.fact("Hidden by parent", layer.parent.name) in <lambda>()
184 reason = Fact.fact("Is Invisible", layer.visibilityReason) in <lambda>()
187 reason = null in <lambda>()
191 if (reason != null) { in <lambda>()
192 fail(reason) in <lambda>()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCrashHelper.java90 String reason = anrAtom.reason; in getMetrics() local
96 processName, reason, foregoundState)); in getMetrics()
/platform_testing/libraries/annotations/src/android/platform/test/annotations/
DAppModeInstant.java33 String reason() default ""; in reason() method
DSystemUserOnly.java28 String reason() default ""; in reason() method
DAppModeFull.java33 String reason() default ""; in reason() method
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DEventLogMonitor.kt92 val reason = log[1].removePrefix("reason=") in <lambda>() constant
93 FocusEvent(timestamp, window, focusState, reason) in <lambda>()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DEventLogMonitorTest.kt59 assertEquals(result.eventLog?.get(0)?.reason, "test") in canCaptureFocusEventLogs()
136 assertEquals(result.eventLog?.get(0)?.reason, "test") in ignoreFocusRequestLogs()
/platform_testing/libraries/tradefed-python-lib/tradefed_py/
Dtf_runner.py87 def addSkip(self, test, reason): argument
98 super(TextTestResult, self).addSkip(test, reason)
/platform_testing/libraries/flicker/
DREADME.md89 …which contains a `success` flag, `assertionName` string identifier, and `reason` string to provide…
90 The `reason` string is build along the way with all the details as to why the assertions failed and…
140 // Result should contain a details if assertion fails for any reason
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/
DRegionSubject.kt67 override fun fail(reason: List<Fact>): FlickerSubject { in <lambda>()
68 val newReason = reason.toMutableList() in <lambda>()