/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManagerTest.java | 121 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/ |
D | LocalFeature.java | 64 mConnectedDeviceManager.getActiveUserConnectedDevices(); in start() 75 for (ConnectedDevice device : mConnectedDeviceManager.getActiveUserConnectedDevices()) { in stop() 141 getConnectedDeviceManager().getActiveUserConnectedDevices(); in getConnectedDeviceById()
|
D | RemoteFeature.java | 78 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/ |
D | ConnectedDeviceManagerBinderTest.java | 85 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/ |
D | AssociationBinder.java | 177 public List<CompanionDevice> getActiveUserConnectedDevices() { in getActiveUserConnectedDevices() method in AssociationBinder 179 mConnectedDeviceManager.getActiveUserConnectedDevices(); in getActiveUserConnectedDevices()
|
D | IAssociatedDeviceManager.aidl | 63 List<CompanionDevice> getActiveUserConnectedDevices(); in getActiveUserConnectedDevices() method
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinder.java | 71 public List<CompanionDevice> getActiveUserConnectedDevices() { in getActiveUserConnectedDevices() method in ConnectedDeviceManagerBinder 73 mConnectedDeviceManager.getActiveUserConnectedDevices(); in getActiveUserConnectedDevices()
|
D | IConnectedDeviceManager.aidl | 30 List<CompanionDevice> getActiveUserConnectedDevices(); in getActiveUserConnectedDevices() method
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/trust/ |
D | ITrustedDeviceManager.aidl | 63 List<CompanionDevice> getActiveUserConnectedDevices(); in getActiveUserConnectedDevices() method
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceManager.java | 295 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/ |
D | AssociatedDeviceViewModel.java | 311 setConnectedDevices(mAssociatedDeviceManager.getActiveUserConnectedDevices());
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ui/ |
D | TrustedDeviceActivity.java | 279 devices = mTrustedDeviceManager.getActiveUserConnectedDevices(); in isCompanionDeviceConnected()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManager.java | 222 public List<ConnectedDevice> getActiveUserConnectedDevices() { in getActiveUserConnectedDevices() method in ConnectedDeviceManager
|