Searched refs:NetworkPolicyManager (Results 1 – 12 of 12) sorted by relevance
42 public class NetworkPolicyManager { class86 public NetworkPolicyManager(Context context, INetworkPolicyManager service) { in NetworkPolicyManager() method in NetworkPolicyManager94 public static NetworkPolicyManager from(Context context) { in from()95 return (NetworkPolicyManager) context.getSystemService(Context.NETWORK_POLICY_SERVICE); in from()
20 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_NONE;21 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;22 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;37 import android.net.NetworkPolicyManager;
39 import static android.net.NetworkPolicyManager.EXTRA_NETWORK_TEMPLATE;40 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_DOZABLE;41 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_STANDBY;42 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;43 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;44 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DENY;45 import static android.net.NetworkPolicyManager.POLICY_ALLOW_BACKGROUND_BATTERY_SAVE;46 import static android.net.NetworkPolicyManager.POLICY_NONE;47 import static android.net.NetworkPolicyManager.POLICY_REJECT_METERED_BACKGROUND;48 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;[all …]
31 import android.net.NetworkPolicyManager;59 private final NetworkPolicyManager mPolicyManager;71 mPolicyManager = NetworkPolicyManager.from(mContext); in MobileDataControllerImpl()
22 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_DOZABLE;23 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_NAME_DOZABLE;24 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_NAME_NONE;25 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_NAME_STANDBY;26 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_NONE;27 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_STANDBY;28 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;29 import static android.net.NetworkPolicyManager.FIREWALL_TYPE_BLACKLIST;30 import static android.net.NetworkPolicyManager.FIREWALL_TYPE_WHITELIST;56 import android.net.NetworkPolicyManager;[all …]
31 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;32 import static android.net.NetworkPolicyManager.RULE_REJECT_ALL;33 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;
25 import static android.net.NetworkPolicyManager.POLICY_NONE;26 import static android.net.NetworkPolicyManager.POLICY_REJECT_METERED_BACKGROUND;27 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;28 import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;29 import static android.net.NetworkPolicyManager.computeLastCycleBoundary;30 import static android.net.NetworkPolicyManager.computeNextCycleBoundary;
19 import static android.net.NetworkPolicyManager.EXTRA_NETWORK_TEMPLATE;
71 import android.net.NetworkPolicyManager;333 registerService(Context.NETWORK_POLICY_SERVICE, NetworkPolicyManager.class, in registerService()334 new CachedServiceFetcher<NetworkPolicyManager>() { in registerService()336 public NetworkPolicyManager createService(ContextImpl ctx) { in registerService()337 return new NetworkPolicyManager(ctx, INetworkPolicyManager.Stub.asInterface( in registerService()
28 import android.net.NetworkPolicyManager;
21 import android.net.NetworkPolicyManager;
1309 android.net.NetworkPolicyManager