Home | History | Annotate | Download | only in media

Lines Matching refs:ContentValues

19 import android.content.ContentValues;
35 private final HashMap<Uri, List<ContentValues>> mRowMap =
36 new HashMap<Uri, List<ContentValues>>();
37 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap =
38 new HashMap<Uri, List<ContentValues>>();
50 public void insert(Uri tableUri, ContentValues values) throws RemoteException {
54 public void insertwithPriority(Uri tableUri, ContentValues values) throws RemoteException {
58 private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException {
59 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap;
60 List<ContentValues> list = rowmap.get(tableUri);
62 list = new ArrayList<ContentValues>();
65 list.add(new ContentValues(values));
75 List<ContentValues> list = mRowMap.get(tableUri);
83 List<ContentValues> list = mPriorityRowMap.get(tableUri);
89 private void flush(Uri tableUri, List<ContentValues> list) throws RemoteException {
91 ContentValues[] valuesArray = new ContentValues[list.size()];