Android P might bring the HID aka Human Interface Device profile, thus allowing input devices to work. This patch was first seen in 2014 when a user from the Qualcomm CodeAurora forums submitted it.
Some specific features for blocking calls is something that stock Android has been lacking since always. However, this may have a change with the upcoming Android P. According to XDA-developers, after ...