Searched refs:setPackageAuthorization (Results 1 – 3 of 3) sorted by relevance
938 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()
585 if (!setPackageAuthorization(packageName, grantType)) { in setAlwaysOnPackageInternal()885 public boolean setPackageAuthorization(String packageName, @VpnManager.VpnType int vpnType) { in setPackageAuthorization() method in Vpn
4543 vpn.setPackageAuthorization(packageName, vpnType); in setVpnPackageAuthorization()