Searched refs:networkPolicyManager (Results 1 – 2 of 2) sorted by relevance
781 NetworkPolicyManager networkPolicyManager = NetworkPolicyManager.from(getContext()); in updateSpecialAccessPermissionAsSystem() local786 networkPolicyManager.addUidPolicy( in updateSpecialAccessPermissionAsSystem()790 networkPolicyManager.removeUidPolicy( in updateSpecialAccessPermissionAsSystem()
1262 NetworkPolicyManager networkPolicyManager = in getNetworkPolicies() local1264 NetworkPolicy[] policies = networkPolicyManager.getNetworkPolicies(); in getNetworkPolicies()1304 NetworkPolicyManager networkPolicyManager = in restoreNetworkPolicies() local1326 networkPolicyManager.setNetworkPolicies(policies); in restoreNetworkPolicies()