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

Commit eec2c9d7 authored by Pavel Grafov's avatar Pavel Grafov Committed by Gerrit Code Review
Browse files

Merge "Update mock with new methods."

parents 3ec2498c 710d8ba4
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");