Loading api/current.txt +6 −0 Original line number Diff line number Diff line Loading @@ -32023,9 +32023,15 @@ package android.net.wifi.hotspot2.pps { method public int describeContents(); method public String getFqdn(); method public String getFriendlyName(); method @Nullable public long[] getMatchAllOis(); method @Nullable public long[] getMatchAnyOis(); method @Nullable public String[] getOtherHomePartners(); method public long[] getRoamingConsortiumOis(); method public void setFqdn(String); method public void setFriendlyName(String); method public void setMatchAllOis(@Nullable long[]); method public void setMatchAnyOis(@Nullable long[]); method public void setOtherHomePartners(@Nullable String[]); method public void setRoamingConsortiumOis(long[]); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.pps.HomeSp> CREATOR; wifi/api/current.txt +6 −0 Original line number Diff line number Diff line Loading @@ -798,9 +798,15 @@ package android.net.wifi.hotspot2.pps { method public int describeContents(); method public String getFqdn(); method public String getFriendlyName(); method @Nullable public long[] getMatchAllOis(); method @Nullable public long[] getMatchAnyOis(); method @Nullable public String[] getOtherHomePartners(); method public long[] getRoamingConsortiumOis(); method public void setFqdn(String); method public void setFriendlyName(String); method public void setMatchAllOis(@Nullable long[]); method public void setMatchAnyOis(@Nullable long[]); method public void setOtherHomePartners(@Nullable String[]); method public void setRoamingConsortiumOis(long[]); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.pps.HomeSp> CREATOR; Loading wifi/java/android/net/wifi/hotspot2/pps/HomeSp.java +45 −14 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.net.wifi.hotspot2.pps; import android.annotation.Nullable; import android.os.Parcel; import android.os.Parcelable; import android.text.TextUtils; Loading Loading @@ -139,16 +140,26 @@ public final class HomeSp implements Parcelable { * (MO) tree for more detail. */ private long[] mMatchAllOis = null; /** * @hide * Set a list of HomeOIs such that all OIs in the list must match an OI in the Roaming * Consortium advertised by a hotspot operator. The list set by this API will have precedence * over {@link #setMatchAnyOis(long[])}, meaning the list set in {@link #setMatchAnyOis(long[])} * will only be used for matching if the list set by this API is null or empty. * * @param matchAllOis An array of longs containing the HomeOIs */ public void setMatchAllOis(long[] matchAllOis) { public void setMatchAllOis(@Nullable long[] matchAllOis) { mMatchAllOis = matchAllOis; } /** * @hide * Get the list of HomeOIs such that all OIs in the list must match an OI in the Roaming * Consortium advertised by a hotspot operator. * * @return An array of longs containing the HomeOIs */ public long[] getMatchAllOis() { public @Nullable long[] getMatchAllOis() { return mMatchAllOis; } Loading @@ -159,23 +170,34 @@ public final class HomeSp implements Parcelable { * of that Hotspot provider (e.g. successful authentication with such Hotspot * is possible). * * {@link #mMatchAllOIs} will have precedence over this one, meaning this list will * only be used for matching if {@link #mMatchAllOIs} is null or empty. * The list set by {@link #setMatchAllOis(long[])} will have precedence over this one, meaning * this list will only be used for matching if the list set by {@link #setMatchAllOis(long[])} * is null or empty. * * Refer to HomeSP/HomeOIList subtree in PerProviderSubscription (PPS) Management Object * (MO) tree for more detail. */ private long[] mMatchAnyOis = null; /** * @hide * Set a list of HomeOIs such that any OI in the list matches an OI in the Roaming Consortium * advertised by a hotspot operator. The list set by {@link #setMatchAllOis(long[])} * will have precedence over this API, meaning this list will only be used for matching if the * list set by {@link #setMatchAllOis(long[])} is null or empty. * * @param matchAnyOis An array of longs containing the HomeOIs */ public void setMatchAnyOis(long[] matchAnyOis) { public void setMatchAnyOis(@Nullable long[] matchAnyOis) { mMatchAnyOis = matchAnyOis; } /** * @hide * Get a list of HomeOIs such that any OI in the list matches an OI in the Roaming Consortium * advertised by a hotspot operator. * * @return An array of longs containing the HomeOIs */ public long[] getMatchAnyOis() { public @Nullable long[] getMatchAnyOis() { return mMatchAnyOis; } Loading @@ -186,16 +208,25 @@ public final class HomeSp implements Parcelable { * operator merges between the providers. */ private String[] mOtherHomePartners = null; /** * @hide * Set the list of FQDN (Fully Qualified Domain Name) of other Home partner providers. * * @param otherHomePartners Array of Strings containing the FQDNs of other Home partner * providers */ public void setOtherHomePartners(String[] otherHomePartners) { public void setOtherHomePartners(@Nullable String[] otherHomePartners) { mOtherHomePartners = otherHomePartners; } /** * @hide * Get the list of FQDN (Fully Qualified Domain Name) of other Home partner providers set in * the profile. * * @return Array of Strings containing the FQDNs of other Home partner providers set in the * profile */ public String[] getOtherHomePartners() { public @Nullable String[] getOtherHomePartners() { return mOtherHomePartners; } Loading Loading
api/current.txt +6 −0 Original line number Diff line number Diff line Loading @@ -32023,9 +32023,15 @@ package android.net.wifi.hotspot2.pps { method public int describeContents(); method public String getFqdn(); method public String getFriendlyName(); method @Nullable public long[] getMatchAllOis(); method @Nullable public long[] getMatchAnyOis(); method @Nullable public String[] getOtherHomePartners(); method public long[] getRoamingConsortiumOis(); method public void setFqdn(String); method public void setFriendlyName(String); method public void setMatchAllOis(@Nullable long[]); method public void setMatchAnyOis(@Nullable long[]); method public void setOtherHomePartners(@Nullable String[]); method public void setRoamingConsortiumOis(long[]); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.pps.HomeSp> CREATOR;
wifi/api/current.txt +6 −0 Original line number Diff line number Diff line Loading @@ -798,9 +798,15 @@ package android.net.wifi.hotspot2.pps { method public int describeContents(); method public String getFqdn(); method public String getFriendlyName(); method @Nullable public long[] getMatchAllOis(); method @Nullable public long[] getMatchAnyOis(); method @Nullable public String[] getOtherHomePartners(); method public long[] getRoamingConsortiumOis(); method public void setFqdn(String); method public void setFriendlyName(String); method public void setMatchAllOis(@Nullable long[]); method public void setMatchAnyOis(@Nullable long[]); method public void setOtherHomePartners(@Nullable String[]); method public void setRoamingConsortiumOis(long[]); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.pps.HomeSp> CREATOR; Loading
wifi/java/android/net/wifi/hotspot2/pps/HomeSp.java +45 −14 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.net.wifi.hotspot2.pps; import android.annotation.Nullable; import android.os.Parcel; import android.os.Parcelable; import android.text.TextUtils; Loading Loading @@ -139,16 +140,26 @@ public final class HomeSp implements Parcelable { * (MO) tree for more detail. */ private long[] mMatchAllOis = null; /** * @hide * Set a list of HomeOIs such that all OIs in the list must match an OI in the Roaming * Consortium advertised by a hotspot operator. The list set by this API will have precedence * over {@link #setMatchAnyOis(long[])}, meaning the list set in {@link #setMatchAnyOis(long[])} * will only be used for matching if the list set by this API is null or empty. * * @param matchAllOis An array of longs containing the HomeOIs */ public void setMatchAllOis(long[] matchAllOis) { public void setMatchAllOis(@Nullable long[] matchAllOis) { mMatchAllOis = matchAllOis; } /** * @hide * Get the list of HomeOIs such that all OIs in the list must match an OI in the Roaming * Consortium advertised by a hotspot operator. * * @return An array of longs containing the HomeOIs */ public long[] getMatchAllOis() { public @Nullable long[] getMatchAllOis() { return mMatchAllOis; } Loading @@ -159,23 +170,34 @@ public final class HomeSp implements Parcelable { * of that Hotspot provider (e.g. successful authentication with such Hotspot * is possible). * * {@link #mMatchAllOIs} will have precedence over this one, meaning this list will * only be used for matching if {@link #mMatchAllOIs} is null or empty. * The list set by {@link #setMatchAllOis(long[])} will have precedence over this one, meaning * this list will only be used for matching if the list set by {@link #setMatchAllOis(long[])} * is null or empty. * * Refer to HomeSP/HomeOIList subtree in PerProviderSubscription (PPS) Management Object * (MO) tree for more detail. */ private long[] mMatchAnyOis = null; /** * @hide * Set a list of HomeOIs such that any OI in the list matches an OI in the Roaming Consortium * advertised by a hotspot operator. The list set by {@link #setMatchAllOis(long[])} * will have precedence over this API, meaning this list will only be used for matching if the * list set by {@link #setMatchAllOis(long[])} is null or empty. * * @param matchAnyOis An array of longs containing the HomeOIs */ public void setMatchAnyOis(long[] matchAnyOis) { public void setMatchAnyOis(@Nullable long[] matchAnyOis) { mMatchAnyOis = matchAnyOis; } /** * @hide * Get a list of HomeOIs such that any OI in the list matches an OI in the Roaming Consortium * advertised by a hotspot operator. * * @return An array of longs containing the HomeOIs */ public long[] getMatchAnyOis() { public @Nullable long[] getMatchAnyOis() { return mMatchAnyOis; } Loading @@ -186,16 +208,25 @@ public final class HomeSp implements Parcelable { * operator merges between the providers. */ private String[] mOtherHomePartners = null; /** * @hide * Set the list of FQDN (Fully Qualified Domain Name) of other Home partner providers. * * @param otherHomePartners Array of Strings containing the FQDNs of other Home partner * providers */ public void setOtherHomePartners(String[] otherHomePartners) { public void setOtherHomePartners(@Nullable String[] otherHomePartners) { mOtherHomePartners = otherHomePartners; } /** * @hide * Get the list of FQDN (Fully Qualified Domain Name) of other Home partner providers set in * the profile. * * @return Array of Strings containing the FQDNs of other Home partner providers set in the * profile */ public String[] getOtherHomePartners() { public @Nullable String[] getOtherHomePartners() { return mOtherHomePartners; } Loading