Home
last modified time | relevance | path

Searched refs:prepareVpn (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java108 if (mVm.prepareVpn(mPackage, null, UserHandle.myUserId())) { in onCreate()
177 if (mVm.prepareVpn(null, mPackage, UserHandle.myUserId())) { in onClick()
DManageDialog.java120 mVm.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, myUserId); in onClick()
122 mVm.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN, myUserId); in onClick()
/frameworks/base/core/java/android/net/
DVpnService.java208 if (getService().prepareVpn(context.getPackageName(), null, context.getUserId())) { in prepare()
236 if (!vm.prepareVpn(packageName, null, userId)) { in prepareAndAuthorize()
237 vm.prepareVpn(null, packageName, userId); in prepareAndAuthorize()
DIVpnManager.aidl32 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() method
DVpnManager.java485 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() method in VpnManager
488 return mService.prepareVpn(oldPackage, newPackage, userId); in prepareVpn()
/frameworks/base/packages/VpnDialogs/tests/
DAndroid.bp22 // (e.g. VpnManager#prepareVpn()).
/frameworks/base/packages/VpnDialogs/tests/src/com/android/vpndialogs/
DVpnDialogTest.java150 doReturn(false).when(sVm).prepareVpn(anyString(), anyString(), anyInt()); in setUp()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java219 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() method in VpnManagerService
997 prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, userId); in factoryReset()
1004 prepareVpn(null, VpnConfig.LEGACY_VPN, userId); in factoryReset()