Loading api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -6137,17 +6137,17 @@ package android.media.tv.tuner.frontend { method public int getBer(); method @NonNull public int[] getBers(); method @NonNull public int[] getCodeRates(); method @NonNull public int[] getExtendedModulations(); method public int getFreqOffset(); method public int getGuardInterval(); method public int getHierarchy(); method public long getInnerFec(); method @NonNull public int[] getInterleaving(); method @NonNull public int[] getIsdbtSegment(); method @IntRange(from=0, to=255) @NonNull public int[] getIsdbtSegment(); method @NonNull public boolean[] getLayerErrors(); method public int getLnbVoltage(); method public int getMer(); method public int getModulation(); method @NonNull public int[] getModulationsExt(); method public int getPer(); method public int getPerBer(); method public int getPlpId(); Loading @@ -6156,7 +6156,7 @@ package android.media.tv.tuner.frontend { method public int getSnr(); method public int getSpectralInversion(); method public int getSymbolRate(); method public int getSystemId(); method @IntRange(from=0, to=65535) public int getSystemId(); method public int getTransmissionMode(); method @NonNull public int[] getTsDataRate(); method public int getUec(); Loading core/api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -6077,17 +6077,17 @@ package android.media.tv.tuner.frontend { method public int getBer(); method @NonNull public int[] getBers(); method @NonNull public int[] getCodeRates(); method @NonNull public int[] getExtendedModulations(); method public int getFreqOffset(); method public int getGuardInterval(); method public int getHierarchy(); method public long getInnerFec(); method @NonNull public int[] getInterleaving(); method @NonNull public int[] getIsdbtSegment(); method @IntRange(from=0, to=255) @NonNull public int[] getIsdbtSegment(); method @NonNull public boolean[] getLayerErrors(); method public int getLnbVoltage(); method public int getMer(); method public int getModulation(); method @NonNull public int[] getModulationsExt(); method public int getPer(); method public int getPerBer(); method public int getPlpId(); Loading @@ -6096,7 +6096,7 @@ package android.media.tv.tuner.frontend { method public int getSnr(); method public int getSpectralInversion(); method public int getSymbolRate(); method public int getSystemId(); method @IntRange(from=0, to=65535) public int getSystemId(); method public int getTransmissionMode(); method @NonNull public int[] getTsDataRate(); method public int getUec(); Loading media/java/android/media/tv/tuner/frontend/FrontendStatus.java +16 −9 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.media.tv.tuner.frontend; import android.annotation.IntDef; import android.annotation.IntRange; import android.annotation.NonNull; import android.annotation.SystemApi; import android.hardware.tv.tuner.V1_0.Constants; Loading Loading @@ -634,7 +635,7 @@ public class FrontendStatus { } /** * Gets an array of BERS status. * Gets an array of extended bit error ratio status. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. Loading @@ -650,12 +651,14 @@ public class FrontendStatus { } /** * Gets an array of code rates status. * Gets an array of code rates status. The {@link FrontendSettings.InnerFec} would be used to * show the code rate. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull @FrontendSettings.InnerFec public int[] getCodeRates() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getCodeRates status"); Loading Loading @@ -714,7 +717,8 @@ public class FrontendStatus { } /** * Gets UEC status. * Gets the Uncorrectable Error Counts of the frontend's Physical Layer Pipe (PLP) since the * last tune operation. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. Loading @@ -729,11 +733,12 @@ public class FrontendStatus { } /** * Gets system id status. * Gets the current DVB-T2 system id status. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @IntRange(from = 0, to = 0xffff) public int getSystemId() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getSystemId status"); Loading @@ -744,13 +749,14 @@ public class FrontendStatus { } /** * Gets an array of interleaving status. Array value should be withink {@link * Gets an array of interleaving status. Array value should be within {@link * FrontendInterleaveMode}. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull @FrontendInterleaveMode public int[] getInterleaving() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getInterleaving status"); Loading @@ -761,12 +767,13 @@ public class FrontendStatus { } /** * Gets an array of isdbt segment status. * Gets an array of the segments status in ISDB-T Specification of all the channels. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull @IntRange(from = 0, to = 0xff) public int[] getIsdbtSegment() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getIsdbtSegment status"); Loading @@ -777,7 +784,7 @@ public class FrontendStatus { } /** * Gets an array of TS data rate status. * Gets an array of the Transport Stream Data Rate in BPS of the current channel. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. Loading @@ -800,9 +807,9 @@ public class FrontendStatus { * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull public int[] getModulationsExt() { public int[] getExtendedModulations() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getModulationsExt status"); TunerVersionChecker.TUNER_VERSION_1_1, "getExtendedModulations status"); if (mModulationsExt == null) { throw new IllegalStateException(); } Loading Loading
api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -6137,17 +6137,17 @@ package android.media.tv.tuner.frontend { method public int getBer(); method @NonNull public int[] getBers(); method @NonNull public int[] getCodeRates(); method @NonNull public int[] getExtendedModulations(); method public int getFreqOffset(); method public int getGuardInterval(); method public int getHierarchy(); method public long getInnerFec(); method @NonNull public int[] getInterleaving(); method @NonNull public int[] getIsdbtSegment(); method @IntRange(from=0, to=255) @NonNull public int[] getIsdbtSegment(); method @NonNull public boolean[] getLayerErrors(); method public int getLnbVoltage(); method public int getMer(); method public int getModulation(); method @NonNull public int[] getModulationsExt(); method public int getPer(); method public int getPerBer(); method public int getPlpId(); Loading @@ -6156,7 +6156,7 @@ package android.media.tv.tuner.frontend { method public int getSnr(); method public int getSpectralInversion(); method public int getSymbolRate(); method public int getSystemId(); method @IntRange(from=0, to=65535) public int getSystemId(); method public int getTransmissionMode(); method @NonNull public int[] getTsDataRate(); method public int getUec(); Loading
core/api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -6077,17 +6077,17 @@ package android.media.tv.tuner.frontend { method public int getBer(); method @NonNull public int[] getBers(); method @NonNull public int[] getCodeRates(); method @NonNull public int[] getExtendedModulations(); method public int getFreqOffset(); method public int getGuardInterval(); method public int getHierarchy(); method public long getInnerFec(); method @NonNull public int[] getInterleaving(); method @NonNull public int[] getIsdbtSegment(); method @IntRange(from=0, to=255) @NonNull public int[] getIsdbtSegment(); method @NonNull public boolean[] getLayerErrors(); method public int getLnbVoltage(); method public int getMer(); method public int getModulation(); method @NonNull public int[] getModulationsExt(); method public int getPer(); method public int getPerBer(); method public int getPlpId(); Loading @@ -6096,7 +6096,7 @@ package android.media.tv.tuner.frontend { method public int getSnr(); method public int getSpectralInversion(); method public int getSymbolRate(); method public int getSystemId(); method @IntRange(from=0, to=65535) public int getSystemId(); method public int getTransmissionMode(); method @NonNull public int[] getTsDataRate(); method public int getUec(); Loading
media/java/android/media/tv/tuner/frontend/FrontendStatus.java +16 −9 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.media.tv.tuner.frontend; import android.annotation.IntDef; import android.annotation.IntRange; import android.annotation.NonNull; import android.annotation.SystemApi; import android.hardware.tv.tuner.V1_0.Constants; Loading Loading @@ -634,7 +635,7 @@ public class FrontendStatus { } /** * Gets an array of BERS status. * Gets an array of extended bit error ratio status. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. Loading @@ -650,12 +651,14 @@ public class FrontendStatus { } /** * Gets an array of code rates status. * Gets an array of code rates status. The {@link FrontendSettings.InnerFec} would be used to * show the code rate. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull @FrontendSettings.InnerFec public int[] getCodeRates() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getCodeRates status"); Loading Loading @@ -714,7 +717,8 @@ public class FrontendStatus { } /** * Gets UEC status. * Gets the Uncorrectable Error Counts of the frontend's Physical Layer Pipe (PLP) since the * last tune operation. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. Loading @@ -729,11 +733,12 @@ public class FrontendStatus { } /** * Gets system id status. * Gets the current DVB-T2 system id status. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @IntRange(from = 0, to = 0xffff) public int getSystemId() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getSystemId status"); Loading @@ -744,13 +749,14 @@ public class FrontendStatus { } /** * Gets an array of interleaving status. Array value should be withink {@link * Gets an array of interleaving status. Array value should be within {@link * FrontendInterleaveMode}. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull @FrontendInterleaveMode public int[] getInterleaving() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getInterleaving status"); Loading @@ -761,12 +767,13 @@ public class FrontendStatus { } /** * Gets an array of isdbt segment status. * Gets an array of the segments status in ISDB-T Specification of all the channels. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull @IntRange(from = 0, to = 0xff) public int[] getIsdbtSegment() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getIsdbtSegment status"); Loading @@ -777,7 +784,7 @@ public class FrontendStatus { } /** * Gets an array of TS data rate status. * Gets an array of the Transport Stream Data Rate in BPS of the current channel. * * <p>This status query is only supported by Tuner HAL 1.1 or higher. Use * {@link TunerVersionChecker.getTunerVersion()} to check the version. Loading @@ -800,9 +807,9 @@ public class FrontendStatus { * {@link TunerVersionChecker.getTunerVersion()} to check the version. */ @NonNull public int[] getModulationsExt() { public int[] getExtendedModulations() { TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "getModulationsExt status"); TunerVersionChecker.TUNER_VERSION_1_1, "getExtendedModulations status"); if (mModulationsExt == null) { throw new IllegalStateException(); } Loading