Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 710d8ba4 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Update mock with new methods.

Bug: 77468593
Test: builds
Change-Id: Iff2a033934440ffe9f04beaee8e6aae174aac3f1
parent e5b7a22e
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ import com.android.server.connectivity.NetworkAgentInfo;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.List;

/**
 * @hide
@@ -656,7 +657,8 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub
    }

    @Override
    public boolean setAlwaysOnVpnPackage(int userId, String packageName, boolean lockdownEnabled) {
    public boolean setAlwaysOnVpnPackage(int userId, String packageName, boolean lockdownEnabled,
            List<String> lockdownWhitelist) {
        throw new RuntimeException("not implemented");
    }

@@ -665,6 +667,16 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub
        throw new RuntimeException("not implemented");
    }

    @Override
    public boolean isVpnLockdownEnabled(int userId) {
        throw new RuntimeException("not implemented");
    }

    @Override
    public List<String> getVpnLockdownWhitelist(int userId) {
        throw new RuntimeException("not implemented");
    }

    @Override
    public int checkMobileProvisioning(int suggestedTimeOutMs) {
        throw new RuntimeException("not implemented");