Home
last modified time | relevance | path

Searched refs:openOrCreateDatabase (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java150 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in RenamingDelegatingContext
157 return mFileContext.openOrCreateDatabase(internalName, mode, factory); in openOrCreateDatabase()
161 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in RenamingDelegatingContext
168 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); in openOrCreateDatabase()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java46 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null, in setUp()
94 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null, in testDatabaseIsCorrupt()
DDatabaseStressTest.java47 mDatabase = c.openOrCreateDatabase("database_test.db", 0, null); in setUp()
DDatabaseLockTest.java53 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
DDatabaseGeneralTest.java70 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
1141 SQLiteDatabase memoryDb = SQLiteDatabase.openOrCreateDatabase(":memory:", null); in testDefaultDatabaseErrorHandler()
1152 SQLiteDatabase dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()
1169 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()
1192 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()
1250 try (SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(":memory:", null)) { in testSavepointRollbacks()
DDatabaseStatementTest.java50 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
DDatabaseCursorTest.java58 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCompatibilityWalFlagsTest.java105 .openOrCreateDatabase(ctx.getDatabasePath("SQLiteCompatibilityWalFlagsTest"), null); in testApplyFlags()
119 .openOrCreateDatabase(ctx.getDatabasePath("SQLiteCompatibilityWalFlagsTest"), null); in testApplyFlags_thenDisableWriteAheadLogging()
DSQLiteConnectionPoolTest.java56 .openOrCreateDatabase(mContext.getDatabasePath("pool_test"), null); in setup()
DSQLiteCursorTest.java50 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DCursorWindowPerfTest.java54 sDatabase = getContext().openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setup()
DSQLiteDatabaseIoPerfTest.java67 mDatabase = mContext.openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setUp()
DSQLiteDatabasePerfTest.java61 mDatabase = mContext.openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); in setUp()
/frameworks/base/core/java/android/content/
DContextWrapper.java309 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { in openOrCreateDatabase() method in ContextWrapper
310 return mBase.openOrCreateDatabase(name, mode, factory); in openOrCreateDatabase()
314 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, in openOrCreateDatabase() method in ContextWrapper
316 return mBase.openOrCreateDatabase(name, mode, factory, errorHandler); in openOrCreateDatabase()
DContext.java1611 public abstract SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in Context
1638 public abstract SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in Context
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java793 public static SQLiteDatabase openOrCreateDatabase(@NonNull File file, in openOrCreateDatabase() method in SQLiteDatabase
795 return openOrCreateDatabase(file.getPath(), factory); in openOrCreateDatabase()
801 public static SQLiteDatabase openOrCreateDatabase(@NonNull String path, in openOrCreateDatabase() method in SQLiteDatabase
809 public static SQLiteDatabase openOrCreateDatabase(@NonNull String path, in openOrCreateDatabase() method in SQLiteDatabase
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java250 public SQLiteDatabase openOrCreateDatabase(String file, int mode, in openOrCreateDatabase() method in MockContext
256 public SQLiteDatabase openOrCreateDatabase(String file, int mode, in openOrCreateDatabase() method in MockContext
/frameworks/base/test-mock/api/
Dcurrent.txt101 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.dat…
102 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.dat…
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1586 public SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, CursorFactory arg2) { in openOrCreateDatabase() method in BridgeContext
1592 public SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, in openOrCreateDatabase() method in BridgeContext
/frameworks/base/core/java/android/app/
DContextImpl.java796 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { in openOrCreateDatabase() method in ContextImpl
797 return openOrCreateDatabase(name, mode, factory, null); in openOrCreateDatabase()
801 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, in openOrCreateDatabase() method in ContextImpl
/frameworks/base/core/java/android/database/
DDatabaseUtils.java1457 SQLiteDatabase db = context.openOrCreateDatabase(dbName, 0, null); in createDbFromSqlStatements()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java378 db = context.openOrCreateDatabase("device-properties", Context.MODE_PRIVATE, null); in initDeviceProperties()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java3186 SQLiteDatabase ceDb = context.openOrCreateDatabase(dbName, 0, null); in readNumberOfAccountsFromDbFile()
3266 public SQLiteDatabase openOrCreateDatabase(String file, int mode, in openOrCreateDatabase() method in AccountManagerServiceTest.MyMockContext
3268 return mTestContext.openOrCreateDatabase(file, mode, factory,errorHandler); in openOrCreateDatabase()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7185 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.Strin…
7186 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.Strin…
7351 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
7352 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
9829 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.io.File, and…
9830 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String,…
9831 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String,…
29241 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
29242 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
/frameworks/base/api/
Dcurrent.txt9754 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, an…
9755 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, an…
9956 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.dat…
9957 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.dat…
12946 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(@NonNull java.io.…
12947 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(@NonNull String, …
12948 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(@NonNull String, …

12