Make sure BGpio_setValue fails on input.

Setting the value of an input GPIO will fail in the daemon. We need to
make sure the error is propagated to the user and an message is logged.
This is probably a common error. Giving feedback to the developer will
be helpful.

Bug: 28765716

Change-Id: I5e9b20e317d73875431e0e09b4589fc61781a1af
3 files changed
tree: fb09bdaa95829259ffd9d747134623485185669d
  1. client/
  2. common/
  3. daemon/
  4. example/
  5. hal/
  6. include/
  7. ipc/
  8. Android.mk
  9. MODULE_LICENSE_APACHE2
  10. NOTICE
  11. README