Home
last modified time | relevance | path

Searched refs:mAssociatedDeviceCallback (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/
DTrustedDeviceFeature.java36 private AssociatedDeviceCallback mAssociatedDeviceCallback; field in TrustedDeviceFeature
50 mAssociatedDeviceCallback = callback; in setAssociatedDeviceCallback()
55 mAssociatedDeviceCallback = null; in clearAssociatedDeviceCallback()
74 if (mAssociatedDeviceCallback != null) { in onAssociatedDeviceAdded()
75 mAssociatedDeviceCallback.onAssociatedDeviceAdded(device); in onAssociatedDeviceAdded()
81 if (mAssociatedDeviceCallback != null) { in onAssociatedDeviceRemoved()
82 mAssociatedDeviceCallback.onAssociatedDeviceRemoved(device); in onAssociatedDeviceRemoved()
88 if (mAssociatedDeviceCallback != null) { in onAssociatedDeviceUpdated()
89 mAssociatedDeviceCallback.onAssociatedDeviceUpdated(device); in onAssociatedDeviceUpdated()
DTrustedDeviceManager.java123 mTrustedDeviceFeature.setAssociatedDeviceCallback(mAssociatedDeviceCallback); in TrustedDeviceManager()
611 private final TrustedDeviceFeature.AssociatedDeviceCallback mAssociatedDeviceCallback = field in TrustedDeviceManager
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorage.java86 private AssociatedDeviceCallback mAssociatedDeviceCallback; field in ConnectedDeviceStorage
104 mAssociatedDeviceCallback = callback; in setAssociatedDeviceCallback()
109 mAssociatedDeviceCallback = null; in clearAssociationDeviceCallback()
381 if (mAssociatedDeviceCallback != null) { in addAssociatedDeviceForActiveUser()
382 mAssociatedDeviceCallback.onAssociatedDeviceAdded(device); in addAssociatedDeviceForActiveUser()
414 if (mAssociatedDeviceCallback != null) { in updateAssociatedDeviceName()
415 mAssociatedDeviceCallback.onAssociatedDeviceUpdated(new AssociatedDevice(deviceId, in updateAssociatedDeviceName()
432 if (mAssociatedDeviceCallback != null) { in removeAssociatedDevice()
433 mAssociatedDeviceCallback.onAssociatedDeviceRemoved(new AssociatedDevice(deviceId, in removeAssociatedDevice()
466 if (mAssociatedDeviceCallback != null) { in updateAssociatedDeviceConnectionEnabled()
[all …]
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/
DConnectedDeviceManagerTest.java95 private AssociatedDeviceCallback mAssociatedDeviceCallback; field in ConnectedDeviceManagerTest
108 mAssociatedDeviceCallback = callbackCaptor.getValue(); in setUp()
515 mAssociatedDeviceCallback.onAssociatedDeviceAdded(testDevice); in deviceAssociationCallback_onAssociatedDeviceAdded()
528 mAssociatedDeviceCallback.onAssociatedDeviceRemoved(testDevice); in deviceAssociationCallback_onAssociationDeviceRemoved()
541 mAssociatedDeviceCallback.onAssociatedDeviceUpdated(testDevice); in deviceAssociationCallback_onAssociatedDeviceUpdated()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/
DConnectedDeviceManager.java189 mStorage.setAssociatedDeviceCallback(mAssociatedDeviceCallback); in ConnectedDeviceManager()
857 private final AssociatedDeviceCallback mAssociatedDeviceCallback =