Searched refs:association (Results 1 – 9 of 9) sorted by relevance
80 val association = associate() in <lambda>() constant81 cdm.buildPermissionTransferUserConsentIntent(association.id) in <lambda>()118 val association = associate() in <lambda>() constant121 assertFalse(cdm.isPermissionTransferUserConsented(association.id)) in <lambda>()125 association.id, in <lambda>()131 assertFalse(cdm.isPermissionTransferUserConsented(association.id)) in <lambda>()137 val association = associate() in <lambda>() constant140 assertFalse(cdm.isPermissionTransferUserConsented(association.id)) in <lambda>()143 requestPermissionTransferUserConsent(association.id, ACTION_PRESS_BACK) in <lambda>()146 assertFalse(cdm.isPermissionTransferUserConsented(association.id)) in <lambda>()[all …]
46 public void onDeviceAppeared(AssociationInfo association) { in onDeviceAppeared() argument47 NEARBY_DEVICES.add(association.getId()); in onDeviceAppeared()48 String message = "Device appeared: " + association.getDeviceMacAddress(); in onDeviceAppeared()54 public void onDeviceDisappeared(AssociationInfo association) { in onDeviceDisappeared() argument55 NEARBY_DEVICES.remove(association.getId()); in onDeviceDisappeared()56 String message = "Device disappeared: " + association.getDeviceMacAddress(); in onDeviceDisappeared()
113 for (AssociationInfo association : mCompanionDeviceManager.getMyAssociations()) { in getAssociation()114 if (association.getId() == id) return association; in getAssociation()120 private void disassociate(AssociationInfo association) { in disassociate() argument121 String deviceAddress = association.getDeviceMacAddress().toString(); in disassociate()123 mCompanionDeviceManager.disassociate(association.getId()); in disassociate()129 for (AssociationInfo association : mCompanionDeviceManager.getMyAssociations()) { in cleanUp()130 disassociate(association); in cleanUp()142 AssociationInfo association = in onActivityResult() local147 if (association == null || association.getDeviceMacAddress() == null) { in onActivityResult()152 String deviceAddress = association.getDeviceMacAddress().toString(); in onActivityResult()[all …]
94 val association = cdm.myAssociations[0] in test_association_invalid_tag() constant97 cdm.setAssociationTag(association.id, ASSOCIATION_TAG_INVALID) in test_association_invalid_tag()106 val association = withShellPermissionIdentity { in <lambda>() constant112 cdm.setAssociationTag(association.id, ASSOCIATION_TAG) in <lambda>()116 cdm.setAssociationTag(association.id, ASSOCIATION_TAG) in <lambda>()130 val association = withShellPermissionIdentity { in <lambda>() constant134 cdm.setAssociationTag(association.id, ASSOCIATION_TAG) in <lambda>()140 cdm.clearAssociationTag(association.id) in <lambda>()
101 val association = withShellPermissionIdentity { in <lambda>() constant110 cdm.disassociate(association.id) in <lambda>()122 cdm.disassociate(association.id) in <lambda>()
96 val association = cdm.myAssociations.stream() in getRemoteDevice() constant100 val address = association.deviceMacAddress in getRemoteDevice()
95 val association = checkNotNull(result.getParcelableExtra( in associate() constant100 return association.id in associate()
168 for (AssociationInfo association : associations) { in clearExistingAssociations()169 disassociate(association.getId()); in clearExistingAssociations()
154 private void updateAssociationInfo(AssociationInfo association) { in updateAssociationInfo() argument155 mAssociationInfo = association; in updateAssociationInfo()