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

Commit d63e313e authored by shubang's avatar shubang
Browse files

Unhide FrontendSettings part 2

and FrontendCapabilities

Test: make;
Bug: 139308734
Change-Id: I1481b758df49319dd34484548797534e3c46627d
parent 25f5eaea
Loading
Loading
Loading
Loading
+546 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ public final class TunerConstants {
    /**
     * Scan type auto.
     *
     * <p> Tuner will send {@link #onLocked}
     * <p> Tuner will send {@link android.media.tv.tuner.frontend.ScanCallback#onLocked}
     */
    public static final int SCAN_TYPE_AUTO = Constants.FrontendScanType.SCAN_AUTO;
    /**
+3 −0
Original line number Diff line number Diff line
@@ -16,11 +16,14 @@

package android.media.tv.tuner.frontend;

import android.annotation.SystemApi;

/**
 * Capabilities for analog tuners.
 *
 * @hide
 */
@SystemApi
public class AnalogFrontendCapabilities extends FrontendCapabilities {
    @AnalogFrontendSettings.SignalType
    private final int mTypeCap;
+2 −2
Original line number Diff line number Diff line
@@ -195,7 +195,7 @@ public class AnalogFrontendSettings extends FrontendSettings {
    /**
     * Creates a builder for {@link AnalogFrontendSettings}.
     *
     * @param the context of the caller.
     * @param context the context of the caller.
     */
    @RequiresPermission(android.Manifest.permission.ACCESS_TV_TUNER)
    @NonNull
@@ -223,7 +223,7 @@ public class AnalogFrontendSettings extends FrontendSettings {
         * Sets analog signal type.
         */
        @NonNull
        public Builder setASignalType(@SignalType int signalType) {
        public Builder setSignalType(@SignalType int signalType) {
            mSignalType = signalType;
            return this;
        }
+5 −1
Original line number Diff line number Diff line
@@ -16,10 +16,14 @@

package android.media.tv.tuner.frontend;

import android.annotation.SystemApi;

/**
 * ATSC-3 Capabilities.
 *
 * @hide
 */
@SystemApi
public class Atsc3FrontendCapabilities extends FrontendCapabilities {
    private final int mBandwidthCap;
    private final int mModulationCap;
@@ -63,7 +67,7 @@ public class Atsc3FrontendCapabilities extends FrontendCapabilities {
     * Gets code rate capability.
     */
    @Atsc3FrontendSettings.CodeRate
    public int getCodeRateCapability() {
    public int getPlpCodeRateCapability() {
        return mCodeRateCap;
    }
    /**
Loading