Convert DependencyInstallerCallback to two-way

We would like to throw IllegalArgumentException for invalid session-ids.
Can't do that with one-way binder calls. Once we validate the
session-ids, we off-load the work on the handler thread.

Bug: 372862145
Test: atest PackageManagerShellCommandInstallTest
FLAG: android.content.pm.sdk_dependency_installer
Change-Id: Idac7ecbaee026cf37a876179b312e8d5178d86b7
3 files changed