Loading api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -6064,7 +6064,7 @@ package android.media.tv.tuner.frontend { } public abstract class FrontendSettings { method public int getEndFrequency(); method @IntRange(from=1) public int getEndFrequency(); method public int getFrequency(); method public int getFrontendSpectralInversion(); method public abstract int getType(); Loading core/api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -6004,7 +6004,7 @@ package android.media.tv.tuner.frontend { } public abstract class FrontendSettings { method public int getEndFrequency(); method @IntRange(from=1) public int getEndFrequency(); method public int getFrequency(); method public int getFrontendSpectralInversion(); method public abstract int getType(); Loading media/java/android/media/tv/tuner/frontend/FrontendSettings.java +5 −0 Original line number Diff line number Diff line Loading @@ -302,6 +302,7 @@ public abstract class FrontendSettings { * * @return the end frequency in Hz. */ @IntRange(from = 1) public int getEndFrequency() { return mEndFrequency; } Loading Loading @@ -341,11 +342,15 @@ public abstract class FrontendSettings { * * @param endFrequency the end frequency used during blind scan. The default value is * {@link android.media.tv.tuner.Tuner#INVALID_FRONTEND_SETTING_FREQUENCY}. * @throws IllegalArgumentException if the {@code endFrequency} is not greater than 0. */ @IntRange(from = 1) public void setEndFrequency(int endFrequency) { if (TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "setEndFrequency")) { if (endFrequency < 1) { throw new IllegalArgumentException("endFrequency must be greater than 0"); } mEndFrequency = endFrequency; } } Loading Loading
api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -6064,7 +6064,7 @@ package android.media.tv.tuner.frontend { } public abstract class FrontendSettings { method public int getEndFrequency(); method @IntRange(from=1) public int getEndFrequency(); method public int getFrequency(); method public int getFrontendSpectralInversion(); method public abstract int getType(); Loading
core/api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -6004,7 +6004,7 @@ package android.media.tv.tuner.frontend { } public abstract class FrontendSettings { method public int getEndFrequency(); method @IntRange(from=1) public int getEndFrequency(); method public int getFrequency(); method public int getFrontendSpectralInversion(); method public abstract int getType(); Loading
media/java/android/media/tv/tuner/frontend/FrontendSettings.java +5 −0 Original line number Diff line number Diff line Loading @@ -302,6 +302,7 @@ public abstract class FrontendSettings { * * @return the end frequency in Hz. */ @IntRange(from = 1) public int getEndFrequency() { return mEndFrequency; } Loading Loading @@ -341,11 +342,15 @@ public abstract class FrontendSettings { * * @param endFrequency the end frequency used during blind scan. The default value is * {@link android.media.tv.tuner.Tuner#INVALID_FRONTEND_SETTING_FREQUENCY}. * @throws IllegalArgumentException if the {@code endFrequency} is not greater than 0. */ @IntRange(from = 1) public void setEndFrequency(int endFrequency) { if (TunerVersionChecker.checkHigherOrEqualVersionTo( TunerVersionChecker.TUNER_VERSION_1_1, "setEndFrequency")) { if (endFrequency < 1) { throw new IllegalArgumentException("endFrequency must be greater than 0"); } mEndFrequency = endFrequency; } } Loading