Loading tests/telephonytests/src/com/android/internal/telephony/mocks/ConnectivityServiceMock.java +10 −0 Original line number Original line Diff line number Diff line Loading @@ -988,4 +988,14 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub public NetworkRequest getDefaultRequest() { public NetworkRequest getDefaultRequest() { throw new RuntimeException("not implemented"); throw new RuntimeException("not implemented"); } } @Override public boolean isCallerCurrentAlwaysOnVpnApp() { throw new RuntimeException("not implemented"); } @Override public boolean isCallerCurrentAlwaysOnVpnLockdownApp() { throw new RuntimeException("not implemented"); } } } Loading
tests/telephonytests/src/com/android/internal/telephony/mocks/ConnectivityServiceMock.java +10 −0 Original line number Original line Diff line number Diff line Loading @@ -988,4 +988,14 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub public NetworkRequest getDefaultRequest() { public NetworkRequest getDefaultRequest() { throw new RuntimeException("not implemented"); throw new RuntimeException("not implemented"); } } @Override public boolean isCallerCurrentAlwaysOnVpnApp() { throw new RuntimeException("not implemented"); } @Override public boolean isCallerCurrentAlwaysOnVpnLockdownApp() { throw new RuntimeException("not implemented"); } } }