probeInputDevices

Probes connected input devices and installed input methods.

Reports input-device count, a hash of device descriptors, a source-type histogram, the IME list count and a hash of enabled IME package names (via InputDevice and InputMethodManager).

Privacy: descriptors are hashed; the enabled-IME set can reveal installed keyboards. No runtime permission is required.

Return

Map of probe keys to input-device values.

Parameters

context

Context used to obtain the input-method service.