Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkTemplate.java196 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { in NetworkTemplate() argument
197 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); in NetworkTemplate()
200 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
202 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, in NetworkTemplate()
206 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
208 mMatchRule = matchRule; in NetworkTemplate()
216 if (!isKnownMatchRule(matchRule)) { in NetworkTemplate()
217 Log.e(TAG, "Unknown network template rule " + matchRule in NetworkTemplate()
454 private static String getMatchRuleName(int matchRule) { in getMatchRuleName() argument
455 switch (matchRule) { in getMatchRuleName()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java250 final int matchRule = networkTemplate.getMatchRule(); in getNetworkType() local
251 switch (matchRule) { in getNetworkType()