Home
last modified time | relevance | path

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

/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorageTest.java67 List<String> associatedDevices = in getAssociatedDeviceIdsForUser_includesNewlyAddedDevice() local
69 assertThat(associatedDevices).containsExactly(addedDevice.getDeviceId()); in getAssociatedDeviceIdsForUser_includesNewlyAddedDevice()
75 List<String> associatedDevices = in getAssociatedDeviceIdsForUser_excludesDeviceAddedForOtherUser() local
77 assertThat(associatedDevices).isEmpty(); in getAssociatedDeviceIdsForUser_excludesDeviceAddedForOtherUser()
84 List<String> associatedDevices = in getAssociatedDeviceIdsForUser_excludesRemovedDevice() local
86 assertThat(associatedDevices).isEmpty(); in getAssociatedDeviceIdsForUser_excludesRemovedDevice()
92 List<AssociatedDevice> associatedDevices = in getAssociatedDevicesForUser_includesNewlyAddedDevice() local
94 assertThat(associatedDevices).containsExactly(addedDevice); in getAssociatedDevicesForUser_includesNewlyAddedDevice()
100 List<String> associatedDevices = in getAssociatedDevicesForUser_excludesDeviceAddedForOtherUser() local
102 assertThat(associatedDevices).isEmpty(); in getAssociatedDevicesForUser_excludesDeviceAddedForOtherUser()
[all …]
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/association/
DAssociationBinder.java107 List<com.android.car.connecteddevice.model.AssociatedDevice> associatedDevices = in getActiveUserAssociatedDevices() local
110 for (com.android.car.connecteddevice.model.AssociatedDevice device : associatedDevices) { in getActiveUserAssociatedDevices()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceViewModel.java255 private void setAssociatedDevices(@NonNull List<AssociatedDevice> associatedDevices) { in setAssociatedDevices() argument
256 mAssociatedDevices = associatedDevices; in setAssociatedDevices()