public class PreferredComponent extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PreferredComponent.Callbacks |
Modifier and Type | Field and Description |
---|---|
boolean |
mAlways |
ComponentName |
mComponent |
int |
mMatch |
Constructor and Description |
---|
PreferredComponent(PreferredComponent.Callbacks callbacks,
int match,
ComponentName[] set,
ComponentName component,
boolean always) |
PreferredComponent(PreferredComponent.Callbacks callbacks,
XmlPullParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
dump(PrintWriter out,
String prefix,
Object ident) |
String |
getParseError() |
boolean |
sameSet(ComponentName[] comps) |
boolean |
sameSet(List<ResolveInfo> query) |
void |
writeToXml(XmlSerializer serializer,
boolean full) |
public final int mMatch
public final ComponentName mComponent
public boolean mAlways
public PreferredComponent(PreferredComponent.Callbacks callbacks, int match, ComponentName[] set, ComponentName component, boolean always)
public PreferredComponent(PreferredComponent.Callbacks callbacks, XmlPullParser parser) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public String getParseError()
public void writeToXml(XmlSerializer serializer, boolean full) throws IOException
IOException
public boolean sameSet(List<ResolveInfo> query)
public boolean sameSet(ComponentName[] comps)
public void dump(PrintWriter out, String prefix, Object ident)