Home
last modified time | relevance | path

Searched refs:databasePath (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSQLiteConnectionTest.java33 private File databasePath; field in ShadowSQLiteConnectionTest
171 databasePath = ApplicationProvider.getApplicationContext().getDatabasePath(filename); in createDatabase()
172 databasePath.getParentFile().mkdirs(); in createDatabase()
173 return SQLiteDatabase.openOrCreateDatabase(databasePath.getPath(), null); in createDatabase()
177 …ptr = ShadowSQLiteConnection.nativeOpen(databasePath.getPath(), 0, "test connection", false, false… in getSQLiteConnection()
DSQLiteStatementTest.java24 final File databasePath = ApplicationProvider.getApplicationContext().getDatabasePath("path"); in setUp() local
25 databasePath.getParentFile().mkdirs(); in setUp()
27 database = SQLiteDatabase.openOrCreateDatabase(databasePath.getPath(), null); in setUp()
DSQLiteDatabaseTest.java31 private File databasePath; field in SQLiteDatabaseTest
35 databasePath = ApplicationProvider.getApplicationContext().getDatabasePath("database.db"); in setUp()
36 databasePath.getParentFile().mkdirs(); in setUp()
38 database = openOrCreateDatabase(databasePath); in setUp()
612 …SQLiteDatabase db = SQLiteDatabase.openDatabase(databasePath.getAbsolutePath(), null, OPEN_READWRI… in shouldOpenExistingDatabaseFromFileSystemIfFileExists()
620 …SQLiteDatabase reopened = SQLiteDatabase.openDatabase(databasePath.getAbsolutePath(), null, OPEN_R… in shouldOpenExistingDatabaseFromFileSystemIfFileExists()
927 private SQLiteDatabase openOrCreateDatabase(File databasePath) { in openOrCreateDatabase() argument
928 SQLiteDatabase database = SQLiteDatabase.openOrCreateDatabase(databasePath, null); in openOrCreateDatabase()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboWebSettings.java350 private String databasePath = "database"; field in RoboWebSettings
366 databasePath = path; in setDatabasePath()
371 return databasePath; in getDatabasePath()