Home
last modified time | relevance | path

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

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowUriMatcher.java16 public static class MatchNode { class in ShadowUriMatcher
18 public HashMap<String, MatchNode> map = new HashMap<String, ShadowUriMatcher.MatchNode>();
19 public MatchNode number;
20 public MatchNode text;
22 public MatchNode(int code) { in MatchNode() method in ShadowUriMatcher.MatchNode
27 public MatchNode rootNode;
30 rootNode = new MatchNode(code); in __constructor__()
35 MatchNode authNode = rootNode.map.get(authority); in addURI()
37 authNode = new MatchNode(rootNode.code); in addURI()
57 private int matchSegments(MatchNode node, List<String> segments) { in matchSegments()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DUriMatcherTest.java7 import com.xtremelabs.robolectric.shadows.ShadowUriMatcher.MatchNode;
23 MatchNode root;
40 MatchNode node = root; in canAddBasicMatch()
59 MatchNode node = root.map.get(AUTH); in canAddWildcardMatches()