Add the ability for VHAL Emulator to select a specific device

When multiple devices are connected, ADB needs a -s flag to pick a specific one to talk to
This commit plumbs the logic to enable this device selection logic to the HAL emulator as well
as the diagnostic injector tool

Additionally, since multiple HAL emulators might be in flight at a given time on a given host
with this change, it also changes the port selection logic to pick any free local port to
bind to instead of hardcoding to the same port number on local and remote side

Test: manual with one and two devices connected to a host
Bug: b/63098807
Change-Id: Idc3336919bbb4edf438f12fd05ff7d186d706faf
2 files changed