Lines Matching defs:template
164 * that should be considered to match this template.
274 * Test if given {@link NetworkIdentity} matches this template.
297 throw new IllegalArgumentException("unknown network template");
353 * Check if matches Wi-Fi network template.
366 * Check if matches Ethernet network template.
394 * Check if matches Bluetooth network template.
404 * Check if matches Proxy network template.
438 "Unable to enforce 3G_LOWER template on combined data.");
443 * Examine the given template and normalize if it refers to a "merged"
445 * for key purposes, and expand the template to match all other merged
448 * For example, given an incoming template matching B, and the currently
449 * active merge set [A,B], we'd return a new template that primarily matches
452 public static NetworkTemplate normalize(NetworkTemplate template, String[] merged) {
453 if (template.isMatchRuleMobile() && ArrayUtils.contains(merged, template.mSubscriberId)) {
454 // Requested template subscriber is part of the merge group; return
455 // a template that matches all merged subscribers.
456 return new NetworkTemplate(template.mMatchRule, merged[0], merged,
457 template.mNetworkId);
459 return template;