Home
last modified time | relevance | path

Searched refs:getWritableDatabase (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java99 mDb = mOpenHelper.getWritableDatabase(); in insert()
124 mDb = mOpenHelper.getWritableDatabase(); in bulkInsert()
152 mDb = mOpenHelper.getWritableDatabase(); in update()
180 mDb = mOpenHelper.getWritableDatabase(); in delete()
207 mDb = mOpenHelper.getWritableDatabase(); in applyBatch()
225 mDb = mOpenHelper.getWritableDatabase(); in applyBatch()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java289 ceHelper.getWritableDatabase(); in create()
626 return super.getWritableDatabase(); in getWritableDatabaseUserIsUnlocked()
636 SQLiteDatabase db = getWritableDatabase(); in migratePreNDbToDe()
679 SQLiteDatabase db = mDeDatabase.getWritableDatabase(); in deleteDeAccount()
684 SQLiteDatabase db = mDeDatabase.getWritableDatabase(); in insertSharedAccount()
693 SQLiteDatabase db = mDeDatabase.getWritableDatabase(); in deleteSharedAccount()
699 SQLiteDatabase db = mDeDatabase.getWritableDatabase(); in renameSharedAccount()
757 SQLiteDatabase db = mDeDatabase.getWritableDatabase(); in updateAccountLastAuthenticatedTime()
831 SQLiteDatabase db = mDeDatabase.getWritableDatabase(); in insertDeAccount()
841 SQLiteDatabase db = mDeDatabase.getWritableDatabase(); in renameDeAccount()
[all …]
/frameworks/support/room/runtime/src/main/java/androidx/room/
DRoomDatabase.java223 return mOpenHelper.getWritableDatabase().query(new SimpleSQLiteQuery(query, args)); in query()
234 return mOpenHelper.getWritableDatabase().query(query); in query()
245 return mOpenHelper.getWritableDatabase().compileStatement(sql); in compileStatement()
253 SupportSQLiteDatabase database = mOpenHelper.getWritableDatabase(); in beginTransaction()
262 mOpenHelper.getWritableDatabase().endTransaction(); in endTransaction()
274 mOpenHelper.getWritableDatabase().setTransactionSuccessful(); in setTransactionSuccessful()
348 return mOpenHelper.getWritableDatabase().inTransaction(); in inTransaction()
DInvalidationTracker.java288 mDatabase.getOpenHelper().getWritableDatabase(); in ensureInitialization()
327 SupportSQLiteDatabase db = mDatabase.getOpenHelper().getWritableDatabase();
461 syncTriggers(mDatabase.getOpenHelper().getWritableDatabase()); in syncTriggers()
/frameworks/base/core/tests/coretests/src/android/database/
DSQLiteOpenHelperTest.java103 assertNotNull(mTestHelper.getWritableDatabase()); in testLookasideDefault()
110 assertNotNull(mTestHelper.getWritableDatabase()); in testLookasideDisabled()
119 assertNotNull(memHelper.getWritableDatabase()); in testInMemoryLookasideDisabled()
127 assertNotNull(memHelper.getWritableDatabase()); in testInMemoryLookasideDefault()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java97 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in insertKey()
168 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in removeKey()
225 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setRecoveryStatus()
299 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setPlatformKeyGenerationId()
315 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in invalidateKeysWithOldGenerationId()
330 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in invalidateKeysForUserIdOnCustomScreenLock()
542 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setRecoverySecretTypes()
633 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setActiveRootOfTrust()
899 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setLong()
978 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setBytes()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java85 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert()
93 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DIdentityDetectionTest.java67 SupportSQLiteDatabase db = mTestDatabase.getOpenHelper().getWritableDatabase(); in reOpenChangedHash()
87 SupportSQLiteDatabase db = mTestDatabase.getOpenHelper().getWritableDatabase(); in reOpenMasterTableDropped()
DCustomDatabaseTest.java88 final SupportSQLiteDatabase db = helper.getWritableDatabase(); in create()
106 }).when(helperMock).getWritableDatabase(); in create()
DWriteAheadLoggingTest.java92 SupportSQLiteDatabase db = mDatabase.getOpenHelper().getWritableDatabase(); in checkJournalMode()
113 SupportSQLiteDatabase db = mDatabase.getOpenHelper().getWritableDatabase(); in disableWal()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java84 SQLiteDatabase db = getWritableDatabase(); in updateGenericSoundModel()
135 SQLiteDatabase db = getWritableDatabase(); in deleteGenericSoundModel()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java87 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
100 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
/frameworks/support/persistence/db-framework/src/main/java/androidx/sqlite/db/framework/
DFrameworkSQLiteOpenHelper.java53 public SupportSQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in FrameworkSQLiteOpenHelper
96 SQLiteDatabase db = super.getWritableDatabase(); in getWritableSupportDatabase()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistReportDbHelper.java135 final SQLiteDatabase db = getWritableDatabase(); in insertNewRecord()
189 final SQLiteDatabase db = getWritableDatabase(); in cleanup()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DPreNTestDatabaseHelper.java94 helper.getWritableDatabase(); in createV4Database()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DLoaderThrottleSupport.java290 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
309 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
345 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java271 SQLiteDatabase db = dbh.getWritableDatabase(); in addPackage()
331 SQLiteDatabase db = dbh.getWritableDatabase(); in updatePackage()
366 SQLiteDatabase db = dbh.getWritableDatabase(); in deletePackage()
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java226 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
273 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
/frameworks/support/room/runtime/src/test/java/androidx/room/
DInvalidationTrackerTest.java78 doReturn(sqliteDb).when(mOpenHelper).getWritableDatabase(); in setup()
243 doThrow(new IllegalStateException("foo")).when(mOpenHelper).getWritableDatabase(); in closedDb()
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/
DSupportSQLiteOpenHelper.java80 SupportSQLiteDatabase getWritableDatabase(); in getWritableDatabase() method
/frameworks/support/room/compiler/src/test/data/databasewriter/output/
DComplexDatabase.java97 final SupportSQLiteDatabase _db = super.getOpenHelper().getWritableDatabase(); in clearAllTables()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java158 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java150 SQLiteDatabase db = getWritableDatabase(); in updateKeyphraseSoundModel()
192 SQLiteDatabase db = getWritableDatabase(); in deleteKeyphraseSoundModel()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java296 public SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in SQLiteOpenHelper
/frameworks/support/room/runtime/src/androidTest/java/androidx/room/migration/
DTableInfoTest.java279 ).getWritableDatabase(); in createDatabase()

12