HomeSort by relevance Sort by last modified time
    Searched refs:mUriMatcher (Results 1 - 9 of 9) sorted by null

  /cts/tests/tests/content/src/android/content/cts/
UriMatcherTest.java 24 UriMatcher mUriMatcher;
45 mUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
53 mUriMatcher.addURI(sAuthority, sPath1, sCode1);
54 mUriMatcher.addURI(sAuthority, sPath2, sCode2);
55 mUriMatcher.addURI(sAuthority, sPath3, sCode3);
56 mUriMatcher.addURI(sAuthority, sPath4, sCode4);
58 assertEquals(sCode1, mUriMatcher.match(uri1));
59 assertEquals(sCode2, mUriMatcher.match(uri2));
60 assertEquals(sCode3, mUriMatcher.match(uri3));
61 assertEquals(sCode4, mUriMatcher.match(uri4))
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
TypedUriMatcherImpl.java 30 private final UriMatcher mUriMatcher;
35 mUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
49 mUriMatcher.addURI(mAuthority, path, value.ordinal());
54 int match = mUriMatcher.match(uri);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
ChromeBrowserProvider.java 157 private UriMatcher mUriMatcher;
169 if (mUriMatcher != null) return;
171 mUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
174 mUriMatcher.addURI(authority, BOOKMARKS_PATH, URI_MATCH_BOOKMARKS);
175 mUriMatcher.addURI(authority, BOOKMARKS_PATH + "/#", URI_MATCH_BOOKMARKS_ID);
178 mUriMatcher.addURI(apiAuthority, BOOKMARKS_PATH, URL_MATCH_API_BOOKMARK);
179 mUriMatcher.addURI(apiAuthority, BOOKMARKS_PATH + "/#", URL_MATCH_API_BOOKMARK_ID);
180 mUriMatcher.addURI(apiAuthority, SEARCHES_PATH, URL_MATCH_API_SEARCHES);
181 mUriMatcher.addURI(apiAuthority, SEARCHES_PATH + "/#", URL_MATCH_API_SEARCHES_ID);
182 mUriMatcher.addURI(apiAuthority, HISTORY_PATH, URL_MATCH_API_HISTORY_CONTENT)
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSuggestionProvider.java 46 private UriMatcher mUriMatcher;
53 mUriMatcher = buildUriMatcher(getContext());
75 int match = mUriMatcher.match(uri);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalSource.java 40 private final UriMatcher mUriMatcher = new UriMatcher(NO_MATCH);
70 mUriMatcher.addURI(MediaStore.AUTHORITY,
72 mUriMatcher.addURI(MediaStore.AUTHORITY,
74 mUriMatcher.addURI(MediaStore.AUTHORITY,
76 mUriMatcher.addURI(MediaStore.AUTHORITY,
78 mUriMatcher.addURI(MediaStore.AUTHORITY,
156 switch (mUriMatcher.match(uri)) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderThrottle.java 171 private final UriMatcher mUriMatcher;
186 mUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
187 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN);
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID);
218 switch (mUriMatcher.match(uri)) {
255 switch (mUriMatcher.match(uri)) {
270 if (mUriMatcher.match(uri) != MAIN) {
311 switch (mUriMatcher.match(uri)) {
346 switch (mUriMatcher.match(uri)) {
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderThrottleSupport.java 172 private final UriMatcher mUriMatcher;
187 mUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN);
189 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID);
219 switch (mUriMatcher.match(uri)) {
256 switch (mUriMatcher.match(uri)) {
271 if (mUriMatcher.match(uri) != MAIN) {
312 switch (mUriMatcher.match(uri)) {
347 switch (mUriMatcher.match(uri)) {
  /frameworks/base/core/java/android/content/
SearchRecentSuggestionsProvider.java 115 private UriMatcher mUriMatcher;
187 mUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
188 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST);
250 if (mUriMatcher.match(uri) == URI_MATCH_SUGGEST) {
324 if (mUriMatcher.match(uri) == URI_MATCH_SUGGEST) {
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
SearchRecentSuggestionsProvider.java 72 private UriMatcher mUriMatcher;
132 mUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
133 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST);
178 if (mUriMatcher.match(uri) == URI_MATCH_SUGGEST) {

Completed in 3023 milliseconds