Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 56) sorted by relevance

123

/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DWaitCondition.kt61 onStart?.invoke("waitFor") in waitFor()
65 onEnd?.invoke() in waitFor()
70 onLog?.invoke("***Waiting for $condition", false) in doWaitFor()
80 onRetry?.invoke(currState) in doWaitFor()
93 onStart?.invoke("doWaitForRetry") in doWaitForRetry()
95 val currState = supplier.invoke() in doWaitForRetry()
97 onLog?.invoke("***Waiting for $condition ... Success!", false) in doWaitForRetry()
98 onSuccess?.invoke(currState) in doWaitForRetry()
102 onLog?.invoke("***Waiting for $detailedMessage... retry=${retryNr + 1}", true) in doWaitForRetry()
106 onEnd?.invoke() in doWaitForRetry()
[all …]
DCondition.kt53 return condition.invoke(value) in isSatisfied()
57 fun negate(): Condition<T> = Condition(message = "!$message") { !this.condition.invoke(it) } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/
DCheckSubject.kt47 .setMessage(lazyMessage.invoke()) in isEqual()
58 .setMessage(lazyMessage.invoke()) in isNotEqual()
69 .setMessage(lazyMessage.invoke()) in isNull()
80 .setMessage(lazyMessage.invoke()) in isNotNull()
95 .setMessage(lazyMessage.invoke()) in isLower()
110 .setMessage(lazyMessage.invoke()) in isLowerOrEqual()
125 .setMessage(lazyMessage.invoke()) in isGreater()
140 .setMessage(lazyMessage.invoke()) in isGreaterOrEqual()
151 .setMessage(lazyMessage.invoke()) in contains()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DCompoundAssertionTest.kt51 assertion.invoke("") in executes()
54 assertion.invoke("") in executes()
60 assertion1().invoke("") in assertionsPass()
67 assertion.invoke("") in oneAssertionFail()
74 assertion1().invoke("") in oneOptionalAssertionFail()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DAppWindowBecomesPinned.kt29 invoke("appWindowIsNotPinned") { it.isNotPinned(component.build(scenarioInstance)) } in doEvaluate()
31 .invoke("appWindowIsPinned") { it.isPinned(component.build(scenarioInstance)) } in doEvaluate()
DPipWindowBecomesInvisible.kt32 invoke("hasPipWindow") { in doEvaluate()
37 .invoke("!hasPipWindow") { in doEvaluate()
DEntireScreenCoveredAlways.kt32 invoke("entireScreenCovered") { entry -> in <lambda>()
DAppLayerRemainInsideDisplayBounds.kt31 containsAtLeastOneDisplay().invoke("appLayerRemainInsideDisplayBounds") { subject -> in <lambda>()
DHasAtMostOneWindowMatching.kt32 invoke("HasAtMostOneWindowMatching") { in <lambda>()
DAppWindowRemainInsideDisplayBounds.kt31 containsAtLeastOneDisplay().invoke("appWindowRemainInsideDisplayBounds") { entry -> in <lambda>()
DSplitAppLayerBoundsBecomesVisible.kt68 return invoke("splitAppLayerBoundsSnapToDivider") { in splitAppLayerBoundsSnapToDivider()
88 return invoke { in LayerTraceEntrySubject()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DAssertion.kt27 operator fun invoke(target: T) method
DCompoundAssertion.kt39 override fun invoke(target: T) { in <lambda>() method
42 val error = kotlin.runCatching { assertion.invoke(target) }.exceptionOrNull() in <lambda>()
DNamedAssertion.kt32 override operator fun invoke(target: T) = predicate(target) in invoke() method in android.tools.flicker.assertions.NamedAssertion
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DSetupTeardownRule.kt66 setupCommands.forEach { it.invoke(flicker) } in doRunTransitionSetup()
74 teardownCommands.forEach { it.invoke(flicker) } in doRunTransitionTeardown()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentNameMatcher.kt41 layers.any { activityRecordFilter.invoke(it.name) } in toActivityName()
49 windows.any { windowNameFilter.invoke(it.title) } in windowMatchesAnyOf()
53 activities.any { activityNameFilter.invoke(it.name) } in activityMatchesAnyOf()
57 layers.any { layerNameFilter.invoke(it.name) } in layerMatchesAnyOf()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DNoTraceMonitor.kt34 this.resultSetter.invoke(writer) in stop()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogicExecutor.java157 return rm.invoke(obj); in invokeMethod()
230 public Object invoke(Object instance) throws IllegalAccessException, in invoke() method in BusinessLogicExecutor.ResolvedMethod
232 return mMethod.invoke(instance, mArgs.toArray()); in invoke()
DBusinessLogic.java270 if (!condition.invoke(executor)) { in invokeConditions()
282 action.invoke(executor); in invokeActions()
310 public boolean invoke(BusinessLogicExecutor executor) { in invoke() method in BusinessLogic.BusinessLogicRuleCondition
335 public void invoke(BusinessLogicExecutor executor) { in invoke() method in BusinessLogic.BusinessLogicRuleAction
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/
DLegacyFlickerTestTest.kt200 predicate.invoke(flickerWrapper) in doesNotExecuteEventLogWithoutEventLog()
201 predicate.invoke(flickerWrapper) in doesNotExecuteEventLogWithoutEventLog()
245 predicate.invoke(flickerWrapper) in doExecuteAssertionWithoutTraceAndVerifyNotExecuted()
246 predicate.invoke(flickerWrapper) in doExecuteAssertionWithoutTraceAndVerifyNotExecuted()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DTestAppComponentFactory.kt46 .invoke() in instantiateActivityCompat()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/inputmethod/
DInputMethodServiceEntrySubject.kt44 operator fun invoke( in invoke() method in android.tools.flicker.subject.inputmethod.InputMethodServiceEntrySubject
DImeClientEntrySubject.kt44 operator fun invoke(assertion: (ImeClientEntry) -> Unit): ImeClientEntrySubject = apply { in <lambda>() method in android.tools.flicker.subject.inputmethod.ImeClientEntrySubject
DInputMethodManagerServiceEntrySubject.kt44 operator fun invoke( in invoke() method in android.tools.flicker.subject.inputmethod.InputMethodManagerServiceEntrySubject
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowStateSubject.kt58 operator fun invoke(assertion: (WindowState) -> Unit): WindowStateSubject = apply { in <lambda>() method in android.tools.flicker.subject.wm.WindowStateSubject

123