summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/networkstackclient/src/android/net/ipmemorystore/OnBlobRetrievedListener.java5
-rw-r--r--common/networkstackclient/src/android/net/ipmemorystore/OnL2KeyResponseListener.java5
-rw-r--r--common/networkstackclient/src/android/net/ipmemorystore/OnNetworkAttributesRetrievedListener.java5
-rw-r--r--common/networkstackclient/src/android/net/ipmemorystore/OnSameL3NetworkResponseListener.java5
-rw-r--r--common/networkstackclient/src/android/net/ipmemorystore/OnStatusListener.java5
-rw-r--r--src/android/net/dhcp/DhcpServer.java5
-rw-r--r--src/android/net/ip/IpClient.java5
-rw-r--r--src/com/android/server/NetworkObserverRegistry.java5
-rw-r--r--src/com/android/server/NetworkStackService.java10
-rw-r--r--src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreService.java5
-rw-r--r--src/com/android/server/connectivity/ipmemorystore/RegularMaintenanceJobService.java5
-rw-r--r--tests/unit/src/android/net/dhcp/DhcpServerTest.java5
-rw-r--r--tests/unit/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java25
13 files changed, 90 insertions, 0 deletions
diff --git a/common/networkstackclient/src/android/net/ipmemorystore/OnBlobRetrievedListener.java b/common/networkstackclient/src/android/net/ipmemorystore/OnBlobRetrievedListener.java
index a17483a..72b205d 100644
--- a/common/networkstackclient/src/android/net/ipmemorystore/OnBlobRetrievedListener.java
+++ b/common/networkstackclient/src/android/net/ipmemorystore/OnBlobRetrievedListener.java
@@ -45,6 +45,11 @@ public interface OnBlobRetrievedListener {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
}
diff --git a/common/networkstackclient/src/android/net/ipmemorystore/OnL2KeyResponseListener.java b/common/networkstackclient/src/android/net/ipmemorystore/OnL2KeyResponseListener.java
index e608aec..b84d3f9 100644
--- a/common/networkstackclient/src/android/net/ipmemorystore/OnL2KeyResponseListener.java
+++ b/common/networkstackclient/src/android/net/ipmemorystore/OnL2KeyResponseListener.java
@@ -45,6 +45,11 @@ public interface OnL2KeyResponseListener {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
}
diff --git a/common/networkstackclient/src/android/net/ipmemorystore/OnNetworkAttributesRetrievedListener.java b/common/networkstackclient/src/android/net/ipmemorystore/OnNetworkAttributesRetrievedListener.java
index 395ad98..2da7cba 100644
--- a/common/networkstackclient/src/android/net/ipmemorystore/OnNetworkAttributesRetrievedListener.java
+++ b/common/networkstackclient/src/android/net/ipmemorystore/OnNetworkAttributesRetrievedListener.java
@@ -49,6 +49,11 @@ public interface OnNetworkAttributesRetrievedListener {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
}
diff --git a/common/networkstackclient/src/android/net/ipmemorystore/OnSameL3NetworkResponseListener.java b/common/networkstackclient/src/android/net/ipmemorystore/OnSameL3NetworkResponseListener.java
index 67f8da8..6f76c45 100644
--- a/common/networkstackclient/src/android/net/ipmemorystore/OnSameL3NetworkResponseListener.java
+++ b/common/networkstackclient/src/android/net/ipmemorystore/OnSameL3NetworkResponseListener.java
@@ -48,6 +48,11 @@ public interface OnSameL3NetworkResponseListener {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
}
diff --git a/common/networkstackclient/src/android/net/ipmemorystore/OnStatusListener.java b/common/networkstackclient/src/android/net/ipmemorystore/OnStatusListener.java
index 4262efd..e5933d9 100644
--- a/common/networkstackclient/src/android/net/ipmemorystore/OnStatusListener.java
+++ b/common/networkstackclient/src/android/net/ipmemorystore/OnStatusListener.java
@@ -44,6 +44,11 @@ public interface OnStatusListener {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
}
diff --git a/src/android/net/dhcp/DhcpServer.java b/src/android/net/dhcp/DhcpServer.java
index 4fc213a..6aadc04 100644
--- a/src/android/net/dhcp/DhcpServer.java
+++ b/src/android/net/dhcp/DhcpServer.java
@@ -677,4 +677,9 @@ public class DhcpServer extends IDhcpServer.Stub {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
}
diff --git a/src/android/net/ip/IpClient.java b/src/android/net/ip/IpClient.java
index 2fb73a0..dcd1827 100644
--- a/src/android/net/ip/IpClient.java
+++ b/src/android/net/ip/IpClient.java
@@ -683,6 +683,11 @@ public class IpClient extends StateMachine {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
}
public String getInterfaceName() {
diff --git a/src/com/android/server/NetworkObserverRegistry.java b/src/com/android/server/NetworkObserverRegistry.java
index dcb42c0..38a0008 100644
--- a/src/com/android/server/NetworkObserverRegistry.java
+++ b/src/com/android/server/NetworkObserverRegistry.java
@@ -181,4 +181,9 @@ public class NetworkObserverRegistry extends INetdUnsolicitedEventListener.Stub
public int getInterfaceVersion() {
return INetdUnsolicitedEventListener.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return INetdUnsolicitedEventListener.HASH;
+ }
}
diff --git a/src/com/android/server/NetworkStackService.java b/src/com/android/server/NetworkStackService.java
index 0114e45..1f6631b 100644
--- a/src/com/android/server/NetworkStackService.java
+++ b/src/com/android/server/NetworkStackService.java
@@ -331,6 +331,11 @@ public class NetworkStackService extends Service {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
}
/**
@@ -419,5 +424,10 @@ public class NetworkStackService extends Service {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
}
}
diff --git a/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreService.java b/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreService.java
index 8d57d61..cd29e0d 100644
--- a/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreService.java
+++ b/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreService.java
@@ -501,4 +501,9 @@ public class IpMemoryStoreService extends IIpMemoryStore.Stub {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
}
diff --git a/src/com/android/server/connectivity/ipmemorystore/RegularMaintenanceJobService.java b/src/com/android/server/connectivity/ipmemorystore/RegularMaintenanceJobService.java
index bea7052..70688ad 100644
--- a/src/com/android/server/connectivity/ipmemorystore/RegularMaintenanceJobService.java
+++ b/src/com/android/server/connectivity/ipmemorystore/RegularMaintenanceJobService.java
@@ -96,6 +96,11 @@ public final class RegularMaintenanceJobService extends JobService {
}
@Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
+
+ @Override
public IBinder asBinder() {
return null;
}
diff --git a/tests/unit/src/android/net/dhcp/DhcpServerTest.java b/tests/unit/src/android/net/dhcp/DhcpServerTest.java
index 5074f82..aae9bc0 100644
--- a/tests/unit/src/android/net/dhcp/DhcpServerTest.java
+++ b/tests/unit/src/android/net/dhcp/DhcpServerTest.java
@@ -142,6 +142,11 @@ public class DhcpServerTest {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
@Before
diff --git a/tests/unit/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java b/tests/unit/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java
index 9ff3475..ac05783 100644
--- a/tests/unit/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java
+++ b/tests/unit/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java
@@ -190,6 +190,11 @@ public class IpMemoryStoreServiceTest {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
@@ -215,6 +220,11 @@ public class IpMemoryStoreServiceTest {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
@@ -242,6 +252,11 @@ public class IpMemoryStoreServiceTest {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
@@ -269,6 +284,11 @@ public class IpMemoryStoreServiceTest {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}
@@ -293,6 +313,11 @@ public class IpMemoryStoreServiceTest {
public int getInterfaceVersion() {
return this.VERSION;
}
+
+ @Override
+ public String getInterfaceHash() {
+ return this.HASH;
+ }
};
}