Searched refs:deviceListener (Results 1 – 2 of 2) sorted by relevance
99 val deviceListener = captureDeviceListener() in <lambda>() constant102 deviceListener.onInputDeviceAdded(PHYSICAL_FULL_KEYBOARD_ID) in <lambda>()110 val deviceListener = captureDeviceListener() in <lambda>() constant113 deviceListener.onInputDeviceAdded(NULL_DEVICE_ID) in <lambda>()120 val deviceListener = captureDeviceListener() in <lambda>() constant123 deviceListener.onInputDeviceAdded(PHYSICAL_FULL_KEYBOARD_ID) in <lambda>()126 deviceListener.onInputDeviceRemoved(PHYSICAL_FULL_KEYBOARD_ID) in <lambda>()139 val deviceListener = captureDeviceListener() in <lambda>() constant142 deviceListener.onInputDeviceAdded(PHYSICAL_NOT_FULL_KEYBOARD_ID) in <lambda>()145 deviceListener.onInputDeviceAdded(VIRTUAL_FULL_KEYBOARD_ID) in <lambda>()[all …]
251 DeviceListener deviceListener = new DeviceListener(callback, executor, in registerDeviceCallback() local254 mService.registerListener(mToken, deviceListener); in registerDeviceCallback()258 mDeviceListeners.put(callback, deviceListener); in registerDeviceCallback()281 DeviceListener deviceListener = new DeviceListener(callback, executor, transport); in registerDeviceCallback() local283 mService.registerListener(mToken, deviceListener); in registerDeviceCallback()287 mDeviceListeners.put(callback, deviceListener); in registerDeviceCallback()296 DeviceListener deviceListener = mDeviceListeners.remove(callback); in unregisterDeviceCallback() local297 if (deviceListener != null) { in unregisterDeviceCallback()299 mService.unregisterListener(mToken, deviceListener); in unregisterDeviceCallback()