Home
last modified time | relevance | path

Searched refs:associationInfo (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCallbackUtils.kt38 private var associationInfo: AssociationInfo? = null variable in android.companion.cts.multidevice.CallbackUtils.AssociationCallback
46 override fun onAssociationCreated(associationInfo: AssociationInfo) { in onAssociationCreated()
47 this.associationInfo = associationInfo in onAssociationCreated()
78 return associationInfo in waitForAssociation()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DCompanionService.kt71 override fun onDeviceAppeared(associationInfo: AssociationInfo) { in onDeviceAppeared()
72 Log.d(TAG, "$this.onDevice_Appeared(), association=$associationInfo") in onDeviceAppeared()
73 _connectedDevices[associationInfo.id] = associationInfo in onDeviceAppeared()
75 super.onDeviceAppeared(associationInfo) in onDeviceAppeared()
78 override fun onDeviceDisappeared(associationInfo: AssociationInfo) { in onDeviceDisappeared()
79 Log.d(TAG, "$this.onDevice_Disappeared(), association=$associationInfo") in onDeviceDisappeared()
80 _connectedDevices.remove(associationInfo.id) in onDeviceDisappeared()
82 super.onDeviceDisappeared(associationInfo) in onDeviceDisappeared()
DRecordingCallback.kt55 override fun onAssociationCreated(associationInfo: AssociationInfo) { in onAssociationCreated()
56 logAndRecordInvocation(OnAssociationCreated(associationInfo)) in onAssociationCreated()
57 onAssociationCreatedAction?.invoke(associationInfo) in onAssociationCreated()
73 data class OnAssociationCreated(val associationInfo: AssociationInfo) : CallbackInvocation constant in android.companion.cts.common.OnAssociationCreated
DRecordingCdmEventObserver.kt57 override fun onAssociationCreated(associationInfo: AssociationInfo) =
58 recordInvocation(CdmCallback(OnAssociationCreated(associationInfo)))
DTestBase.kt154 return callbackInvocation.associationInfo.id in createSelfManagedAssociation()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DAssociateSelfManagedTest.kt89 with(associationInvocation.associationInfo) { in test_associate_selfManaged_nullProfile_leadsToNoUiFlow()
99 expected = listOf(associationInvocation.associationInfo) in test_associate_selfManaged_nullProfile_leadsToNoUiFlow()
127 with(associationInvocation.associationInfo) { in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow()
137 expected = listOf(associationInvocation.associationInfo) in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow()
DAssociationInfoBuilderTest.kt50 var associationInfo = cdm.myAssociations[0] in <lambda>() variable
53 var newAssociationInfo = AssociationInfo.Builder(associationInfo) in <lambda>()
DRetrieveAssociationsTest.kt196 val associationInfo = cdm.myAssociations.first() in test_ObservePresence_updatesAssociationInfo() constant
208 illegal = associationInfo in test_ObservePresence_updatesAssociationInfo()
DAssociationsChangedListenerTest.kt152 val associationInfoFromCallback = callbackInvocation.associationInfo in <lambda>()
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DFakeAssociationRule.java115 final AssociationInfo associationInfo = associations.stream() in createManagedAssociation() local
118 assertThat(associationInfo).isNotNull(); in createManagedAssociation()
119 return associationInfo; in createManagedAssociation()
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java289 public void onAssociationCreated(@NonNull AssociationInfo associationInfo) {
290 Log.v(TAG, "onAssociationCreated " + associationInfo);
291 updateAssociationInfo(associationInfo);
/cts/tests/tests/companion/AssociationRevokedTestApp/src/android.os.cts.associationrevokedtestapp/
DMainActivity.kt60 override fun onAssociationCreated(associationInfo: AssociationInfo) { in onAttachedToWindow()
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/
DCompanionDeviceTestAppActivity.kt144 cdm.myAssociations.firstNotNullOf { associationInfo -> in <lambda>() method
145 val associationId = associationInfo.id in <lambda>()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceManagerBasicTest.java187 final AssociationInfo associationInfo = mRule.createManagedAssociation(); in getAllPersistentDeviceIds_includesClosedVirtualDevice() local
190 associationInfo.getId(), VirtualDeviceRule.DEFAULT_VIRTUAL_DEVICE_PARAMS); in getAllPersistentDeviceIds_includesClosedVirtualDevice()
235 final AssociationInfo associationInfo = associations.stream() in createVirtualDevice_invalidDeviceProfile_shouldThrowIllegalArgumentException() local
238 assertThat(associationInfo).isNotNull(); in createVirtualDevice_invalidDeviceProfile_shouldThrowIllegalArgumentException()
242 associationInfo.getId(), mRule.DEFAULT_VIRTUAL_DEVICE_PARAMS)); in createVirtualDevice_invalidDeviceProfile_shouldThrowIllegalArgumentException()
244 cdm.disassociate(associationInfo.getId()); in createVirtualDevice_invalidDeviceProfile_shouldThrowIllegalArgumentException()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DAssociationEndToEndSelfManagedTest.kt76 val associationFromCallback = associationInvocation.associationInfo in test_userRejected()
DUiAutomationTestBase.kt259 val associationFromCallback = associationInvocation.associationInfo in <lambda>()
/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerIsolatedServiceTest.java623 public void onAssociationCreated(AssociationInfo associationInfo) { in attachTransportToCdm()
625 "#onAssociationCreated, associationId: " + associationInfo.getId()); in attachTransportToCdm()
626 associationIdRef.set(associationInfo.getId()); in attachTransportToCdm()
634 == associationInfo.getId())) { in attachTransportToCdm()
639 associationInfo.getId(), in attachTransportToCdm()
/cts/tests/input/src/android/input/cts/
DPointerIconTest.kt253 virtualDeviceManager.createVirtualDevice(fakeAssociationRule.associationInfo.id, in setUp()