Merge "Cleanup Frontend Status" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3fe090f737
@@ -5758,7 +5758,7 @@ package android.media.tv.tuner.frontend {
|
||||
|
||||
public class FrontendStatus {
|
||||
method public int getAgc();
|
||||
method @NonNull public android.media.tv.tuner.frontend.FrontendStatus.Atsc3PlpInfo[] getAtsc3PlpInfo();
|
||||
method @NonNull public android.media.tv.tuner.frontend.FrontendStatus.Atsc3PlpTuningInfo[] getAtsc3PlpTuningInfo();
|
||||
method public int getBer();
|
||||
method public int getFreqOffset();
|
||||
method public int getHierarchy();
|
||||
@@ -5778,7 +5778,7 @@ package android.media.tv.tuner.frontend {
|
||||
method public boolean isDemodLocked();
|
||||
method public boolean isEwbs();
|
||||
method public boolean isLnaOn();
|
||||
method public boolean isRfLock();
|
||||
method public boolean isRfLocked();
|
||||
field public static final int FRONTEND_STATUS_TYPE_AGC = 14; // 0xe
|
||||
field public static final int FRONTEND_STATUS_TYPE_ATSC3_PLP_INFO = 21; // 0x15
|
||||
field public static final int FRONTEND_STATUS_TYPE_BER = 2; // 0x2
|
||||
@@ -5803,10 +5803,10 @@ package android.media.tv.tuner.frontend {
|
||||
field public static final int FRONTEND_STATUS_TYPE_SYMBOL_RATE = 7; // 0x7
|
||||
}
|
||||
|
||||
public static class FrontendStatus.Atsc3PlpInfo {
|
||||
public static class FrontendStatus.Atsc3PlpTuningInfo {
|
||||
method public int getPlpId();
|
||||
method public int getUec();
|
||||
method public boolean isLock();
|
||||
method public boolean isLocked();
|
||||
}
|
||||
|
||||
public class Isdbs3FrontendCapabilities extends android.media.tv.tuner.frontend.FrontendCapabilities {
|
||||
|
||||
@@ -214,7 +214,7 @@ public class FrontendStatus {
|
||||
private Integer mFreqOffset;
|
||||
private Integer mHierarchy;
|
||||
private Boolean mIsRfLocked;
|
||||
private Atsc3PlpInfo[] mPlpInfo;
|
||||
private Atsc3PlpTuningInfo[] mPlpInfo;
|
||||
|
||||
// Constructed and fields set by JNI code.
|
||||
private FrontendStatus() {
|
||||
@@ -419,7 +419,7 @@ public class FrontendStatus {
|
||||
/**
|
||||
* Gets lock status for RF.
|
||||
*/
|
||||
public boolean isRfLock() {
|
||||
public boolean isRfLocked() {
|
||||
if (mIsRfLocked == null) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
@@ -429,7 +429,7 @@ public class FrontendStatus {
|
||||
* Gets an array of PLP status for tuned PLPs for ATSC3 frontend.
|
||||
*/
|
||||
@NonNull
|
||||
public Atsc3PlpInfo[] getAtsc3PlpInfo() {
|
||||
public Atsc3PlpTuningInfo[] getAtsc3PlpTuningInfo() {
|
||||
if (mPlpInfo == null) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
@@ -439,14 +439,14 @@ public class FrontendStatus {
|
||||
/**
|
||||
* Status for each tuning Physical Layer Pipes.
|
||||
*/
|
||||
public static class Atsc3PlpInfo {
|
||||
public static class Atsc3PlpTuningInfo {
|
||||
private final int mPlpId;
|
||||
private final boolean mIsLock;
|
||||
private final boolean mIsLocked;
|
||||
private final int mUec;
|
||||
|
||||
private Atsc3PlpInfo(int plpId, boolean isLock, int uec) {
|
||||
private Atsc3PlpTuningInfo(int plpId, boolean isLocked, int uec) {
|
||||
mPlpId = plpId;
|
||||
mIsLock = isLock;
|
||||
mIsLocked = isLocked;
|
||||
mUec = uec;
|
||||
}
|
||||
|
||||
@@ -459,8 +459,8 @@ public class FrontendStatus {
|
||||
/**
|
||||
* Gets Demod Lock/Unlock status of this particular PLP.
|
||||
*/
|
||||
public boolean isLock() {
|
||||
return mIsLock;
|
||||
public boolean isLocked() {
|
||||
return mIsLocked;
|
||||
}
|
||||
/**
|
||||
* Gets Uncorrectable Error Counts (UEC) of this particular PLP since last tune operation.
|
||||
|
||||
Reference in New Issue
Block a user