Home
last modified time | relevance | path

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

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSQLiteContentProvider.java87 mDb = mOpenHelper.getWritableDatabase(); in insert()
112 mDb = mOpenHelper.getWritableDatabase(); in bulkInsert()
136 mDb = mOpenHelper.getWritableDatabase(); in update()
164 mDb = mOpenHelper.getWritableDatabase(); in delete()
189 mDb = mOpenHelper.getWritableDatabase(); in applyBatch()
DCallLogProvider.java79 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in onCreate()
163 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update()
187 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete()
DSocialProvider.java183 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insertActivity()
299 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete()
DContactsDatabaseHelper.java1410 public synchronized SQLiteDatabase getWritableDatabase() { in getWritableDatabase() method in ContactsDatabaseHelper
1411 SQLiteDatabase db = super.getWritableDatabase(); in getWritableDatabase()
1415 db = super.getWritableDatabase(); in getWritableDatabase()
1424 SQLiteDatabase db = getWritableDatabase(); in wipeData()
1720 SQLiteDatabase db = getWritableDatabase(); in removeContactIfSingleton()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DSynchronousContactsProvider2.java105 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase(); in prepareForFullAggregation()
126 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase(); in wipeData()
/packages/apps/AlarmClock/src/com/android/alarmclock/
DAlarmProvider.java146 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
200 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
213 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmProvider.java145 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
199 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
212 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java183 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
197 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
221 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/packages/apps/Camera/src/com/android/camera/
DPhotoAppWidgetProvider.java137 SQLiteDatabase db = getWritableDatabase(); in setPhoto()
198 SQLiteDatabase db = getWritableDatabase(); in deletePhoto()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java139 SQLiteDatabase db = getWritableDatabase(); in setPhoto()
200 SQLiteDatabase db = getWritableDatabase(); in deletePhoto()
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmProvider.java226 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
341 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
367 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DShortcutRepositoryImplLog.java151 SQLiteDatabase db = getOpenHelper().getWritableDatabase(); in clearHistory()
186 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in refreshShortcut()
210 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in getShortcutsForQuery()
368 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in logClicked()
390 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in logSourceEvents()
427 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in postSourceEventCleanup()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java387 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
493 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
548 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
607 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in restoreDefaultAPN()
DMmsSmsProvider.java452 db = mOpenHelper.getWritableDatabase(); in getSingleAddressId()
534 mOpenHelper.getWritableDatabase().insert("threads", null, values); in insertThread()
1068 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
1114 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in deleteConversation()
1129 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
1173 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in updateConversation()
DSmsProvider.java399 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
506 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
592 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
DMmsProvider.java314 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
519 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
680 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java231 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
388 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
432 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
/packages/apps/Launcher/src/com/android/launcher/
DLauncherProvider.java108 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in query()
119 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
133 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert()
153 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
164 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java106 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in query()
117 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
131 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in bulkInsert()
151 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
162 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/packages/apps/Browser/src/com/android/browser/
DBrowserProvider.java411 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in fixPicasaBookmark()
823 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
873 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
921 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
/packages/apps/IM/src/com/android/im/provider/
DImpsProvider.java1017 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
1036 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
1054 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
1246 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in queryInternal()
1277 final SQLiteDatabase db2 = mOpenHelper.getWritableDatabase(); in queryInternal()
1558 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertBulkContacts()
1699 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in updateBulkContacts()
1806 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in seedInitialPresenceByAccount()
1934 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in updateBulkPresence()
2030 final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insertInternal()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java220 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in writeLocked()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java255 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()
483 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()
559 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java532 mDatabase = helper.getWritableDatabase(); in getDatabase()
536 mBodyDatabase = bodyHelper.getWritableDatabase(); in getDatabase()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1350 SQLiteDatabase db = database.getWritableDatabase(); in bulkInsert()
1394 SQLiteDatabase db = (match == VOLUMES ? null : database.getWritableDatabase()); in insertInternal()
1822 SQLiteDatabase db = database.getWritableDatabase(); in delete()
1858 SQLiteDatabase db = database.getWritableDatabase(); in update()

12