Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/
DFlickerSubject.kt53 open fun fail(reason: List<Fact>): FlickerSubject = apply { in <lambda>()
54 require(reason.isNotEmpty()) { "Failure should contain at least 1 fact" } in <lambda>()
55 val facts = reason.drop(1).toTypedArray() in <lambda>()
56 failWithoutActual(reason.first(), *facts) in <lambda>()
59 fun fail(reason: Fact, vararg rest: Fact): FlickerSubject = apply { in <lambda>()
60 val facts = mutableListOf(reason) in <lambda>()
70 fun fail(reason: Fact): FlickerSubject = apply { in <lambda>()
71 fail(listOf(reason)) in <lambda>()
79 fun fail(reason: String): FlickerSubject = apply { in <lambda>()
80 fail(Fact.fact("Reason", reason)) in <lambda>()
[all …]
/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/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/
DSystemUserOnly.java28 String reason() default ""; in reason() method
DAppModeFull.java33 String reason() default ""; in reason() method
DAppModeInstant.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