summaryrefslogtreecommitdiff
path: root/telephony/api
diff options
context:
space:
mode:
authorZoey Chen <zoeychen@google.com>2020-07-28 18:42:56 +0800
committerZoey Chen <zoeychen@google.com>2020-09-02 14:43:41 +0800
commitbcdb260b5f1592066754769a3d0ddcefdfe2d471 (patch)
tree4978ee3900511cc699a17fc077db4411ec47b5dc /telephony/api
parente5d6841e7c23fe1f11d28a06d25394040b2aca90 (diff)
[5G] Implement Physical Channel Listener
To support the new listen event, use long instead of int for the new one then creat bitmask for old events. Bug: 162300897 Test: manual - 5g testing Change-Id: I002cb3579eb920ffc0b0a8dbf59e8d1153222411
Diffstat (limited to 'telephony/api')
-rw-r--r--telephony/api/system-current.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/telephony/api/system-current.txt b/telephony/api/system-current.txt
index 52e0953813a0..8e66c1d5e248 100644
--- a/telephony/api/system-current.txt
+++ b/telephony/api/system-current.txt
@@ -291,6 +291,22 @@ package android.telephony {
method public static boolean isVoiceMailNumber(@NonNull android.content.Context, int, @Nullable String);
}
+ public final class PhysicalChannelConfig implements android.os.Parcelable {
+ method public int describeContents();
+ method public int getCellBandwidthDownlink();
+ method public int getChannelNumber();
+ method public int getConnectionStatus();
+ method public int getNetworkType();
+ method @IntRange(from=0, to=1007) public int getPhysicalCellId();
+ method public void writeToParcel(@NonNull android.os.Parcel, int);
+ field public static final int CHANNEL_NUMBER_UNKNOWN = -1; // 0xffffffff
+ field public static final int CONNECTION_PRIMARY_SERVING = 1; // 0x1
+ field public static final int CONNECTION_SECONDARY_SERVING = 2; // 0x2
+ field public static final int CONNECTION_UNKNOWN = -1; // 0xffffffff
+ field @NonNull public static final android.os.Parcelable.Creator<android.telephony.PhysicalChannelConfig> CREATOR;
+ field public static final int PHYSICAL_CELL_ID_UNKNOWN = -1; // 0xffffffff
+ }
+
public final class PreciseCallState implements android.os.Parcelable {
ctor public PreciseCallState(int, int, int, int, int);
method public int describeContents();