Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAudioManager.java46 private List<AudioDeviceCallback> mDeviceCallbacks = new ArrayList<>(); field in ShadowAudioManager
63 mDeviceCallbacks.add(callback); in registerAudioDeviceCallback()
68 if (mDeviceCallbacks.contains(callback)) { in unregisterAudioDeviceCallback()
69 mDeviceCallbacks.remove(callback); in unregisterAudioDeviceCallback()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/
DConnectedDeviceManager.java91 private final Map<String, Map<UUID, ThreadSafeCallbacks<DeviceCallback>>> mDeviceCallbacks = field in ConnectedDeviceManager
417 mDeviceCallbacks.computeIfAbsent(deviceId, key -> new HashMap<>()); in registerDeviceCallback()
497 mDeviceCallbacks.get(device.getDeviceId()); in unregisterDeviceCallback()
565 mDeviceCallbacks.get(deviceId); in blacklistRecipient()
686 mDeviceCallbacks.get(deviceId); in onMessageReceived()
764 mDeviceCallbacks.get(deviceId); in notifyAllDeviceCallbacks()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DConnectedDeviceManagerBinder.java60 private final ConcurrentHashMap<IBinder, DeviceCallback> mDeviceCallbacks = field in ConnectedDeviceManagerBinder
163 mDeviceCallbacks.put(callback.asBinder(), deviceCallback); in registerDeviceCallback()
179 DeviceCallback deviceCallback = mDeviceCallbacks.remove(binder); in unregisterDeviceCallback()