Searched refs:provisionVpnProfile (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | VpnManagerTest.java | 71 when(mMockCs.provisionVpnProfile(any(VpnProfile.class), eq(PKG_NAME))).thenReturn(true); in testProvisionVpnProfilePreconsented() 74 assertNull(mVpnManager.provisionVpnProfile(profile)); in testProvisionVpnProfilePreconsented() 75 verify(mMockCs).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfilePreconsented() 81 when(mMockCs.provisionVpnProfile(any(VpnProfile.class), eq(PKG_NAME))).thenReturn(false); in testProvisionVpnProfileNeedsConsent() 84 final Intent intent = mVpnManager.provisionVpnProfile(profile); in testProvisionVpnProfileNeedsConsent() 91 verify(mMockCs).provisionVpnProfile(eq(profile.toVpnProfile()), eq(PKG_NAME)); in testProvisionVpnProfileNeedsConsent()
|
/frameworks/base/core/java/android/net/ |
D | VpnManager.java | 106 public Intent provisionVpnProfile(@NonNull PlatformVpnProfile profile) { in provisionVpnProfile() method in VpnManager 120 if (mService.provisionVpnProfile(internalProfile, mContext.getOpPackageName())) { in provisionVpnProfile()
|
D | IConnectivityManager.aidl | 127 boolean provisionVpnProfile(in VpnProfile profile, String packageName); in provisionVpnProfile() method
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 720 assertEquals(expectedResult, vpn.provisionVpnProfile(TEST_VPN_PKG, mVpnProfile, mKeyStore)); in checkProvisionVpnProfile() 782 vpn.provisionVpnProfile(TEST_VPN_PKG, bigProfile, mKeyStore); in testProvisionVpnProfileTooLarge() 795 vpn.provisionVpnProfile(TEST_VPN_PKG, mVpnProfile, mKeyStore); in testProvisionVpnProfileRestrictedUser()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 2896 public synchronized boolean provisionVpnProfile(
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 4577 public boolean provisionVpnProfile(@NonNull VpnProfile profile, @NonNull String packageName) { in provisionVpnProfile() method in ConnectivityService 4580 return mVpns.get(user).provisionVpnProfile(packageName, profile, mKeyStore); in provisionVpnProfile()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 29429 …method @Nullable public android.content.Intent provisionVpnProfile(@NonNull android.net.PlatformVp…
|
/frameworks/base/api/ |
D | current.txt | 29559 …method @Nullable public android.content.Intent provisionVpnProfile(@NonNull android.net.PlatformVp…
|