Home | History | Annotate | Download | only in net

Lines Matching refs:LinkProperties

49 public final class LinkProperties implements Parcelable {
67 private Hashtable<String, LinkProperties> mStackedLinks =
68 new Hashtable<String, LinkProperties>();
99 * Compare the provisioning states of two LinkProperties instances.
104 LinkProperties before, LinkProperties after) {
139 public LinkProperties() {
145 public LinkProperties(LinkProperties source) {
154 for (LinkProperties l: source.mStackedLinks.values()) {
193 for (LinkProperties stacked: mStackedLinks.values()) {
202 * {@code LinkProperties} actually contains {@link LinkAddress} objects which also include
204 * {@link LinkProperties#getLinkAddresses}.
226 for (LinkProperties stacked: mStackedLinks.values()) {
242 * Adds a {@link LinkAddress} to this {@code LinkProperties} if a {@link LinkAddress} of the
268 * Removes a {@link LinkAddress} from this {@code LinkProperties}. Specifically, matches
301 for (LinkProperties stacked: mStackedLinks.values()) {
308 * Replaces the {@link LinkAddress} in this {@code LinkProperties} with
352 * Replaces the DNS servers in this {@code LinkProperties} with
451 * Adds a {@link RouteInfo} to this {@code LinkProperties}, if not present. If the
453 * {@code LinkProperties} an {@link IllegalArgumentException} will be thrown. The proper
479 * Removes a {@link RouteInfo} from this {@code LinkProperties}, if present. The route must
481 * {@code LinkProperties}, or it will not be removed.
509 for (LinkProperties stacked: mStackedLinks.values()) {
547 public boolean addStackedLink(LinkProperties link) {
567 LinkProperties removed = mStackedLinks.remove(iface);
577 public @NonNull List<LinkProperties> getStackedLinks() {
581 List<LinkProperties> stacked = new ArrayList<LinkProperties>();
582 for (LinkProperties link : mStackedLinks.values()) {
583 stacked.add(new LinkProperties(link));
640 for (LinkProperties link: mStackedLinks.values()) {
825 * Compares this {@code LinkProperties} interface name against the target
827 * @param target LinkProperties to compare.
831 public boolean isIdenticalInterfaceName(LinkProperties target) {
836 * Compares this {@code LinkProperties} interface addresses against the target
838 * @param target LinkProperties to compare.
842 public boolean isIdenticalAddresses(LinkProperties target) {
850 * Compares this {@code LinkProperties} DNS addresses against the target
852 * @param target LinkProperties to compare.
856 public boolean isIdenticalDnses(LinkProperties target) {
869 * Compares this {@code LinkProperties} Routes against the target
871 * @param target LinkProperties to compare.
875 public boolean isIdenticalRoutes(LinkProperties target) {
882 * Compares this {@code LinkProperties} HttpProxy against the target
884 * @param target LinkProperties to compare.
888 public boolean isIdenticalHttpProxy(LinkProperties target) {
894 * Compares this {@code LinkProperties} stacked links against the target
896 * @param target LinkProperties to compare.
900 public boolean isIdenticalStackedLinks(LinkProperties target) {
904 for (LinkProperties stacked : mStackedLinks.values()) {
915 * Compares this {@code LinkProperties} MTU against the target
917 * @param target LinkProperties to compare.
921 public boolean isIdenticalMtu(LinkProperties target) {
926 * Compares this {@code LinkProperties} Tcp buffer sizes against the target.
928 * @param target LinkProperties to compare.
932 public boolean isIdenticalTcpBufferSizes(LinkProperties target) {
938 * Compares this {@code LinkProperties} instance against the target
939 * LinkProperties in {@code obj}. Two LinkPropertieses are equal if
954 if (!(obj instanceof LinkProperties)) return false;
956 LinkProperties target = (LinkProperties) obj;
973 * Compares the addresses in this LinkProperties with another
974 * LinkProperties, examining only addresses on the base link.
976 * @param target a LinkProperties with the new list of addresses
980 public CompareResult<LinkAddress> compareAddresses(LinkProperties target) {
1002 * Compares the DNS addresses in this LinkProperties with another
1003 * LinkProperties, examining only DNS addresses on the base link.
1005 * @param target a LinkProperties with the new list of dns addresses
1009 public CompareResult<InetAddress> compareDnses(LinkProperties target) {
1032 * Compares all routes in this LinkProperties with another LinkProperties,
1035 * @param target a LinkProperties with the new list of routes
1039 public CompareResult<RouteInfo> compareAllRoutes(LinkProperties target) {
1061 * Compares all interface names in this LinkProperties with another
1062 * LinkProperties, examining both the the base link and all stacked links.
1064 * @param target a LinkProperties with the new list of interface names
1068 public CompareResult<String> compareAllInterfaceNames(LinkProperties target) {
1136 ArrayList<LinkProperties> stackedLinks = new ArrayList(mStackedLinks.values());
1143 public static final Creator<LinkProperties> CREATOR =
1144 new Creator<LinkProperties>() {
1145 public LinkProperties createFromParcel(Parcel in) {
1146 LinkProperties netProp = new LinkProperties();
1172 ArrayList<LinkProperties> stackedLinks = new ArrayList<LinkProperties>();
1173 in.readList(stackedLinks, LinkProperties.class.getClassLoader());
1174 for (LinkProperties stackedLink: stackedLinks) {
1180 public LinkProperties[] newArray(int size) {
1181 return new LinkProperties[size];