Searched refs:NETWORK_POLICY_SERVICE (Results 1 – 18 of 18) 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()
76 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in snoozePolicy()
57 @SystemService(Context.NETWORK_POLICY_SERVICE)202 return (NetworkPolicyManager) context.getSystemService(Context.NETWORK_POLICY_SERVICE); in from()
4711 .getService(Context.NETWORK_POLICY_SERVICE)); in getNetworkPolicyManager()
133 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in checkNetworkStatus()
144 mockService(Context.NETWORK_POLICY_SERVICE, NetworkPolicyManager.class, mNPM); in setUp()
883 (NetworkPolicyManager) getSystemService(NETWORK_POLICY_SERVICE); in getNetworkPolicies()925 (NetworkPolicyManager) getSystemService(NETWORK_POLICY_SERVICE); in restoreNetworkPolicies()
976 .getSystemService(Context.NETWORK_POLICY_SERVICE); in getNetworkPolicyManager()992 .asInterface(ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in getINetworkPolicyManager()
125 .thenReturn(Context.NETWORK_POLICY_SERVICE); in setUp()
525 registerService(Context.NETWORK_POLICY_SERVICE, NetworkPolicyManager.class, in registerService() argument530 ServiceManager.getServiceOrThrow(Context.NETWORK_POLICY_SERVICE))); in registerService() argument
3947 public static final String NETWORK_POLICY_SERVICE = "netpolicy"; field in Context
1369 ServiceManager.addService(Context.NETWORK_POLICY_SERVICE, networkPolicy); in startOtherServices()
513 .getSystemService(Context.NETWORK_POLICY_SERVICE); in setUp()
2068 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in onBootPhase()
711 .getSystemService(Context.NETWORK_POLICY_SERVICE); in DcTracker()
13145 Landroid/content/Context;->NETWORK_POLICY_SERVICE:Ljava/lang/String;