Home
last modified time | relevance | path

Searched refs:dbName (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteOpenHelperTest.java156 private static void verifyLookasideStats(String dbName, boolean expectDisabled) { in verifyLookasideStats() argument
160 if (dbStat.dbName.endsWith(dbName)) { in verifyLookasideStats()
162 Log.i(TAG, "Lookaside for " + dbStat.dbName + " " + dbStat.lookaside); in verifyLookasideStats()
171 assertTrue("No dbstat found for " + dbName, dbStatFound); in verifyLookasideStats()
DSQLiteDatabaseTest.java1549 if (dbStat.dbName.endsWith(mDatabaseFile.getName())) { in verifyLookasideStats()
1551 Log.i(TAG, "Lookaside for " + dbStat.dbName + " " + dbStat.lookaside); in verifyLookasideStats()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java321 OpenFileContentProvider(String fileName, String dbName) { in OpenFileContentProvider() argument
323 mContext.deleteDatabase(dbName); in OpenFileContentProvider()
324 mDb = mContext.openOrCreateDatabase(dbName, Context.MODE_PRIVATE, null); in OpenFileContentProvider()
DMockContentProvider.java107 public MockContentProvider(String authority, String dbName) { in MockContentProvider() argument
109 mDbName = dbName; in MockContentProvider()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java141 String dbName = "ExampleName"; in testCreateDbFromSqlStatements() local
144 DatabaseUtils.createDbFromSqlStatements(getContext(), dbName, 1, sqls); in testCreateDbFromSqlStatements() local
146 SQLiteDatabase db = getContext().openOrCreateDatabase(dbName, 0, null); in testCreateDbFromSqlStatements()
156 getContext().deleteDatabase(dbName); in testCreateDbFromSqlStatements()