adb shell pm list packages -f -3
When ADB connects, it generates a key pair. The PC holds the private key; the device authorizes the public key.
The combination of adb app control and extended key install offers numerous benefits for both developers and users: