Merge "Add TransportType in AccessNetworkConstants.java"

am: afd65d9d1c

Change-Id: Ie0ef55c0a3e75937a0e68b364bf6e202ad0678bd
This commit is contained in:
Xiangyu/Malcolm Chen
2018-01-24 01:12:24 +00:00
committed by android-build-merger
2 changed files with 20 additions and 0 deletions

View File

@@ -3946,6 +3946,12 @@ package android.telecom {
package android.telephony {
public static final class AccessNetworkConstants.TransportType {
ctor public AccessNetworkConstants.TransportType();
field public static final int WLAN = 2; // 0x2
field public static final int WWAN = 1; // 0x1
}
public class CarrierConfigManager {
method public static android.os.PersistableBundle getDefaultConfig();
method public void updateConfigForPhoneId(int, java.lang.String);

View File

@@ -16,6 +16,8 @@
package android.telephony;
import android.annotation.SystemApi;
/**
* Contains access network related constants.
*/
@@ -29,6 +31,18 @@ public final class AccessNetworkConstants {
public static final int IWLAN = 5;
}
/**
* Wireless transportation type
* @hide
*/
@SystemApi
public static final class TransportType {
/** Wireless Wide Area Networks (i.e. Cellular) */
public static final int WWAN = 1;
/** Wireless Local Area Networks (i.e. Wifi) */
public static final int WLAN = 2;
}
/**
* Frenquency bands for GERAN.
* http://www.etsi.org/deliver/etsi_ts/145000_145099/145005/14.00.00_60/ts_145005v140000p.pdf