Home
last modified time | relevance | path

Searched refs:setPackageAuthorization (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java938 assertTrue(vpn.setPackageAuthorization(TEST_VPN_PKG, VpnManager.TYPE_VPN_SERVICE)); in testSetPackageAuthorizationVpnService()
951 assertTrue(vpn.setPackageAuthorization(TEST_VPN_PKG, VpnManager.TYPE_VPN_PLATFORM)); in testSetPackageAuthorizationPlatformVpn()
964 assertTrue(vpn.setPackageAuthorization(TEST_VPN_PKG, VpnManager.TYPE_VPN_NONE)); in testSetPackageAuthorizationRevokeAuthorization()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java585 if (!setPackageAuthorization(packageName, grantType)) { in setAlwaysOnPackageInternal()
885 public boolean setPackageAuthorization(String packageName, @VpnManager.VpnType int vpnType) { in setPackageAuthorization() method in Vpn
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4543 vpn.setPackageAuthorization(packageName, vpnType); in setVpnPackageAuthorization()