Add implementation of getInterfaceHash()

Bug: 136065010
Test: m
Change-Id: I314f19aeca82cc8653eab71c9526ea7a208e6b50
This commit is contained in:
Paul Trautrim
2020-01-23 14:55:57 +09:00
parent 162e0a5d17
commit 60f090a8ff
3 changed files with 15 additions and 0 deletions

View File

@@ -28,4 +28,9 @@ public abstract class DhcpServerCallbacks extends IDhcpServerCallbacks.Stub {
public int getInterfaceVersion() { public int getInterfaceVersion() {
return IDhcpServerCallbacks.VERSION; return IDhcpServerCallbacks.VERSION;
} }
@Override
public String getInterfaceHash() {
return IDhcpServerCallbacks.HASH;
}
} }

View File

@@ -301,6 +301,11 @@ public class IpServer extends StateMachine {
public int getInterfaceVersion() { public int getInterfaceVersion() {
return this.VERSION; return this.VERSION;
} }
@Override
public String getInterfaceHash() {
return this.HASH;
}
} }
private class DhcpServerCallbacksImpl extends DhcpServerCallbacks { private class DhcpServerCallbacksImpl extends DhcpServerCallbacks {

View File

@@ -67,4 +67,9 @@ public class BaseNetdUnsolicitedEventListener extends INetdUnsolicitedEventListe
public int getInterfaceVersion() { public int getInterfaceVersion() {
return INetdUnsolicitedEventListener.VERSION; return INetdUnsolicitedEventListener.VERSION;
} }
@Override
public String getInterfaceHash() {
return INetdUnsolicitedEventListener.HASH;
}
} }