Searched refs:deviceListener (Results 1 – 2 of 2) sorted by relevance
185 DeviceListener deviceListener = new DeviceListener(callback, handler); in registerDeviceCallback() local187 mService.registerListener(mToken, deviceListener); in registerDeviceCallback()191 mDeviceListeners.put(callback, deviceListener); in registerDeviceCallback()200 DeviceListener deviceListener = mDeviceListeners.remove(callback); in unregisterDeviceCallback() local201 if (deviceListener != null) { in unregisterDeviceCallback()203 mService.unregisterListener(mToken, deviceListener); in unregisterDeviceCallback()
292 ServiceConnector<ICompanionDeviceService> deviceListener = in unbindDevicePresenceListener() local295 if (deviceListener != null) { in unbindDevicePresenceListener()296 deviceListener.unbind(); in unbindDevicePresenceListener()