Home
last modified time | relevance | path

Searched refs:AddressInfo (Results 1 – 8 of 8) sorted by relevance

/aosp12/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
H A DTetheredClient.java40 private final List<AddressInfo> mAddresses;
74 public List<AddressInfo> getAddresses() { in getAddresses()
118 public static final class AddressInfo implements Parcelable { class in TetheredClient
130 private AddressInfo(Parcel in) { in AddressInfo() method in TetheredClient.AddressInfo
178 if (!(obj instanceof AddressInfo)) return false; in equals()
179 final AddressInfo other = (AddressInfo) obj; in equals()
187 public static final Creator<AddressInfo> CREATOR = new Creator<AddressInfo>() {
190 public AddressInfo createFromParcel(@NonNull Parcel in) {
191 return new AddressInfo(in);
196 public AddressInfo[] newArray(int size) {
[all …]
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DConnectedClientsTracker.java23 import android.net.TetheredClient.AddressInfo;
147 private static boolean hasExpiredAddress(List<AddressInfo> addresses, long now) { in hasExpiredAddress()
148 for (AddressInfo info : addresses) { in hasExpiredAddress()
158 final List<AddressInfo> addresses = client.getAddresses(); in pruneExpired()
162 final ArrayList<AddressInfo> newAddrs = new ArrayList<>(addresses.size() - 1); in pruneExpired()
163 for (AddressInfo info : addresses) { in pruneExpired()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/
H A DTetheredClientTest.kt20 import android.net.TetheredClient.AddressInfo
38 private val TEST_ADDRINFO1 = AddressInfo(TEST_ADDR1, TEST_HOSTNAME)
39 private val TEST_ADDRINFO2 = AddressInfo(TEST_ADDR2, null)
71 listOf(AddressInfo(TEST_ADDR1, TEST_OTHER_HOSTNAME), TEST_ADDRINFO2),
77 listOf(AddressInfo(TEST_ADDR1, null), TEST_ADDRINFO2),
/aosp12/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
H A Dsystem-current.txt5 …ndroid.net.MacAddress, @NonNull java.util.Collection<android.net.TetheredClient.AddressInfo>, int);
7 method @NonNull public java.util.List<android.net.TetheredClient.AddressInfo> getAddresses();
14 public static final class TetheredClient.AddressInfo implements android.os.Parcelable {
19 … public static final android.os.Parcelable.Creator<android.net.TetheredClient.AddressInfo> CREATOR;
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DConnectedClientsTrackerTest.kt22 import android.net.TetheredClient.AddressInfo
67 AddressInfo(LinkAddress(it.address, it.prefixLength, it.flags, it.scope,
H A DTetheringTest.java138 import android.net.TetheredClient.AddressInfo;
2532 final AddressInfo addressInfo = new TetheredClient.AddressInfo(address, lease.hostname); in toTetheredClients()
/aosp12/packages/modules/Connectivity/Tethering/src/android/net/ip/
H A DIpServer.java489 final TetheredClient.AddressInfo addressInfo = new TetheredClient.AddressInfo( in onLeasesChanged()
/aosp12/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
H A DEthernetTetheringTest.java565 TetheredClient.AddressInfo info = client.getAddresses().get(0); in checkTetheredClientCallbacks()