/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/ |
D | FlickerSubject.kt | 40 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 …]
|
D | AssertionsChecker.kt | 105 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/ |
D | ErrorTerminator.java | 34 protected void print(String reason) { in print() argument 35 Log.e(getClass().getSimpleName(), reason); in print() local
|
D | TimeoutTerminator.java | 47 protected void print(String reason) { in print() argument 48 Log.e(getClass().getSimpleName(), reason); in print() local
|
D | BatteryTerminator.java | 72 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/ |
D | FocusEvent.kt | 25 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/ |
D | RunTerminator.java | 35 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/ |
D | LayerTraceEntrySubject.kt | 175 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/ |
D | CrashHelper.java | 90 String reason = anrAtom.reason; in getMetrics() local 96 processName, reason, foregoundState)); in getMetrics()
|
/platform_testing/libraries/annotations/src/android/platform/test/annotations/ |
D | AppModeInstant.java | 33 String reason() default ""; in reason() method
|
D | SystemUserOnly.java | 28 String reason() default ""; in reason() method
|
D | AppModeFull.java | 33 String reason() default ""; in reason() method
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/ |
D | EventLogMonitor.kt | 92 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/ |
D | EventLogMonitorTest.kt | 59 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/ |
D | tf_runner.py | 87 def addSkip(self, test, reason): argument 98 super(TextTestResult, self).addSkip(test, reason)
|
/platform_testing/libraries/flicker/ |
D | README.md | 89 …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/ |
D | RegionSubject.kt | 67 override fun fail(reason: List<Fact>): FlickerSubject { in <lambda>() 68 val newReason = reason.toMutableList() in <lambda>()
|