Searched refs:InsertHelper (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java19 import static android.database.DatabaseUtils.InsertHelper.TABLE_INFO_PRAGMA_COLUMNNAME_INDEX;
20 import static android.database.DatabaseUtils.InsertHelper.TABLE_INFO_PRAGMA_DEFAULT_INDEX;
927 DatabaseUtils.InsertHelper ih =
928 new DatabaseUtils.InsertHelper(mDatabase, "insert_test");
1074 DatabaseUtils.InsertHelper ih =
1075 new DatabaseUtils.InsertHelper(mDatabase, dbName);
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java464 * Reads a String out of a field in a Cursor and writes it to an InsertHelper.
468 * @param inserter The InsertHelper to bind into
469 * @param index the index of the bind entry in the InsertHelper
472 InsertHelper inserter, int index) {
774 public static class InsertHelper { class in class:DatabaseUtils
796 public InsertHelper(SQLiteDatabase db, String tableName) { method in class:DatabaseUtils.InsertHelper
1033 Log.e(TAG, "Error executing InsertHelper with table " + mTableName, e);
1042 * Prepare the InsertHelper for an insert. The pattern for this is:
1058 * Prepare the InsertHelper for a replace. The pattern for this is:
/frameworks/base/core/java/android/webkit/
H A DWebViewDatabase.java158 // use InsertHelper to improve insert performance by 40%
159 private static DatabaseUtils.InsertHelper mCacheInserter;
249 // use InsertHelper for faster insertion
250 mCacheInserter = new DatabaseUtils.InsertHelper(mCacheDatabase,

Completed in 249 milliseconds