Searched refs:NETWORK_POLICY_SERVICE (Results 1 – 17 of 17) sorted by relevance
56 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)) in setUp()
62 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)) in setUp()
76 when(mContext.getSystemService(Context.NETWORK_POLICY_SERVICE)) in setUp()
49 @SystemService(Context.NETWORK_POLICY_SERVICE)129 return (NetworkPolicyManager) context.getSystemService(Context.NETWORK_POLICY_SERVICE); in from()
4443 .getService(Context.NETWORK_POLICY_SERVICE)); in getNetworkPolicyManager()
76 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in snoozePolicy()
133 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in checkNetworkStatus()
143 mockService(Context.NETWORK_POLICY_SERVICE, NetworkPolicyManager.class, mNPM); in setUp()
111 .getSystemService(Context.NETWORK_POLICY_SERVICE); in DcController()
864 (NetworkPolicyManager) getSystemService(NETWORK_POLICY_SERVICE); in getNetworkPolicies()906 (NetworkPolicyManager) getSystemService(NETWORK_POLICY_SERVICE); in restoreNetworkPolicies()
125 .thenReturn(Context.NETWORK_POLICY_SERVICE); in setUp()
487 registerService(Context.NETWORK_POLICY_SERVICE, NetworkPolicyManager.class, in registerService() argument492 ServiceManager.getServiceOrThrow(Context.NETWORK_POLICY_SERVICE))); in registerService() argument
3786 public static final String NETWORK_POLICY_SERVICE = "netpolicy"; field in Context
982 .asInterface(ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in getNetworkPolicy()
1318 ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy); in startOtherServices()
1894 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in onBootPhase()
14022 Landroid/content/Context;->NETWORK_POLICY_SERVICE:Ljava/lang/String;