This client can be used to test the IPackageManagerProxy interface from the /vendor partition. To do so, build and start the VM:
lunch sdv_ivi_cf-trunk_staging-userdebug m cvd start
After the VM is started, launch a vendor shell:
abd shell /vendor/bin/sh
You will not get a shell prompt, so on the blank line that appears run the following command:
/vendor/bin/packagemanagerproxyd_testclient <package name>
<package name> should be replaced with a valid package name, for example:
/vendor/bin/packagemanagerproxyd_testclient com.google.android.car.evs
You should receive output similar to the following (the Uid and Version Code may diff from the example given):
Fetching package info for "com.google.android.car.evs" Uid: 10122 Version Code: 35
If the output is incomplete, check logcat for selinux denials.