Merge "Add implementation of getInterfaceHash()"
This commit is contained in:
@@ -28,4 +28,9 @@ public abstract class DhcpServerCallbacks extends IDhcpServerCallbacks.Stub {
|
||||
public int getInterfaceVersion() {
|
||||
return IDhcpServerCallbacks.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return IDhcpServerCallbacks.HASH;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -301,6 +301,11 @@ public class IpServer extends StateMachine {
|
||||
public int getInterfaceVersion() {
|
||||
return this.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return this.HASH;
|
||||
}
|
||||
}
|
||||
|
||||
private class DhcpServerCallbacksImpl extends DhcpServerCallbacks {
|
||||
|
||||
@@ -67,4 +67,9 @@ public class BaseNetdUnsolicitedEventListener extends INetdUnsolicitedEventListe
|
||||
public int getInterfaceVersion() {
|
||||
return INetdUnsolicitedEventListener.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return INetdUnsolicitedEventListener.HASH;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2955,6 +2955,11 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
public int getInterfaceVersion() {
|
||||
return this.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return this.HASH;
|
||||
}
|
||||
}
|
||||
|
||||
private boolean networkRequiresPrivateDnsValidation(NetworkAgentInfo nai) {
|
||||
|
||||
@@ -734,6 +734,11 @@ public class NetworkManagementService extends INetworkManagementService.Stub {
|
||||
public int getInterfaceVersion() {
|
||||
return INetdUnsolicitedEventListener.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return INetdUnsolicitedEventListener.HASH;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -310,6 +310,11 @@ public class NetdEventListenerService extends INetdEventListener.Stub {
|
||||
return this.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return this.HASH;
|
||||
}
|
||||
|
||||
private void addWakeupEvent(WakeupEvent event) {
|
||||
String iface = event.iface;
|
||||
mWakeupEvents.append(event);
|
||||
|
||||
@@ -52,6 +52,11 @@ public class IpMemoryStore extends IpMemoryStoreClient {
|
||||
public int getInterfaceVersion() {
|
||||
return this.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return this.HASH;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -189,6 +189,11 @@ public class IpClientUtil {
|
||||
public int getInterfaceVersion() {
|
||||
return this.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return this.HASH;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user