Home
last modified time | relevance | path

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

/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCompanionDeviceManagerSnippet.kt45 private val companionDeviceManager = context.getSystemService(Context.COMPANION_DEVICE_SERVICE) constant
49 private val btConnector = BluetoothConnector(btManager.adapter, companionDeviceManager)
78 companionDeviceManager.associate(request, callback, handler) in associate()
109 companionDeviceManager.buildPermissionTransferUserConsentIntent(associationId) in requestPermissionTransferUserConsent()
128 return companionDeviceManager.myAssociations.stream().map { it.id }.toList() in getMyAssociations()
137 companionDeviceManager.disassociate(associationId) in disassociate()
145 companionDeviceManager.myAssociations.forEach { in disassociateAll()
147 companionDeviceManager.disassociate(it.id) in disassociateAll()
157 companionDeviceManager.startSystemDataTransfer(associationId, executor, callback) in startPermissionsSync()
163 return companionDeviceManager.removeBond(associationId) in removeBond()