Home
last modified time | relevance | path

Searched refs:matchRule (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkTemplate.java237 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { in NetworkTemplate() argument
238 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); in NetworkTemplate()
241 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
243 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, in NetworkTemplate()
247 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
249 mMatchRule = matchRule; in NetworkTemplate()
258 if (!isKnownMatchRule(matchRule)) { in NetworkTemplate()
259 Log.e(TAG, "Unknown network template rule " + matchRule in NetworkTemplate()
580 private static String getMatchRuleName(int matchRule) { in getMatchRuleName() argument
581 switch (matchRule) { in getMatchRuleName()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java251 final int matchRule = networkTemplate.getMatchRule(); in getNetworkType() local
252 switch (matchRule) { in getNetworkType()