Home | History | Annotate | Download | only in provider

Lines Matching refs:Searches

31 import android.provider.BrowserContract.Searches;
120 * A table containing a log of browser searches. The columns of the table are defined in
125 public static final Uri SEARCHES_URI = Uri.parse("content://browser/searches");
529 * Add a search string to the searches database.
533 * @param search The string to add to the searches database.
536 // The content provider will take care of updating existing searches instead of duplicating
538 values.put(Searches.SEARCH, search);
539 values.put(Searches.DATE, System.currentTimeMillis());
540 cr.insert(Searches.CONTENT_URI, values);
544 * Remove all searches from the search database.
549 // FIXME: Should this clear the urls to which these searches lead?
552 cr.delete(Searches.CONTENT_URI, null, null);