/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 44 private final SQLiteDatabase mDatabase; field in DatabaseWrapper 86 mDatabase = db; in DatabaseWrapper() 93 Assert.isTrue(mDatabase.inTransaction()); in getStatementInTransaction() 96 compiled = mDatabase.compileStatement(statement); in getStatementInTransaction() 131 mDatabase.beginTransaction(); in beginTransaction() 137 mDatabase.setTransactionSuccessful(); in setTransactionSuccessful() 155 mDatabase.endTransaction(); in endTransaction() 172 final boolean wasYielded = mDatabase.yieldIfContendedSafely(); in yieldTransaction() 185 mDatabase.insertWithOnConflict(searchTable, nullColumnHack, initialValues, in insertWithOnConflict() 250 explainQueryPlan(qb, mDatabase, projection, selection, selectionArgs, in query() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 75 private final SQLiteDatabase mDatabase; field in DownloadCache 85 mDatabase = new DatabaseHelper(application.getAndroidContext()) in DownloadCache() 92 Cursor cursor = mDatabase.query(TABLE_NAME, QUERY_PROJECTION, in findEntryInDatabase() 154 mDatabase.update(TABLE_NAME, values, in updateLastAccess() 160 Cursor cursor = mDatabase.query(TABLE_NAME, in freeSomeSpaceIfNeed() 177 mDatabase.delete(TABLE_NAME, in freeSomeSpaceIfNeed() 199 return mDatabase.insert(TABLE_NAME, "", values); in insertEntry() 210 Cursor cursor = mDatabase.query( in initialize()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnSettingsActivity.java | 142 private SQLiteDatabase mDatabase; field in ApnSettingsActivity.ApnSettingsFragment 152 mDatabase = ApnDatabase.getApnDatabase().getWritableDatabase(); in onCreate() 226 final Cursor cursor = mDatabase.query(ApnDatabase.APN_TABLE, APN_PROJECTION, in fillList() 239 mSelectedKey = BugleApnSettingsLoader.getFirstTryApn(mDatabase, mccMnc); in fillList() 333 mDatabase.update(ApnDatabase.APN_TABLE, sCurrentNullMap, in setSelectedApnKey() 340 mDatabase.update(ApnDatabase.APN_TABLE, sCurrentSetMap, in setSelectedApnKey()
|
D | ApnEditorActivity.java | 169 private SQLiteDatabase mDatabase; field in ApnEditorActivity.ApnEditorFragment 199 mDatabase = ApnDatabase.getApnDatabase().getWritableDatabase(); in onActivityCreated() 211 mCursor = mDatabase.query(ApnDatabase.APN_TABLE, sProjection, selection, in onActivityCreated() 390 mDatabase.insert(ApnDatabase.APN_TABLE, null, values); in validateAndSave() 395 int updated = mDatabase.update(ApnDatabase.APN_TABLE, values, in validateAndSave() 414 mDatabase.delete(ApnDatabase.APN_TABLE, where, whereArgs); in deleteApn()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SavedQueryLoader.java | 40 private final SQLiteDatabase mDatabase; field in SavedQueryLoader 44 mDatabase = IndexDatabaseHelper.getInstance(context).getReadableDatabase(); in SavedQueryLoader() 54 try (final Cursor cursor = mDatabase.query( in loadInBackground()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierProvider.java | 42 private SQLiteDatabase mDatabase; field in CarrierProvider 52 return (mDatabase == null ? false : true); in onCreate()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 385 private SQLiteDatabase mDatabase; field in EmailProvider 480 if (mDatabase != null) { in getDatabase() 481 return mDatabase; in getDatabase() 489 mDatabase = helper.getWritableDatabase(); in getDatabase() 495 mDatabase.execSQL("attach \"" + bodyFileName + "\" as BodyDatabase"); in getDatabase() 499 restoreIfNeeded(context, mDatabase); in getDatabase() 501 deleteMessageOrphans(mDatabase, Message.UPDATED_TABLE_NAME); in getDatabase() 502 deleteMessageOrphans(mDatabase, Message.DELETED_TABLE_NAME); in getDatabase() 504 deleteUnlinked(mDatabase, Mailbox.TABLE_NAME, MailboxColumns.ACCOUNT_KEY, in getDatabase() 506 deleteUnlinked(mDatabase, Message.TABLE_NAME, MessageColumns.ACCOUNT_KEY, in getDatabase() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncCursorPair.java | 371 private final DatabaseWrapper mDatabase; field in SyncCursorPair.LocalCursorIterator 375 mDatabase = database; in LocalCursorIterator() 381 mCursor = mDatabase.query( in LocalCursorIterator()
|