Home
last modified time | relevance | path

Searched refs:getDatabasePath (Results 1 – 15 of 15) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DRenamingDelegatingContext.java181 public File getDatabasePath(String name) { in getDatabasePath() method in RenamingDelegatingContext
183 return mFileContext.getDatabasePath(name); in getDatabasePath()
185 return mFileContext.getDatabasePath(renamedFileName(name)); in getDatabasePath()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DSavedWallpaperImages.java155 super(context, context.getDatabasePath(WallpaperFiles.WALLPAPER_IMAGES_DB).getPath(), in ImageDb()
164 File savedImagesFile = context.getDatabasePath(WallpaperFiles.WALLPAPER_IMAGES_DB); in moveFromCacheDirectoryIfNecessary()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastDatabaseHelper.java182 File oldDb = mContext.getDatabasePath(OLD_DATABASE_NAME); in tryToMigrateV13()
183 File newDb = mContext.getDatabasePath(DATABASE_NAME_V13); in tryToMigrateV13()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProviderUpgradeReceiver.java69 if (context.getDatabasePath(helper.getDatabaseName()).exists()) { in onReceive()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarUpgradeReceiver.java67 if (context.getDatabasePath(helper.getDatabaseName()).exists()) { in onReceive()
DCalendarDebugActivity.java129 final File inFile = getDatabasePath("calendar.db"); in doInBackground()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaUpgradeReceiver.java67 File dbDir = context.getDatabasePath("foo").getParentFile(); in tryMigratingDatabases()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DDumpDatabaseAction.java59 final File inFile = context.getDatabasePath(dbName); in executeAction()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java65 mDbFile = mContext.getDatabasePath(DB_FILE); in setup()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DMediaScannerTest.java131 public File getDatabasePath(String name) { in getDatabasePath() method in MediaScannerTest.IsolatedContext
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java76 context.getDatabasePath(dbName).delete(); in deleteFiles()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnDatabase.java167 final File dbFile = sContext.getDatabasePath(APN_DATABASE_NAME); in doesDatabaseExist()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java181 return InstrumentationRegistry.getTargetContext().getDatabasePath((String) args[0]); in setUp()
182 }).when(mMockContext).getDatabasePath(anyString()); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java725 return mAdapterService.getDatabasePath(MetadataDatabase.DATABASE_NAME) in getDatabaseAbsolutePath()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java124 doReturn(mDbFile).when(mMockContext).getDatabasePath(anyString()); in setUp()