So, AIDL files exist to determine how the service and the client talk to each other. They are important for system services because they need to handle multithreading, and there are many different applications that can talk to her. In this way, IPackageManager.aidl allows customers to contact PackageManager.
I took a look at InstallAppProgress.initView () and I do not see a specific call to my own code. There is a call for PackageManager:
pm.installPackageWithVerificationAndEncryption(mPackageURI, observer, installFlags,
installerPackageName, verificationParams, null);
, , , InstallAppProgress PackageManager , , , ContextImpl.getPackageManager(), , ApplicationPackageManager, PackageManager.
ApplicationPackageManager PackageManagerService, , helpl IPackageManager. , . PackageManagerService, IIRC, , .
, aidl , Android: Android