remove dead portions of BpfUtils.java

(mostly to improve code coverage)

We can always revert if it ever turns out this is useful,
but I'd prefer for cgroup attach to be a once-at-boot
thing and handled either from bpfloader or the netd updatable
which are both directly C++ code.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I79b5ca8a47388cb6b9189234942e74ab6056aab9
This commit is contained in:
Maciej Żenczykowski
2023-10-25 17:34:26 +00:00
parent 898ed69359
commit de9d367ab2
4 changed files with 11 additions and 128 deletions

View File

@@ -2299,7 +2299,7 @@ public class ConnectivityServiceTest {
}
@Override
public int getBpfProgramId(final int attachType, @NonNull final String cgroupPath) {
public int getBpfProgramId(final int attachType) {
return 0;
}