adb shell pm list packages
$ adb shell pm list packages
package:com.mediatek.mco
package:com.android.providers.telephony
package:com.android.providers.calendar
package:com.android.providers.media
package:com.mediatek.fwk.plugin
package:com.mediatek.schpwronoff
...
$ adb shell pm list packages | grep 'miui'
package:com.miui.powerkeeper
package:com.miui.fm
package:com.miui.milivetalk
package:com.miui.securityadd
package:com.miui.gallery
package:com.miui.securitycenter
package:com.miui.systemAdSolution
package:com.miui.guardprovider
package:com.miui.backup
package:com.miui.securitycore
package:com.miui.player
package:com.miui.system
package:com.miui.translation.kingsoft
package:com.miui.virtualsim
package:com.miui.compass
package:com.miui.rom
...