Home | History | Annotate | Download | only in provider

Lines Matching refs:Searches

49 import android.provider.BrowserContract.Searches;
99 static final String TABLE_SEARCHES = "searches";
162 static final int SEARCHES = 3000;
220 matcher.addURI(authority, "searches", SEARCHES);
221 matcher.addURI(authority, "searches/#", SEARCHES_ID);
233 matcher.addURI(LEGACY_AUTHORITY, "searches", SEARCHES);
234 matcher.addURI(LEGACY_AUTHORITY, "searches/#", SEARCHES_ID);
360 // Searches
362 map.put(Searches._ID, Searches._ID);
363 map.put(Searches.SEARCH, Searches.SEARCH);
364 map.put(Searches.DATE, Searches.DATE);
449 Searches._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," +
450 Searches.SEARCH + " TEXT," +
451 Searches.DATE + " LONG" +
843 case SEARCHES:
844 return Searches.CONTENT_TYPE;
846 return Searches.CONTENT_ITEM_TYPE;
1053 case SEARCHES: {
1320 case SEARCHES: {
1513 case SEARCHES: {
1618 * Searches are unique, so perform an UPSERT manually since SQLite doesn't support them.
1621 String search = values.getAsString(Searches.SEARCH);
1627 cursor = db.query(TABLE_SEARCHES, new String[] { Searches._ID },
1628 Searches.SEARCH + "=?", new String[] { search }, null, null, null);
1631 db.update(TABLE_SEARCHES, values, Searches._ID + "=?",
1635 return db.insertOrThrow(TABLE_SEARCHES, Searches.SEARCH, values);
1778 case SEARCHES: {
2126 || uri.getPathSegments().contains("searches")) {