Add function to query ADB state

This is what the USB manager will use to query the current ADB state in
the future.

Bug: 63820489
Test: make
Change-Id: I70484f97e56af4e5104611dc3b43ef83885671d7
2 files changed