FileDocCategorySizeDatePackage
BroadcastFilter.javaAPI DocAndroid 5.1 API2487Thu Mar 12 22:22:42 GMT 2015com.android.server.am

BroadcastFilter

public 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 voiddump(java.io.PrintWriter pw, java.lang.String prefix)

        dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix);
        receiverList.dumpLocal(pw, prefix);
    
public voiddumpBrief(java.io.PrintWriter pw, java.lang.String prefix)

        dumpBroadcastFilterState(pw, prefix);
    
voiddumpBroadcastFilterState(java.io.PrintWriter pw, java.lang.String prefix)

        if (requiredPermission != null) {
            pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission);
        }
    
public voiddumpInReceiverList(java.io.PrintWriter pw, android.util.Printer pr, java.lang.String prefix)

        super.dump(pr, prefix);
        dumpBroadcastFilterState(pw, prefix);
    
public java.lang.StringtoString()

        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();