OSDN Git Service

Add Duplex mode to ServiceState.
authorEric Schwarzenbach <easchwar@google.com>
Sat, 3 Mar 2018 01:47:13 +0000 (17:47 -0800)
committerEric Schwarzenbach <easchwar@google.com>
Thu, 8 Mar 2018 15:39:32 +0000 (07:39 -0800)
commita483ce3bfd2df3b0c88382d59e67bb2bfcd361d8
treec8b0d0aefb5ccd9ff83c33ca6e1190f23a5bc9a0
parentc2925aff38e4ab105d64aaf022d309f0fb2a858d
Add Duplex mode to ServiceState.

Adds getChannelNumber() to CellIdentity.
Creates a static utility class to calculate the duplex mode from an
EARFCN.

Bug: 73728783
Test: runtest frameworks-telephony
Change-Id: I5b5c4efa7e17594ce9397cf65e129147affe96bd
telephony/java/android/telephony/AccessNetworkUtils.java [new file with mode: 0644]
telephony/java/android/telephony/CellIdentity.java
telephony/java/android/telephony/CellIdentityGsm.java
telephony/java/android/telephony/CellIdentityLte.java
telephony/java/android/telephony/CellIdentityWcdma.java
telephony/java/android/telephony/ServiceState.java