Home
last modified time | relevance | path

Searched refs:NetworkPolicyManager (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java42 public class NetworkPolicyManager { class
86 public NetworkPolicyManager(Context context, INetworkPolicyManager service) { in NetworkPolicyManager() method in NetworkPolicyManager
94 public static NetworkPolicyManager from(Context context) { in from()
95 return (NetworkPolicyManager) context.getSystemService(Context.NETWORK_POLICY_SERVICE); in from()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java20 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;
DNetworkPolicyManagerService.java39 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileDataControllerImpl.java31 import android.net.NetworkPolicyManager;
59 private final NetworkPolicyManager mPolicyManager;
71 mPolicyManager = NetworkPolicyManager.from(mContext); in MobileDataControllerImpl()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java22 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 …]
DConnectivityService.java31 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;
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java25 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;
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java19 import static android.net.NetworkPolicyManager.EXTRA_NETWORK_TEMPLATE;
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java71 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()
DDownloadManager.java28 import android.net.NetworkPolicyManager;
/frameworks/base/core/java/android/provider/
DDownloads.java21 import android.net.NetworkPolicyManager;
/frameworks/base/
Dpreloaded-classes1309 android.net.NetworkPolicyManager