Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e190822d authored by Hongguang Chen's avatar Hongguang Chen Committed by Android (Google) Code Review
Browse files

Merge "Add new filter status NO_DATA"

parents ab979cf0 c738cd15
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7781,6 +7781,7 @@ package android.media.tv.tuner.filter {
    field public static final int STATUS_DATA_READY = 1; // 0x1
    field public static final int STATUS_HIGH_WATER = 4; // 0x4
    field public static final int STATUS_LOW_WATER = 2; // 0x2
    field public static final int STATUS_NO_DATA = 16; // 0x10
    field public static final int STATUS_OVERFLOW = 8; // 0x8
    field public static final int SUBTYPE_AUDIO = 3; // 0x3
    field public static final int SUBTYPE_DOWNLOAD = 5; // 0x5
+6 −1
Original line number Diff line number Diff line
@@ -154,7 +154,8 @@ public class Filter implements AutoCloseable {

    /** @hide */
    @IntDef(prefix = "STATUS_",
            value = {STATUS_DATA_READY, STATUS_LOW_WATER, STATUS_HIGH_WATER, STATUS_OVERFLOW})
            value = {STATUS_DATA_READY, STATUS_LOW_WATER, STATUS_HIGH_WATER, STATUS_OVERFLOW,
                    STATUS_NO_DATA})
    @Retention(RetentionPolicy.SOURCE)
    public @interface Status {}

@@ -183,6 +184,10 @@ public class Filter implements AutoCloseable {
     * discarded.
     */
    public static final int STATUS_OVERFLOW = DemuxFilterStatus.OVERFLOW;
    /**
     * The status of a filter that the filter buffer is empty and no filtered data is coming.
     */
    public static final int STATUS_NO_DATA = DemuxFilterStatus.NO_DATA;

    /** @hide */
    @IntDef(prefix = "SCRAMBLING_STATUS_",