DumpsysPackageReceiver

class DumpsysPackageReceiver
extends MultiLineReceiver

java.lang.Object
   ↳ com.android.ddmlib.MultiLineReceiver
     ↳ com.android.tradefed.device.DumpsysPackageReceiver


Parser for 'adb shell dumpsys package' output.

Summary

Nested classes

class DumpsysPackageReceiver.ParseException

 

Public methods

Map<String, PackageInfo> getPackages()
boolean isCancelled()

void processNewLines(String[] lines)

Public methods

getPackages

Map<String, PackageInfo> getPackages ()

Returns
Map<String, PackageInfo> the parsed PackageInfos as a map of package name to PackageInfo.

isCancelled

boolean isCancelled ()

Returns
boolean

processNewLines

void processNewLines (String[] lines)

Parameters
lines String