Home
last modified time | relevance | path

Searched refs:invocations (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/companion/common/src/android/companion/cts/common/
DInvocationTracker.kt24 val invocations: List<T> constant
37 val expectedInvocationCount = invocations.size + minOccurrences in assertInvokedByActions()
40 invocations.size >= expectedInvocationCount in assertInvokedByActions()
56 override val invocations: List<T> in clearRecordedInvocations() constant in android.companion.cts.common.InvocationContainer
DTestBase.kt152 val callbackInvocation = callback.invocations.first() in createSelfManagedAssociation()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DDeviceProfilesTest.kt65 assertEmpty(callback.invocations) in <lambda>()
76 assertEquals(1, callback.invocations.size) in <lambda>()
77 assertIs<OnAssociationPending>(callback.invocations.first()) in <lambda>()
92 assertEmpty(callback.invocations) in <lambda>()
107 assertEquals(1, callback.invocations.size) in <lambda>()
108 assertIs<OnAssociationPending>(callback.invocations.first()) in <lambda>()
DAssociateSelfManagedTest.kt62 assertEmpty(callback.invocations) in test_associate_selfManaged_requiresPermission()
86 assertEquals(1, callback.invocations.size) in test_associate_selfManaged_nullProfile_leadsToNoUiFlow()
87 val associationInvocation = callback.invocations.first() in test_associate_selfManaged_nullProfile_leadsToNoUiFlow()
124 assertEquals(1, callback.invocations.size) in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow()
125 val associationInvocation = callback.invocations.first() in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow()
DAssociationsChangedListenerTest.kt89 listener.invocations[0].let { associations -> in <lambda>()
103 assertEmpty(listener.invocations) in <lambda>()
134 assertEquals(2, observer.invocations.size) in <lambda>()
135 val (event1, event2) = observer.invocations in <lambda>()
DAssociateTest.kt64 assertEquals(1, callback.invocations.size) in test_associate()
65 assertIs<OnAssociationPending>(callback.invocations.first()) in test_associate()
DTransportsListenerTest.kt156 assertEmpty(listener.invocations) in <lambda>()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt169 assumeFalse(callback.invocations.contains(OnFailure(REASON_DISCOVERY_TIMEOUT))) in <lambda>()
171 assertEmpty(callback.invocations) in <lambda>()
180 actual = callback.invocations, in <lambda>()
211 actual = callback.invocations, in <lambda>()
256 assertEquals(1, callback.invocations.size) in <lambda>()
257 val associationInvocation = callback.invocations.first() in <lambda>()
343 assertEquals(1, callback.invocations.size) in <lambda>()
344 val associationInvocation = callback.invocations.first() in <lambda>()
DForceCancelConfirmationTest.kt73 actual = callback.invocations, in test_cancel_confirmation()
87 assertEquals(actual = callback.invocations.size, expected = 0) in test_cancel_confirmation_not_exist()
DAssociationEndToEndSelfManagedTest.kt73 assertEquals(1, callback.invocations.size) in test_userRejected()
74 val associationInvocation = callback.invocations.first() in test_userRejected()