Home
last modified time | relevance | path

Searched refs:mDb (Results 1 – 4 of 4) sorted by relevance

/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java42 protected SQLiteDatabase mDb; field in SQLiteContentProvider
92 mDb = mOpenHelper.getWritableDatabase(); in insert()
93 mDb.beginTransactionWithListener(this); in insert()
99 mDb.setTransactionSuccessful(); in insert()
101 mDb.endTransaction(); in insert()
117 mDb = mOpenHelper.getWritableDatabase(); in bulkInsert()
118 mDb.beginTransactionWithListener(this); in bulkInsert()
126 SQLiteDatabase savedDb = mDb; in bulkInsert()
127 mDb.yieldIfContendedSafely(); in bulkInsert()
128 mDb = savedDb; in bulkInsert()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DDatabaseConnectionPool.java66 mPool.get(i).mDb.close(); in close()
96 if (mPool.get(i).mDb.isInStatementCache(sql)) { in get()
110 db = poolObj.mDb; in get()
122 if (mPool.get(i).isFree() && mPool.get(i).mDb.isInStatementCache(sql)) { in get()
138 db = poolObj.mDb; in get()
142 assert poolObj.mDb == db; in get()
161 assert mPool.get(db.mConnectionNum - 1).mDb == db; in release()
188 list.add(mPool.get(i).mDb); in getConnectionList()
234 assert mPool.get(i).mDb.mConnectionNum == (i + 1); in doAsserts()
264 private final SQLiteDatabase mDb; field in DatabaseConnectionPool.PoolObj
[all …]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DSummarizerDBHelper.java93 private SQLiteDatabase mDb; field in SummarizerDBHelper
103 mDbHelper.reset(this.mDb); in reset()
107 mDb = mDbHelper.getWritableDatabase(); in open()
118 mDb.insert(table, null, cv); in insertAbstractResult()
122 return mDb.query(false, table, new String[] {KEY_BYTES}, null, null, null, null, in getAbstractResults()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java868 private final SQLiteDatabase mDb; field in DatabaseUtils.InsertHelper
890 mDb = db; in InsertHelper()
906 cur = mDb.rawQuery("PRAGMA table_info(" + mTableName + ")", null); in buildSQL()
945 mReplaceStatement = mDb.compileStatement(replaceSQL); in getStatement()
951 mInsertStatement = mDb.compileStatement(mInsertSQL); in getStatement()