Add VDM internal API isValidVirtualDeviceId

Useful for other system services that already use
VDMInternal so they won't have to create a VDM instance.

Bug: 287269288
Test: presubmit
Change-Id: I827b54d1301514bc37efea3567bd2a7c36a46802
3 files changed