Home
last modified time | relevance | path

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

/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/
DConnectedDeviceManagerTest.java121 assertThat(mConnectedDeviceManager.getActiveUserConnectedDevices()).isEmpty(); in getActiveUserConnectedDevices_initiallyShouldReturnEmptyList()
128 mConnectedDeviceManager.getActiveUserConnectedDevices(); in getActiveUserConnectedDevices_includesNewlyConnectedDevice()
141 assertThat(mConnectedDeviceManager.getActiveUserConnectedDevices()).isEmpty(); in getActiveUserConnectedDevices_excludesDevicesNotBelongingToActiveUser()
149 mConnectedDeviceManager.getActiveUserConnectedDevices().get(0); in getActiveUserConnectedDevices_reflectsSecureChannelEstablished()
157 assertThat(mConnectedDeviceManager.getActiveUserConnectedDevices()).isEmpty(); in getActiveUserConnectedDevices_excludesDisconnectedDevice()
164 assertThat(mConnectedDeviceManager.getActiveUserConnectedDevices()).hasSize(1); in getActiveUserConnectedDevices_unaffectedByOtherManagerDisconnect()
170 ConnectedDevice device = mConnectedDeviceManager.getActiveUserConnectedDevices().get(0); in sendMessageSecurely_throwsIllegalStateExceptionIfNoSecureChannel()
180 ConnectedDevice device = mConnectedDeviceManager.getActiveUserConnectedDevices().get(0); in sendMessageSecurely_sendsEncryptedMessage()
192 ConnectedDevice device = mConnectedDeviceManager.getActiveUserConnectedDevices().get(0); in sendMessageSecurely_doesNotSendIfDeviceDisconnected()
203 ConnectedDevice device = mConnectedDeviceManager.getActiveUserConnectedDevices().get(0); in sendMessageUnsecurely_sendsMessageWithoutEncryption()
[all …]
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/
DLocalFeature.java64 mConnectedDeviceManager.getActiveUserConnectedDevices(); in start()
75 for (ConnectedDevice device : mConnectedDeviceManager.getActiveUserConnectedDevices()) { in stop()
141 getConnectedDeviceManager().getActiveUserConnectedDevices(); in getConnectedDeviceById()
DRemoteFeature.java78 for (CompanionDevice device : mConnectedDeviceManager.getActiveUserConnectedDevices()) { in stop()
162 connectedDevices = getConnectedDeviceManager().getActiveUserConnectedDevices(); in getConnectedDeviceById()
224 mConnectedDeviceManager.getActiveUserConnectedDevices();
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/api/external/
DConnectedDeviceManagerBinderTest.java85 when(mMockConnectedDeviceManager.getActiveUserConnectedDevices()) in getActiveUserConnectedDevices_mirrorsConnectedDeviceManager()
87 List<CompanionDevice> returnedDevices = mBinder.getActiveUserConnectedDevices(); in getActiveUserConnectedDevices_mirrorsConnectedDeviceManager()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/association/
DAssociationBinder.java177 public List<CompanionDevice> getActiveUserConnectedDevices() { in getActiveUserConnectedDevices() method in AssociationBinder
179 mConnectedDeviceManager.getActiveUserConnectedDevices(); in getActiveUserConnectedDevices()
DIAssociatedDeviceManager.aidl63 List<CompanionDevice> getActiveUserConnectedDevices(); in getActiveUserConnectedDevices() method
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DConnectedDeviceManagerBinder.java71 public List<CompanionDevice> getActiveUserConnectedDevices() { in getActiveUserConnectedDevices() method in ConnectedDeviceManagerBinder
73 mConnectedDeviceManager.getActiveUserConnectedDevices(); in getActiveUserConnectedDevices()
DIConnectedDeviceManager.aidl30 List<CompanionDevice> getActiveUserConnectedDevices(); in getActiveUserConnectedDevices() method
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/trust/
DITrustedDeviceManager.aidl63 List<CompanionDevice> getActiveUserConnectedDevices(); in getActiveUserConnectedDevices() method
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/
DTrustedDeviceManager.java295 public List<CompanionDevice> getActiveUserConnectedDevices() { in getActiveUserConnectedDevices() method in TrustedDeviceManager
303 devices = manager.getActiveUserConnectedDevices(); in getActiveUserConnectedDevices()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceViewModel.java311 setConnectedDevices(mAssociatedDeviceManager.getActiveUserConnectedDevices());
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ui/
DTrustedDeviceActivity.java279 devices = mTrustedDeviceManager.getActiveUserConnectedDevices(); in isCompanionDeviceConnected()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/
DConnectedDeviceManager.java222 public List<ConnectedDevice> getActiveUserConnectedDevices() { in getActiveUserConnectedDevices() method in ConnectedDeviceManager