/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | AssociateTest.kt | 72 var associations = cdm.myAssociations in <lambda>() variable 75 associations[0].systemDataSyncFlags and FLAG_CALL_METADATA in <lambda>() 78 cdm.enableSystemDataSyncForTypes(associations[0].id, FLAG_CALL_METADATA) in <lambda>() 79 associations = cdm.myAssociations in <lambda>() 82 associations[0].systemDataSyncFlags and FLAG_CALL_METADATA in <lambda>() 85 cdm.disableSystemDataSyncForTypes(associations[0].id, FLAG_CALL_METADATA) in <lambda>() 86 associations = cdm.myAssociations in <lambda>() 87 assertEquals(0, associations[0].systemDataSyncFlags and FLAG_CALL_METADATA) in <lambda>()
|
D | AssociationsChangedListenerTest.kt | 89 listener.invocations[0].let { associations -> in <lambda>() method 90 assertEquals(actual = associations.size, expected = 1) in <lambda>() 91 assertEquals(actual = associations[0].deviceMacAddress, expected = MAC_ADDRESS_A) in <lambda>() 92 assertEquals(actual = associations[0].packageName, expected = TEST_APP_PACKAGE_NAME) in <lambda>() 140 assertEquals(1, event1.associations.size) in <lambda>() 141 val associationInfoFromListener = event1.associations.first() in <lambda>()
|
D | DisassociateTest.kt | 50 val associations = cdm.myAssociations in <lambda>() constant 52 actual = associations, in <lambda>() 56 cdm.disassociate(associations[0].id) in <lambda>()
|
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/ |
D | AssociationRevokedTest.kt | 66 val associations = withShellPermissionIdentity(MANAGE_COMPANION_DEVICES) { in <lambda>() constant 72 assumeFalse(associations.isEmpty()) in <lambda>() 82 cdm.disassociate(associations[0].id) in <lambda>() 104 val associations = withShellPermissionIdentity(MANAGE_COMPANION_DEVICES) { in <lambda>() constant 111 assumeFalse(associations.isEmpty()) in <lambda>() 120 cdm.disassociate(associations[0].id) in <lambda>()
|
/cts/tests/tests/companion/common/src/android/companion/cts/common/ |
D | RecordingCdmEventObserver.kt | 46 override fun onAssociationsChanged(associations: List<AssociationInfo>) = 47 recordInvocation(AssociationChange(associations)) 64 data class AssociationChange(val associations: List<AssociationInfo>) : CdmEvent constant in android.companion.cts.common.AssociationChange
|
D | RecordingOnAssociationsChangedListener.kt | 28 override fun onAssociationsChanged(associations: List<AssociationInfo>) = 29 recordInvocation(associations)
|
D | RecordingOnTransportsChangedListener.kt | 28 override fun accept(associations: List<AssociationInfo>) = 29 recordInvocation(associations)
|
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/ |
D | FakeAssociationRule.java | 112 List<AssociationInfo> associations = mCompanionDeviceManager.getMyAssociations(); in createManagedAssociation() local 115 final AssociationInfo associationInfo = associations.stream() in createManagedAssociation() 121 assertThat(associations).hasSize(1); in createManagedAssociation() 122 return associations.get(0); in createManagedAssociation() 167 List<AssociationInfo> associations = mCompanionDeviceManager.getMyAssociations(); in clearExistingAssociations() local 168 for (AssociationInfo association : associations) { in clearExistingAssociations()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/ |
D | CompanionDeviceTestActivity.java | 140 List<String> associations = mCompanionDeviceManager.getAssociations(); in onActivityResult() local 141 if (associations.contains(deviceAddress)) { in onActivityResult() 144 + associations); in onActivityResult()
|
/cts/tests/tests/companion/multidevice/host/ |
D | cdm_multi_device_test.py | 26 associations = self.primary.cdm.getMyAssociations() 27 asserts.assert_true(secondary_id in associations, 'Association not found.')
|
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/ |
D | CompanionDeviceTestAppActivity.kt | 124 cdm.associations.forEach { address -> in <lambda>() 134 cdm.associations.forEach { address -> in <lambda>()
|
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/ |
D | VirtualDeviceManagerBasicTest.java | 234 List<AssociationInfo> associations = cdm.getMyAssociations(); in createVirtualDevice_invalidDeviceProfile_shouldThrowIllegalArgumentException() local 235 final AssociationInfo associationInfo = associations.stream() in createVirtualDevice_invalidDeviceProfile_shouldThrowIllegalArgumentException()
|