list packages 列举app包信息 PMS.getInstalledPackages
install [options] 安装应用 PMS.installPackageAsUser
uninstall [options] 卸载应用 IPackageInstaller.uninstall
disable <包名或组件名> disable PMS.setEnabledSetting
enable <包名或组件名> enable PMS.setEnabledSetting
hide 隐藏应用 PMS.setApplicationHiddenSettingAsUser
unhide 显示应用 PMS.setApplicationHiddenSettingAsUser
get-install-location 获取安装位置 PMS.getInstallLocation
set-install-location 设置安装位置 PMS.setInstallLocation
path 查看App路径 PMS.getPackageInfo
clear 清空App数据 AMS.clearApplicationUserData
force-dex-opt dex优化 PMS.forceDexOpt
dump dump信息 AM.dumpPackageStateStatic
trim-caches <目标size> 紧缩cache目标大小 PMS.freeStorageAndNotify
pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [–user USER_ID] [FILTER]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
p