summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaewan Kim <jaewan@google.com>2014-04-07 08:54:45 +0000
committerJaewan Kim <jaewan@google.com>2014-04-07 08:54:45 +0000
commite277433ed718be7651ab893f85d87f1ab4da896c (patch)
tree60484ed525936df10e2884a768a117292d451187
parentd07372e2e96ed6d2012db8518e05018c9710cafb (diff)
downloadframeworks_base-e277433ed718be7651ab893f85d87f1ab4da896c.zip
frameworks_base-e277433ed718be7651ab893f85d87f1ab4da896c.tar.gz
frameworks_base-e277433ed718be7651ab893f85d87f1ab4da896c.tar.bz2
Revert "Hide IpConfiguration"
This reverts commit d07372e2e96ed6d2012db8518e05018c9710cafb. Change-Id: I5728114dbd9ef37509e8ab3c942648ec92ef0c1a
-rw-r--r--core/java/android/net/IpConfiguration.java24
1 files changed, 19 insertions, 5 deletions
diff --git a/core/java/android/net/IpConfiguration.java b/core/java/android/net/IpConfiguration.java
index 45070b9..7f835e4 100644
--- a/core/java/android/net/IpConfiguration.java
+++ b/core/java/android/net/IpConfiguration.java
@@ -23,11 +23,13 @@ import android.util.Log;
/**
* A class representing a configured network.
- * @hide
*/
public class IpConfiguration implements Parcelable {
private static final String TAG = "IpConfiguration";
+ /**
+ * @hide
+ */
public enum IpAssignment {
/* Use statically configured IP settings. Configuration can be accessed
* with linkProperties */
@@ -39,8 +41,14 @@ public class IpConfiguration implements Parcelable {
UNASSIGNED
}
+ /**
+ * @hide
+ */
public IpAssignment ipAssignment;
+ /**
+ * @hide
+ */
public enum ProxySettings {
/* No proxy is to be used. Any existing proxy settings
* should be cleared. */
@@ -56,8 +64,14 @@ public class IpConfiguration implements Parcelable {
PAC
}
+ /**
+ * @hide
+ */
public ProxySettings proxySettings;
+ /**
+ * @hide
+ */
public LinkProperties linkProperties;
public IpConfiguration() {
@@ -66,7 +80,7 @@ public class IpConfiguration implements Parcelable {
linkProperties = new LinkProperties();
}
- /** copy constructor */
+ /** copy constructor {@hide} */
public IpConfiguration(IpConfiguration source) {
if (source != null) {
ipAssignment = source.ipAssignment;
@@ -110,19 +124,19 @@ public class IpConfiguration implements Parcelable {
return sbuf.toString();
}
- /** Implement the Parcelable interface */
+ /** Implement the Parcelable interface {@hide} */
public int describeContents() {
return 0;
}
- /** Implement the Parcelable interface */
+ /** Implement the Parcelable interface {@hide} */
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(ipAssignment.name());
dest.writeString(proxySettings.name());
dest.writeParcelable(linkProperties, flags);
}
- /** Implement the Parcelable interface */
+ /** Implement the Parcelable interface {@hide} */
public static final Creator<IpConfiguration> CREATOR =
new Creator<IpConfiguration>() {
public IpConfiguration createFromParcel(Parcel in) {