summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-04-05 15:15:48 +0900
committerLorenzo Colitti <lorenzo@google.com>2019-04-23 06:49:58 +0000
commitba5a420664d3d2ffcf2ed5a20c100e0a8f0434be (patch)
treea6d5f746f2301f2c200dc7b61be130361092edad /tests/src
parent0fffc5ceb7e642166e9a7b9ef8ac3a69cbdc1773 (diff)
Freeze the networkstack-aidl-interfaces interface
This freezes the interface as of the latest beta build, not the tip of tree. IIpClient#setL2KeyAndGroupHint is not in the frozen definition in particular. Generated with: m networkstack-aidl-interfaces-freeze-api \ ipmemorystore-aidl-interfaces-freeze-api Test: flashed, booted, WiFi and captive portal working Bug: 128803828 Change-Id: Ideabe73fc93bbefca2d624ee9ca190cf31419424
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/android/net/dhcp/DhcpServerTest.java5
-rw-r--r--tests/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java25
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/src/android/net/dhcp/DhcpServerTest.java b/tests/src/android/net/dhcp/DhcpServerTest.java
index 7d5e9e3..f0e2f1b 100644
--- a/tests/src/android/net/dhcp/DhcpServerTest.java
+++ b/tests/src/android/net/dhcp/DhcpServerTest.java
@@ -133,6 +133,11 @@ public class DhcpServerTest {
public void onStatusAvailable(int statusCode) {
assertEquals(STATUS_SUCCESS, statusCode);
}
+
+ @Override
+ public int getInterfaceVersion() {
+ return this.VERSION;
+ }
};
@Before
diff --git a/tests/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java b/tests/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java
index a00eff7..87346e5 100644
--- a/tests/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java
+++ b/tests/src/com/android/server/connectivity/ipmemorystore/IpMemoryStoreServiceTest.java
@@ -136,6 +136,11 @@ public class IpMemoryStoreServiceTest {
public IBinder asBinder() {
return null;
}
+
+ @Override
+ public int getInterfaceVersion() {
+ return this.VERSION;
+ }
};
}
@@ -156,6 +161,11 @@ public class IpMemoryStoreServiceTest {
public IBinder asBinder() {
return null;
}
+
+ @Override
+ public int getInterfaceVersion() {
+ return this.VERSION;
+ }
};
}
@@ -178,6 +188,11 @@ public class IpMemoryStoreServiceTest {
public IBinder asBinder() {
return null;
}
+
+ @Override
+ public int getInterfaceVersion() {
+ return this.VERSION;
+ }
};
}
@@ -200,6 +215,11 @@ public class IpMemoryStoreServiceTest {
public IBinder asBinder() {
return null;
}
+
+ @Override
+ public int getInterfaceVersion() {
+ return this.VERSION;
+ }
};
}
@@ -219,6 +239,11 @@ public class IpMemoryStoreServiceTest {
public IBinder asBinder() {
return null;
}
+
+ @Override
+ public int getInterfaceVersion() {
+ return this.VERSION;
+ }
};
}