/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | CursorWindowPerfTest.java | 46 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()
|
D | SQLiteDatabaseIoPerfTest.java | 54 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()
|
D | SQLiteDatabasePerfTest.java | 48 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/ |
D | DatabaseErrorHandlerTest.java | 35 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/ |
D | JournalDbPostMigrationTest.java | 74 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/ |
D | TrackerProvider.java | 40 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/ |
D | WorkDatabase.java | 63 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/ |
D | NotificationUsageStats.java | 1022 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()
|