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/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.java122 final File inFile = getDatabasePath("calendar.db"); in doInBackground()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaUpgradeReceiver.java59 File dbDir = context.getDatabasePath("foo").getParentFile(); in onReceive()
DMediaProvider.java499 File other = mContext.getDatabasePath(databases[i]); in onOpen()
527 long time = mContext.getDatabasePath(databases[i]).lastModified(); in onOpen()
/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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java148 return InstrumentationRegistry.getTargetContext().getDatabasePath((String) args[0]); in setUp()
149 }).when(mMockContext).getDatabasePath(anyString()); in setUp()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DMediaScannerTest.java90 public File getDatabasePath(String name) { in getDatabasePath() method in MediaScannerTest.IsolatedContext
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnDatabase.java167 final File dbFile = sContext.getDatabasePath(APN_DATABASE_NAME); in doesDatabaseExist()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java76 context.getDatabasePath(dbName).delete(); in deleteFiles()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java124 doReturn(mDbFile).when(mMockContext).getDatabasePath(anyString()); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java741 return mAdapterService.getDatabasePath(MetadataDatabase.DATABASE_NAME) in getDatabaseAbsolutePath()