Add additional null checks for VirtualDeviceManager APIs

Explicitly throw NPEs instead of accidentally relying on exceptions to
be thrown under specific conditions to clarify API behavior to
developers.

Bug: 268457357
Test: cts
Change-Id: I3fd2f949df7a703d88f92d36fec8e7fe52370fc3
3 files changed