Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkTemplate.java234 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { in NetworkTemplate() argument
235 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); in NetworkTemplate()
238 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
240 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, in NetworkTemplate()
244 public NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, in NetworkTemplate() argument
246 mMatchRule = matchRule; in NetworkTemplate()
255 if (!isKnownMatchRule(matchRule)) { in NetworkTemplate()
256 Log.e(TAG, "Unknown network template rule " + matchRule in NetworkTemplate()
551 private static String getMatchRuleName(int matchRule) { in getMatchRuleName() argument
552 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()