Virtual input API improvements

 - Do not crash when closing a closed input device
 - Do crash when the input device failed to be created
 - Log the device name when an event failed to be sent
 - Log the device name when closing the device
 - Remove redundant checks already covered in the configs
 - Add missing checks in the configs
 - Add missing API documentation

Fix: 306679262
Fix: 268457357
Test: CTS

Change-Id: Icbe521a7ba46c460d3b98286b2c4c05ce6e8e2c6
11 files changed