Searched refs:prepareVpn (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 108 if (mVm.prepareVpn(mPackage, null, UserHandle.myUserId())) { in onCreate() 177 if (mVm.prepareVpn(null, mPackage, UserHandle.myUserId())) { in onClick()
|
D | ManageDialog.java | 120 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/ |
D | VpnService.java | 208 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()
|
D | IVpnManager.aidl | 32 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() method
|
D | VpnManager.java | 485 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/ |
D | Android.bp | 22 // (e.g. VpnManager#prepareVpn()).
|
/frameworks/base/packages/VpnDialogs/tests/src/com/android/vpndialogs/ |
D | VpnDialogTest.java | 150 doReturn(false).when(sVm).prepareVpn(anyString(), anyString(), anyInt()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VpnManagerService.java | 219 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()
|