Loading media/java/android/media/tv/tuner/filter/Filter.java +2 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,8 @@ public class Filter implements AutoCloseable { public @interface Status {} /** * The status of a filter that the data in the filter buffer is ready to be read. * The status of a filter that the data in the filter buffer is ready to be read. It can also be * used to know the STC (System Time Clock) ready status if it's PCR filter. */ public static final int STATUS_DATA_READY = DemuxFilterStatus.DATA_READY; /** Loading media/java/android/media/tv/tuner/filter/MmtpRecordEvent.java +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public class MmtpRecordEvent extends FilterEvent { } /** * Gets data size in bytes of filtered data. * Gets the record data offset from the beginning of the record buffer. */ @BytesLong public long getDataLength() { Loading media/java/android/media/tv/tuner/filter/TsRecordEvent.java +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ public class TsRecordEvent extends FilterEvent { } /** * Gets data size in bytes of filtered data. * Gets the record data offset from the beginning of the record buffer. */ @BytesLong public long getDataLength() { Loading media/java/android/media/tv/tuner/frontend/FrontendStatus.java +26 −0 Original line number Diff line number Diff line Loading @@ -645,6 +645,8 @@ public class FrontendStatus { } /** * Gets the current Automatic Gain Control value which is normalized from 0 to 255. * * Larger AGC values indicate it is applying more gain. */ public int getAgc() { if (mAgc == null) { Loading @@ -663,6 +665,10 @@ public class FrontendStatus { } /** * Gets the current Error information by layer. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull public boolean[] getLayerErrors() { Loading Loading @@ -736,6 +742,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull public int[] getBers() { Loading @@ -752,6 +762,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @FrontendSettings.InnerFec Loading Loading @@ -849,6 +863,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @FrontendInterleaveMode Loading @@ -867,6 +885,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @IntRange(from = 0, to = 0xff) Loading Loading @@ -900,6 +922,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @FrontendModulation Loading media/java/android/media/tv/tuner/frontend/ScanCallback.java +6 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,12 @@ import android.annotation.SystemApi; @SystemApi public interface ScanCallback { /** Scan locked the signal. */ /** * Scan locked the signal. * * It can also be notified after signal is locked if the signal attributes transmission * parameter of the signal is changed (e.g., Modulation). */ void onLocked(); /** Scan stopped. */ Loading Loading
media/java/android/media/tv/tuner/filter/Filter.java +2 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,8 @@ public class Filter implements AutoCloseable { public @interface Status {} /** * The status of a filter that the data in the filter buffer is ready to be read. * The status of a filter that the data in the filter buffer is ready to be read. It can also be * used to know the STC (System Time Clock) ready status if it's PCR filter. */ public static final int STATUS_DATA_READY = DemuxFilterStatus.DATA_READY; /** Loading
media/java/android/media/tv/tuner/filter/MmtpRecordEvent.java +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public class MmtpRecordEvent extends FilterEvent { } /** * Gets data size in bytes of filtered data. * Gets the record data offset from the beginning of the record buffer. */ @BytesLong public long getDataLength() { Loading
media/java/android/media/tv/tuner/filter/TsRecordEvent.java +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ public class TsRecordEvent extends FilterEvent { } /** * Gets data size in bytes of filtered data. * Gets the record data offset from the beginning of the record buffer. */ @BytesLong public long getDataLength() { Loading
media/java/android/media/tv/tuner/frontend/FrontendStatus.java +26 −0 Original line number Diff line number Diff line Loading @@ -645,6 +645,8 @@ public class FrontendStatus { } /** * Gets the current Automatic Gain Control value which is normalized from 0 to 255. * * Larger AGC values indicate it is applying more gain. */ public int getAgc() { if (mAgc == null) { Loading @@ -663,6 +665,10 @@ public class FrontendStatus { } /** * Gets the current Error information by layer. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull public boolean[] getLayerErrors() { Loading Loading @@ -736,6 +742,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull public int[] getBers() { Loading @@ -752,6 +762,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @FrontendSettings.InnerFec Loading Loading @@ -849,6 +863,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @FrontendInterleaveMode Loading @@ -867,6 +885,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @IntRange(from = 0, to = 0xff) Loading Loading @@ -900,6 +922,10 @@ public class FrontendStatus { * * <p>This query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker#getTunerVersion()} to check the version. * * The order of the vectors is in ascending order of the required CNR (Contrast-to-noise ratio). * The most robust layer is the first. For example, in ISDB-T, vec[0] is the information of * layer A. vec[1] is the information of layer B. */ @NonNull @FrontendModulation Loading
media/java/android/media/tv/tuner/frontend/ScanCallback.java +6 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,12 @@ import android.annotation.SystemApi; @SystemApi public interface ScanCallback { /** Scan locked the signal. */ /** * Scan locked the signal. * * It can also be notified after signal is locked if the signal attributes transmission * parameter of the signal is changed (e.g., Modulation). */ void onLocked(); /** Scan stopped. */ Loading