Add support for MAC and hostname rule items
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
import io.nekohasekai.sfa.bg.ParceledListSlice;
|
||||
|
||||
interface INeighborTableCallback {
|
||||
oneway void onNeighborTableUpdated(in ParceledListSlice entries);
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import io.nekohasekai.sfa.bg.INeighborTableCallback;
|
||||
import io.nekohasekai.sfa.bg.ParceledListSlice;
|
||||
|
||||
interface IRootService {
|
||||
@@ -11,4 +12,8 @@ interface IRootService {
|
||||
void installPackage(in ParcelFileDescriptor apk, long size, int userId) = 2;
|
||||
|
||||
String exportDebugInfo(String outputPath) = 3;
|
||||
|
||||
void registerNeighborTableCallback(in INeighborTableCallback callback) = 4;
|
||||
|
||||
oneway void unregisterNeighborTableCallback(in INeighborTableCallback callback) = 5;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
parcelable NeighborEntry;
|
||||
Reference in New Issue
Block a user