/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | WaitCondition.kt | 53 private val onFailure: ((T) -> Any)?, 54 private val onRetry: ((T) -> Any)?, 55 private val onSuccess: ((T) -> Any)?, 56 private val onStart: ((String) -> Any)?, 57 private val onEnd: (() -> Any)? 126 private var onStart: ((String) -> Any)? = null 127 private var onEnd: (() -> Any)? = null 128 private var onFailure: ((T) -> Any)? = null 129 private var onRetry: ((T) -> Any)? = null 130 private var onSuccess: ((T) -> Any)? = null [all …]
|
/platform_testing/libraries/motion/src/platform/test/motion/golden/ |
D | DataPointType.kt | 32 private val jsonToValue: (jsonValue: Any) -> T, 33 private val valueToJson: (T) -> Any, 34 internal val ensureImmutable: (T & Any) -> T & Any = { it }, 40 fun fromJson(jsonValue: Any): DataPoint<T> { in fromJson() 53 fun toJson(value: T): Any = valueToJson(value) in toJson()
|
D | DataPoint.kt | 32 fun asJson(): Any in asJson() 61 data class ValueDataPoint<T> internal constructor(val value: T & Any, val type: DataPointType<T>) : 79 internal val instance = NullDataPoint<Any>() in asJson() 81 fun isNullValue(jsonValue: Any): Boolean { in asJson() 104 internal val instance = NotFoundDataPoint<Any>() in toString() 106 fun isNotFoundValue(jsonValue: Any): Boolean { in toString() 122 internal val instance = UnknownType<Any>() in asJson()
|
D | JsonGoldenSerializer.kt | 67 private fun frameIdFromJson(jsonValue: Any): FrameId { in frameIdFromJson() 99 .filterIsInstance<ValueDataPoint<Any>>() in featureToJson() 122 private val unknownType: DataPointType<Any> =
|
/platform_testing/libraries/flicker/utils/src/android/tools/ |
D | ICache.kt | 20 data class Backup(val cache: MutableMap<Any, Any>) 21 fun <T : Any> get(element: T): T
|
D | CacheImpl.kt | 20 private var cache = mutableMapOf<Any, Any>() 22 override fun <T : Any> get(element: T): T { in get()
|
D | ScenarioBuilder.kt | 25 private var extraConfig = mutableMapOf<String, Any?>() 36 fun withExtraConfig(key: String, value: Any?) = apply { extraConfig[key] = value } in <lambda>() 38 fun withExtraConfigs(cfg: Map<String, Any?>) = apply { extraConfig.putAll(cfg) } in <lambda>()
|
D | ScenarioImpl.kt | 38 config: Map<String, Any?>, 43 val extraConfig: Map<String, Any?> 75 override fun equals(other: Any?): Boolean { in getConfigValue()
|
D | NoCache.kt | 20 override fun <T : Any> get(element: T): T { in get()
|
D | Extensions.kt | 21 inline fun <reified T : Any> withCache(newInstancePredicate: () -> T): T = in withCache()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | InjectedTestCase.kt | 28 override fun invokeExplosively(target: Any?, vararg params: Any?): Any { in invokeExplosively() 37 override fun equals(other: Any?): Boolean { in getName()
|
D | RuleContainer.kt | 34 private val orderValues = IdentityHashMap<Any, Int>() 39 fun setOrder(rule: Any, order: Int) { in setOrder() 69 target: Any?, in apply() 91 val sortedRules: List<Any> 93 val result = mutableListOf<Any>() 100 internal class RuleEntry(val rule: Any, val type: Int, order: Int?) {
|
D | IFlickerJUnitDecorator.kt | 27 fun getTestMethods(test: Any): List<FrameworkMethod> 34 fun getMethodInvoker(method: FrameworkMethod, test: Any): Statement
|
D | ITransitionRunner.kt | 23 fun runTransition(scenario: Scenario, test: Any, description: Description?)
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/ |
D | FlickerTestData.kt | 35 val transitionSetup: List<FlickerTestData.() -> Any> 37 val transitions: List<FlickerTestData.() -> Any> 39 val transitionTeardown: List<FlickerTestData.() -> Any> 56 fun withTag(tag: String, commands: FlickerTestData.() -> Any)
|
D | FlickerTestDataImpl.kt | 43 override val transitionSetup: List<FlickerTestData.() -> Any>, 45 override val transitions: List<FlickerTestData.() -> Any>, 47 override val transitionTeardown: List<FlickerTestData.() -> Any>,
|
D | LegacyFlickerTestFactory.kt | 40 extraArgs: Map<String, Any> = emptyMap() in <lambda>() 59 extraArgs: Map<String, Any> = emptyMap() in <lambda>() 73 extraArgs: Map<String, Any> in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/testing/ |
D | JsonSubject.kt | 26 class JsonSubject private constructor(failureMetadata: FailureMetadata, private val actual: Any?) : in <lambda>() 36 override fun isEqualTo(expected: Any?) { in <lambda>() 54 fun json(): Factory<JsonSubject, Any> { in <lambda>() 55 return Factory { failureMetadata: FailureMetadata, subject: Any? -> in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | Args.kt | 23 private var value: Any? = null 64 private fun add(keyTokens: List<String>, currentToken: Int, value: Any) { in add() 88 value: Any in addToChildrenMap() 103 private fun addToChildMap(keyTokens: List<String>, currentToken: Int, value: Any) { in addToChildMap() 115 private fun parseValue(value: String, valueType: String): Any { in parseValue() 116 val result: Any? = in parseValue()
|
/platform_testing/tests/automotive/mobly_tests/utilities/ |
D | crystalball_metrics_utils.py | 17 from typing import Any, Dict 24 def export_to_crystalball(data: Dict[str, Any], output_dir: str, test_name: str) -> None: argument
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/exceptions/ |
D | ExceptionMessageBuilder.kt | 58 fun setExpected(value: Any?) = apply { expected = value?.toString() ?: "null" } in <lambda>() 62 fun setActual(value: Any?) = setActual(listOf(value?.toString() ?: "null")) in setActual() 66 fun addExtraDescription(key: String, value: Any?) = addExtraDescription(Fact(key, value)) in setActual()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | Consts.kt | 27 internal fun description(obj: Any) = Description.createTestDescription(obj::class.java, "test")
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/ |
D | SetupTeardownRule.kt | 46 private val setupCommands: List<FlickerTestData.() -> Any> = flicker.transitionSetup, 47 private val teardownCommands: List<FlickerTestData.() -> Any> = flicker.transitionTeardown,
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | Fact.kt | 20 data class Fact(val key: String, val value: Any? = null) {
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | FullLegacyTestRun.kt | 90 val failure: Result<Any> = runCatching { this.isEmpty() } in internalWmCheck() 124 val failure: Result<Any> = runCatching { this.isEmpty() } in internalLayersCheck() 145 val failure: Result<Any> = runCatching { flicker.assertLayers { this.isEmpty() } } in exceptionMessageCheck() 166 val failure: Result<Any?> = runCatching { actual?.isHigher(expected?.region ?: Region()) } in validateVisibleRegion()
|