HomeSort by relevance Sort by last modified time
    Searched refs:mDatabaseFile (Results 1 - 12 of 12) sorted by null

  /cts/tests/app/src/android/app/cts/
AlertDialog_BuilderCursorTest.java 63 private File mDatabaseFile;
128 mDatabaseFile = new File(dbDir, "database_alert_dialog_test.db");
129 if (mDatabaseFile.exists()) {
130 mDatabaseFile.delete();
132 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
159 if (mDatabaseFile != null) {
160 mDatabaseFile.delete();
  /cts/tests/tests/database/src/android/database/cts/
CursorJoinerTest.java 45 private File mDatabaseFile;
56 mDatabaseFile.delete();
208 mDatabaseFile = new File(dbDir, "database_test.db");
209 if (mDatabaseFile.exists()) {
210 mDatabaseFile.delete();
212 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
213 assertNotNull(mDatabaseFile);
MergeCursorTest.java 42 private File mDatabaseFile;
72 mDatabaseFile.delete();
328 mDatabaseFile = new File(dbDir, "database_test.db");
329 if (mDatabaseFile.exists()) {
330 mDatabaseFile.delete();
332 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
333 assertNotNull(mDatabaseFile);
CursorWrapperTest.java 49 private File mDatabaseFile;
483 mDatabaseFile = new File(dbDir, "cursor_test.db");
484 if (mDatabaseFile.exists()) {
485 mDatabaseFile.delete();
487 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
502 mDatabaseFile.delete();
AbstractCursorTest.java 61 private File mDatabaseFile;
82 if (mDatabaseFile.exists()) {
83 mDatabaseFile.delete();
468 mDatabaseFile = new File(dbDir, "database_test.db");
469 if (mDatabaseFile.exists()) {
470 mDatabaseFile.delete();
472 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
473 assertNotNull(mDatabaseFile);
DatabaseCursorTest.java 49 private File mDatabaseFile;
58 mDatabaseFile = new File(dbDir, "database_test.db");
59 if (mDatabaseFile.exists()) {
60 mDatabaseFile.delete();
62 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
70 mDatabaseFile.delete();
DatabaseUtilsTest.java 44 private File mDatabaseFile;
57 mDatabaseFile = new File(dbDir, "database_test.db");
58 if (mDatabaseFile.exists()) {
59 mDatabaseFile.delete();
61 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
74 mDatabaseFile.delete();
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DatabaseContentProvider.java 130 private File mDatabaseFile = null;
135 mDatabaseFile = context.getDatabasePath(name);
169 if (null != mDatabaseFile) {
170 logger.error("deleting mDatabaseFile.");
171 mDatabaseFile.delete();
187 if (null != mDatabaseFile) {
188 logger.error("deleting mDatabaseFile.");
189 mDatabaseFile.delete();
  /cts/tests/tests/widget/src/android/widget/cts/
CursorAdapterTest.java 74 private File mDatabaseFile;
84 mDatabaseFile = new File(dbDir, "database_test.db");
85 if (mDatabaseFile.exists()) {
86 mDatabaseFile.delete();
88 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
108 mDatabaseFile.delete();
CursorTreeAdapterTest.java 80 private File mDatabaseFile;
119 mDatabaseFile = new File(dbDir, "database_test.db");
120 if (mDatabaseFile.exists()) {
121 mDatabaseFile.delete();
123 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null);
157 mDatabaseFile.delete();
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteDatabaseTest.java 56 private File mDatabaseFile;
84 mDatabaseFile = getContext().getDatabasePath(DATABASE_FILE_NAME);
85 mDatabaseDir = mDatabaseFile.getParent();
86 mDatabaseFile.getParentFile().mkdirs(); // directory may not exist
87 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile, null);
103 SQLiteDatabase.deleteDatabase(mDatabaseFile);
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContextTest.java 672 File mDatabaseFile;
715 mDatabaseFile = mContext.getDatabasePath(DATABASE_NAME + i);
716 assertTrue(mDatabaseFile.exists());
718 mDatabaseFile = new File(actualDBPath, DATABASE_NAME + i);
719 assertFalse(mDatabaseFile.exists());
    [all...]

Completed in 164 milliseconds