Home
last modified time | relevance | path

Searched refs:deleteDatabase (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java155 mFileContext.deleteDatabase(internalName); in openOrCreateDatabase()
166 mFileContext.deleteDatabase(internalName); in openOrCreateDatabase()
172 public boolean deleteDatabase(String name) { in deleteDatabase() method in RenamingDelegatingContext
175 return mFileContext.deleteDatabase(renamedFileName(name)); in deleteDatabase()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DCursorWindowPerfTest.java53 getContext().deleteDatabase(DB_NAME); in setup()
68 getContext().deleteDatabase(DB_NAME); in teardown()
DSQLiteDatabaseIoPerfTest.java66 mContext.deleteDatabase(DB_NAME); in setUp()
75 mContext.deleteDatabase(DB_NAME); in tearDown()
DSQLiteDatabasePerfTest.java60 mContext.deleteDatabase(DB_NAME); in setUp()
69 mContext.deleteDatabase(DB_NAME); in tearDown()
153 mContext.deleteDatabase(DB_NAME); in testSelectCacheMissRate()
552 mContext.deleteDatabase(DB_NAME);
/frameworks/base/core/java/android/database/
DDefaultDatabaseErrorHandler.java103 SQLiteDatabase.deleteDatabase(new File(fileName), /*removeCheckFile=*/ false); in deleteDatabaseFile()
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DConnectivityBlobStoreTest.java59 mContext.deleteDatabase(DATABASE_FILENAME); in tearDown()
68 assertTrue(mContext.deleteDatabase(DATABASE_FILENAME)); in testFileCreateDelete()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCompatibilityWalFlagsTest.java51 SQLiteDatabase.deleteDatabase(new File(mDatabase.getPath())); in tearDown()
DSQLiteConnectionPoolTest.java68 SQLiteDatabase.deleteDatabase(mTestDatabase); in teardown()
DSQLiteDatabaseTest.java75 mContext.deleteDatabase(DATABASE_FILE_NAME); in setUp()
89 SQLiteDatabase.deleteDatabase(mDatabaseFile); in closeAndDeleteDatabase()
DSQLiteRawStatementTest.java61 mContext.deleteDatabase(DATABASE_FILE_NAME); in setUp()
75 SQLiteDatabase.deleteDatabase(mDatabaseFile); in closeAndDeleteDatabase()
/frameworks/base/core/tests/coretests/src/android/database/
DSQLiteOpenHelperTest.java93 SQLiteDatabase.deleteDatabase( in teardown()
DNewDatabasePerformanceTests.java74 SQLiteDatabase.deleteDatabase(mDatabaseFile); in setUp()
103 SQLiteDatabase.deleteDatabase(mDatabaseFile); in tearDown()
DDatabaseGeneralTest.java78 SQLiteDatabase.deleteDatabase(mDatabaseFile); in tearDown()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java399 if (SQLiteDatabase.deleteDatabase(databaseFile)) { in getDatabaseLocked()
DSQLiteDatabase.java1069 public static boolean deleteDatabase(@NonNull File file) { in deleteDatabase() method in SQLiteDatabase
1070 return deleteDatabase(file, /*removeCheckFile=*/ true); in deleteDatabase()
1075 public static boolean deleteDatabase(@NonNull File file, boolean removeCheckFile) { in deleteDatabase() method in SQLiteDatabase
/frameworks/base/test-runner/api/
Dlint-baseline.txt98 MissingNullability: android.test.RenamingDelegatingContext#deleteDatabase(String) parameter #0:
99 Missing nullability on parameter `name` in method `deleteDatabase`
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodBaseContext.java284 public boolean deleteDatabase(String name) { in deleteDatabase() method in RavenwoodBaseContext
/frameworks/base/core/java/android/content/
DContextWrapper.java380 public boolean deleteDatabase(String name) { in deleteDatabase() method in ContextWrapper
381 return mBase.deleteDatabase(name); in deleteDatabase()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java442 public boolean deleteDatabase(String name) { in deleteDatabase() method in ApplicationContext
445 return context.deleteDatabase(name); in deleteDatabase()
DBridgeContext.java1475 public boolean deleteDatabase(String arg0) { in deleteDatabase() method in BridgeContext
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java305 if (!SQLiteDatabase.deleteDatabase(preNDatabaseFile)) { in create()
1390 if (!SQLiteDatabase.deleteDatabase(dbFile)) { in deleteDbFileWarnIfFailed()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java287 public boolean deleteDatabase(String name) { in deleteDatabase() method in MockContext
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java19 import static android.database.sqlite.SQLiteDatabase.deleteDatabase;
200 deleteDatabase(new File(mTestInjector.getCeDatabaseName(UserHandle.USER_SYSTEM))); in tearDown()
201 deleteDatabase(new File(mTestInjector.getDeDatabaseName(UserHandle.USER_SYSTEM))); in tearDown()
202 deleteDatabase(new File(mTestInjector.getPreNDatabaseName(UserHandle.USER_SYSTEM))); in tearDown()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java413 context.deleteDatabase(devicePropertiesName); in initDeviceProperties()
/frameworks/base/test-mock/api/
Dcurrent.txt51 method public boolean deleteDatabase(String);

12