Searched refs:setPackageAuthorization (Results 1 – 4 of 4) 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
4551 vpn.setPackageAuthorization(packageName, vpnType); in setVpnPackageAuthorization()
12976 HPLcom/android/server/connectivity/Vpn;->setPackageAuthorization(Ljava/lang/String;I)Z