Searched refs:dbFile (Results 1 – 3 of 3) sorted by relevance
1841 File dbFile = mMockContext.getDatabasePath(EmailProvider.DATABASE_NAME); in testDatabaseCorruptionRecovery() local1844 assertTrue(dbFile != null); in testDatabaseCorruptionRecovery()1845 assertTrue(dbFile.exists()); in testDatabaseCorruptionRecovery()1847 assertTrue(dbFile.delete()); in testDatabaseCorruptionRecovery()1848 assertFalse(dbFile.exists()); in testDatabaseCorruptionRecovery()1851 dbFile = mMockContext.getDatabasePath(EmailProvider.BODY_DATABASE_NAME); in testDatabaseCorruptionRecovery()1853 assertTrue(dbFile != null); in testDatabaseCorruptionRecovery()1854 assertTrue(dbFile.exists()); in testDatabaseCorruptionRecovery()1907 File dbFile = mMockContext.getDatabasePath(EmailProvider.BODY_DATABASE_NAME); in testBodyDatabaseCorruptionRecovery() local1910 assertTrue(dbFile != null); in testBodyDatabaseCorruptionRecovery()[all …]
167 final File dbFile = sContext.getDatabasePath(APN_DATABASE_NAME); in doesDatabaseExist() local168 return dbFile.exists(); in doesDatabaseExist()
421 final File dbFile = new File(mDb.getPath()); in getDbSize() local423 return dbFile.length(); in getDbSize()