Searched refs:mCompanionDeviceManager (Results 1 – 5 of 5) sorted by relevance
77 private CompanionDeviceManager mCompanionDeviceManager; field in FakeAssociationRule85 mCompanionDeviceManager = mContext.getSystemService(CompanionDeviceManager.class); in FakeAssociationRule()99 + mCompanionDeviceManager.getMyAssociations().size()); in createManagedAssociation()110 + mCompanionDeviceManager.getMyAssociations().size())) in createManagedAssociation()112 List<AssociationInfo> associations = mCompanionDeviceManager.getMyAssociations(); in createManagedAssociation()134 mCompanionDeviceManager.addOnAssociationsChangedListener( in before()161 mCompanionDeviceManager.removeOnAssociationsChangedListener( in after()167 List<AssociationInfo> associations = mCompanionDeviceManager.getMyAssociations(); in clearExistingAssociations()171 assertThat(mCompanionDeviceManager.getMyAssociations()).isEmpty(); in clearExistingAssociations()185 mCompanionDeviceManager.disassociate(associationId); in disassociate()
48 private CompanionDeviceManager mCompanionDeviceManager; field in CompanionDeviceTestActivity58 mCompanionDeviceManager = getSystemService(CompanionDeviceManager.class); in onCreate()74 mInitialAssociations = mCompanionDeviceManager.getAssociations(); in test()95 mCompanionDeviceManager.associate(request, callback, null); in test()118 List<String> newAssociations = mCompanionDeviceManager.getAssociations(); in onActivityResult()139 mCompanionDeviceManager.disassociate(associatedDevice.getAddress()); in onActivityResult()140 List<String> associations = mCompanionDeviceManager.getAssociations(); in onActivityResult()
55 private CompanionDeviceManager mCompanionDeviceManager; field in CompanionDeviceServiceTestActivity89 mCompanionDeviceManager = getSystemService(CompanionDeviceManager.class); in onCreate()113 for (AssociationInfo association : mCompanionDeviceManager.getMyAssociations()) { in getAssociation()122 mCompanionDeviceManager.stopObservingDevicePresence(deviceAddress); in disassociate()123 mCompanionDeviceManager.disassociate(association.getId()); in disassociate()129 for (AssociationInfo association : mCompanionDeviceManager.getMyAssociations()) { in cleanUp()153 mCompanionDeviceManager.startObservingDevicePresence(deviceAddress); in onActivityResult()285 mCompanionDeviceManager.associate(request, mCallback, null); in performTestAction()
68 private CompanionDeviceManager mCompanionDeviceManager; field in MainActivity89 mCompanionDeviceManager = getSystemService(CompanionDeviceManager.class); in onCreate()94 mAssociateButton.setOnClickListener(v -> mCompanionDeviceManager.associate( in onCreate()102 mCompanionDeviceManager.disassociate(mAssociationInfo.getId()); in onCreate()108 if (Flags.permSyncUserConsent() && mCompanionDeviceManager in onCreate()121 List<AssociationInfo> myAssociations = mCompanionDeviceManager.getMyAssociations(); in onCreate()166 text = text + "\nuser consented=" + mCompanionDeviceManager in updateAssociationInfo()187 final IntentSender intentSender = mCompanionDeviceManager in requestPermissionsSyncUserConsent()209 mCompanionDeviceManager.startSystemDataTransfer(mAssociationInfo.getId(), in startPermissionsSync()
117 private CompanionDeviceManager mCompanionDeviceManager; field in WearableSensingManagerIsolatedServiceTest148 mCompanionDeviceManager = mContext.getSystemService(CompanionDeviceManager.class); in setUp()215 mCompanionDeviceManager.sendMessage( in provideConnection_otherEndAttachedToCdm_canReceiveDataInWss()615 mCompanionDeviceManager.associate( in attachTransportToCdm()627 mCompanionDeviceManager.addOnTransportsChangedListener( in attachTransportToCdm()638 mCompanionDeviceManager.attachSystemDataTransport( in attachTransportToCdm()656 mCompanionDeviceManager.addOnMessageReceivedListener( in receiveMessageFromCdm()