Home
last modified time | relevance | path

Searched refs:mMatcher (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
DBmsgTokenizer.java29 private final Matcher mMatcher; field in BmsgTokenizer
69 mMatcher = Pattern.compile("(([^:]*):(.*))?\r\n").matcher(str); in BmsgTokenizer()
70 mPos = mMatcher.regionStart(); in BmsgTokenizer()
77 mMatcher.region(mPos, mMatcher.regionEnd()); in next()
79 if (!mMatcher.lookingAt()) { in next()
87 mPos = mMatcher.end(); in next()
89 if (mMatcher.group(1) != null) { in next()
94 return new Property(mMatcher.group(2), mMatcher.group(3)); in next()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DBmsgTokenizer.java29 private final Matcher mMatcher; field in BmsgTokenizer
69 mMatcher = Pattern.compile("(([^:]*):(.*))?\r\n").matcher(str); in BmsgTokenizer()
70 mPos = mMatcher.regionStart(); in BmsgTokenizer()
77 mMatcher.region(mPos, mMatcher.regionEnd()); in next()
79 if (!mMatcher.lookingAt()) { in next()
87 mPos = mMatcher.end(); in next()
89 if (mMatcher.group(1) != null) { in next()
94 return new Property(mMatcher.group(2), mMatcher.group(3)); in next()
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java68 private UriMatcher mMatcher; field in SearchIndexablesProvider
81 mMatcher = new UriMatcher(UriMatcher.NO_MATCH); in attachInfo()
82 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_XML_RES_PATH, in attachInfo()
84 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_RAW_PATH, in attachInfo()
86 mMatcher.addURI(mAuthority, SearchIndexablesContract.NON_INDEXABLES_KEYS_PATH, in attachInfo()
106 switch (mMatcher.match(uri)) { in query()
153 switch (mMatcher.match(uri)) { in getType()
DDocumentsProvider.java140 private UriMatcher mMatcher; field in DocumentsProvider
149 mMatcher = new UriMatcher(UriMatcher.NO_MATCH); in attachInfo()
150 mMatcher.addURI(mAuthority, "root", MATCH_ROOTS); in attachInfo()
151 mMatcher.addURI(mAuthority, "root/*", MATCH_ROOT); in attachInfo()
152 mMatcher.addURI(mAuthority, "root/*/recent", MATCH_RECENT); in attachInfo()
153 mMatcher.addURI(mAuthority, "root/*/search", MATCH_SEARCH); in attachInfo()
154 mMatcher.addURI(mAuthority, "document/*", MATCH_DOCUMENT); in attachInfo()
155 mMatcher.addURI(mAuthority, "document/*/children", MATCH_CHILDREN); in attachInfo()
156 mMatcher.addURI(mAuthority, "tree/*/document/*", MATCH_DOCUMENT_TREE); in attachInfo()
157 mMatcher.addURI(mAuthority, "tree/*/document/*/children", MATCH_CHILDREN_TREE); in attachInfo()
[all …]