Home
last modified time | relevance | path

Searched refs:DB_NAME (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/database/
DCursorWindowPerfTest.java46 private static final String DB_NAME = CursorWindowPerfTest.class.toString(); field in CursorWindowPerfTest
52 getContext().deleteDatabase(DB_NAME); in setup()
53 sDatabase = getContext().openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setup()
67 getContext().deleteDatabase(DB_NAME); in teardown()
DSQLiteDatabaseIoPerfTest.java54 private static final String DB_NAME = "db_io_perftest"; field in SQLiteDatabaseIoPerfTest
65 mContext.deleteDatabase(DB_NAME); in setUp()
66 mDatabase = mContext.openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setUp()
74 mContext.deleteDatabase(DB_NAME); in tearDown()
DSQLiteDatabasePerfTest.java48 private static final String DB_NAME = "dbperftest"; field in SQLiteDatabasePerfTest
59 mContext.deleteDatabase(DB_NAME); in setUp()
60 mDatabase = mContext.openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setUp()
71 mContext.deleteDatabase(DB_NAME); in tearDown()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java35 private static final String DB_NAME = "database_test.db"; field in DatabaseErrorHandlerTest
42 mDatabaseFile = new File(dbDir, DB_NAME); in setUp()
121 new File(dbDir, DB_NAME).delete(); in onCorruption()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DJournalDbPostMigrationTest.java74 private static final String DB_NAME = "journal-db"; field in JournalDbPostMigrationTest
174 InstrumentationRegistry.getTargetContext().deleteDatabase(DB_NAME);
181 String[] walModificationDbs = testContext.getAssets().list(DB_NAME);
182 File databasePath = targetContext.getDatabasePath(DB_NAME);
184 copyAsset(DB_NAME + "/" + file,
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java40 private static final String DB_NAME = "tracking.db"; field in TrackerProvider
52 super(context, DB_NAME, null, DB_VERSION); in DatabaseHelper()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkDatabase.java63 private static final String DB_NAME = "androidx.work.workdb"; field in WorkDatabase
96 builder = Room.databaseBuilder(context, WorkDatabase.class, DB_NAME); in create()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java1022 private static final String DB_NAME = "notification_log.db"; field in NotificationUsageStats.SQLiteLog
1116 mHelper = new SQLiteOpenHelper(context, DB_NAME, null, DB_VERSION) { in SQLiteLog()