Home
last modified time | relevance | path

Searched refs:deviceListener (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/midi/
DMidiManager.java185 DeviceListener deviceListener = new DeviceListener(callback, handler); in registerDeviceCallback() local
187 mService.registerListener(mToken, deviceListener); in registerDeviceCallback()
191 mDeviceListeners.put(callback, deviceListener); in registerDeviceCallback()
200 DeviceListener deviceListener = mDeviceListeners.remove(callback); in unregisterDeviceCallback() local
201 if (deviceListener != null) { in unregisterDeviceCallback()
203 mService.unregisterListener(mToken, deviceListener); in unregisterDeviceCallback()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java292 ServiceConnector<ICompanionDeviceService> deviceListener = in unbindDevicePresenceListener() local
295 if (deviceListener != null) { in unbindDevicePresenceListener()
296 deviceListener.unbind(); in unbindDevicePresenceListener()