BroadcastFilterpublic final class BroadcastFilter extends android.content.IntentFilter
Fields Summary |
---|
final ReceiverList | receiverList | final String | packageName | final String | requiredPermission | final int | owningUid | final int | owningUserId |
Constructors Summary |
---|
BroadcastFilter(android.content.IntentFilter _filter, ReceiverList _receiverList, String _packageName, String _requiredPermission, int _owningUid, int _userId)
super(_filter);
receiverList = _receiverList;
packageName = _packageName;
requiredPermission = _requiredPermission;
owningUid = _owningUid;
owningUserId = _userId;
|
Methods Summary |
---|
public void | dump(java.io.PrintWriter pw, java.lang.String prefix)
dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix);
receiverList.dumpLocal(pw, prefix);
| public void | dumpBrief(java.io.PrintWriter pw, java.lang.String prefix)
dumpBroadcastFilterState(pw, prefix);
| void | dumpBroadcastFilterState(java.io.PrintWriter pw, java.lang.String prefix)
if (requiredPermission != null) {
pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission);
}
| public void | dumpInReceiverList(java.io.PrintWriter pw, android.util.Printer pr, java.lang.String prefix)
super.dump(pr, prefix);
dumpBroadcastFilterState(pw, prefix);
| public java.lang.String | toString()
StringBuilder sb = new StringBuilder();
sb.append("BroadcastFilter{");
sb.append(Integer.toHexString(System.identityHashCode(this)));
sb.append(" u");
sb.append(owningUserId);
sb.append(' ");
sb.append(receiverList);
sb.append('}");
return sb.toString();
|
|