Home
last modified time | relevance | path

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

/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java42 protected SQLiteDatabase mDb; field in SQLiteContentProvider
99 mDb = mOpenHelper.getWritableDatabase(); in insert()
100 mDb.beginTransactionWithListener(this); in insert()
106 mDb.setTransactionSuccessful(); in insert()
108 mDb.endTransaction(); in insert()
124 mDb = mOpenHelper.getWritableDatabase(); in bulkInsert()
125 mDb.beginTransactionWithListener(this); in bulkInsert()
133 SQLiteDatabase savedDb = mDb; in bulkInsert()
134 mDb.yieldIfContendedSafely(); in bulkInsert()
135 mDb = savedDb; in bulkInsert()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTests.java37 private File mDb; field in LockSettingsStorageTests
43 mDb = getContext().getDatabasePath("locksettings.db"); in setUp()
47 assertTrue(!mDb.exists() || mDb.delete()); in setUp()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java1005 private final SQLiteDatabase mDb; field in DatabaseUtils.InsertHelper
1034 mDb = db; in InsertHelper()
1050 cur = mDb.rawQuery("PRAGMA table_info(" + mTableName + ")", null); in buildSQL()
1089 mReplaceStatement = mDb.compileStatement(replaceSQL); in getStatement()
1095 mInsertStatement = mDb.compileStatement(mInsertSQL); in getStatement()
1120 mDb.beginTransactionNonExclusive(); in insertInternal()
1135 mDb.setTransactionSuccessful(); in insertInternal()
1141 mDb.endTransaction(); in insertInternal()