Prints all packages, optionally only those whose package name contains the text in <FILTER>.
adb shell pm list packages [options] <FILTER>
All <FILTER>
adb shell pm list packages
Attributes:
-f
to see their associated file.
-i
See the installer for the packages.
-u
to also include uninstalled packages.
-u
Also include uninstalled packages.
Attributes that filter:
-d
for disabled packages.
-e
for enabled packages.
-s
for system packages.
-3
for third party packages.
--user <USER_ID>
for a specific user space to query.