Home
last modified time | relevance | path

Searched refs:getDatabase (Results 1 – 8 of 8) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DSearchRecentSuggestionsProvider.java135 private @Nullable SQLiteDatabase getDatabase(boolean readOnly) { in getDatabase() method in SearchRecentSuggestionsProvider
146 final SQLiteDatabase db = getDatabase(true /* readOnly */); in query()
171 final SQLiteDatabase db = getDatabase(false /* readOnly */); in saveRecentQuery()
186 final SQLiteDatabase db = getDatabase(false /* readOnly */); in clearHistory()
/packages/apps/Browser/src/com/android/browser/
DAutoFillProfileDatabase.java93 private SQLiteDatabase getDatabase(boolean writable) { in getDatabase() method in AutoFillProfileDatabase
112 return getDatabase(false).query(PROFILES_TABLE_NAME, cols, Profiles._ID + "=?", selectArgs, in getProfile()
119 getDatabase(true).execSQL(sql, params); in dropProfile()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java477 public SQLiteDatabase getDatabase(Context context) { in getDatabase() method in EmailProvider
638 final SQLiteDatabase db = getDatabase(context); in delete()
853 SQLiteDatabase db = getDatabase(getContext()); in getType()
896 final SQLiteDatabase db = getDatabase(context); in insert()
1301 SQLiteDatabase db = getDatabase(context); in query()
1921 return backupAccounts(getContext(), getDatabase(getContext())); in update()
1930 final SQLiteDatabase db = getDatabase(context); in update()
2281 fixParentKeys(getDatabase(getContext())); in call()
2537 SQLiteDatabase db = getDatabase(context); in applyBatch()
2576 final SQLiteDatabase db = getDatabase(getContext()); in notificationQuery()
[all …]
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp495 RouteDataSet::Database* RouteDataSet::getDatabase (DatabaseSelection selection) in getDatabase() function in RouteDataSet
520 Database* db = getDatabase (DefaultRouteDatabase); in printDiagnostic()
544 db = getDatabase (SecElemRouteDatabase); in printDiagnostic()
DRouteDataSet.h211 Database* getDatabase (DatabaseSelection selection);
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java152 SQLiteDatabase db = getProvider().getDatabase(mMockContext); in setMinusOneToMessageCounts()
1071 getProvider().getDatabase(context), Message.DELETED_TABLE_NAME); in testDeleteOrphanMessages()
1073 getProvider().getDatabase(context), Message.UPDATED_TABLE_NAME); in testDeleteOrphanMessages()
2145 SQLiteDatabase db = getProvider().getDatabase(mMockContext); in testRecalculateMessageCounts()
2252 SQLiteDatabase db = ep.getDatabase(mMockContext); in testCleanupOrphans()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java1009 public SQLiteDatabase getDatabase(boolean writable) { in getDatabase() method in ContactsDatabaseHelper
DContactsProvider2.java7795 final SQLiteDatabase db = mDbHelper.get().getDatabase(writing); in openAssetFileInner()