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.java145 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in RenamingDelegatingContext
152 return mFileContext.openOrCreateDatabase(internalName, mode, factory); in openOrCreateDatabase()
156 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in RenamingDelegatingContext
163 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.java51 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
DDatabaseGeneralTest.java63 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
1065 SQLiteDatabase memoryDb = SQLiteDatabase.openOrCreateDatabase(":memory:", null); in testDefaultDatabaseErrorHandler()
1076 SQLiteDatabase dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()
1093 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()
1116 dbObj = SQLiteDatabase.openOrCreateDatabase(mDatabase.getPath(), null); in testDefaultDatabaseErrorHandler()
DDatabaseStatementTest.java50 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
DDatabaseCursorTest.java61 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
DNewDatabasePerformanceTests.java50 SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), in setUp()
DDatabasePerformanceTests.java91 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
/frameworks/base/core/java/android/content/
DContextWrapper.java282 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { in openOrCreateDatabase() method in ContextWrapper
283 return mBase.openOrCreateDatabase(name, mode, factory); in openOrCreateDatabase()
287 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, in openOrCreateDatabase() method in ContextWrapper
289 return mBase.openOrCreateDatabase(name, mode, factory, errorHandler); in openOrCreateDatabase()
DContext.java1387 public abstract SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in Context
1418 public abstract SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() method in Context
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java280 SQLiteDatabase ceDb = context.openOrCreateDatabase(dbName, 0, null); in readNumberOfAccountsFromDbFile()
406 public SQLiteDatabase openOrCreateDatabase(String file, int mode, in openOrCreateDatabase() method in AccountManagerServiceTest.MyMockContext
409 return mTestContext.openOrCreateDatabase(file, mode, factory,errorHandler); in openOrCreateDatabase()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java703 public static SQLiteDatabase openOrCreateDatabase(File file, CursorFactory factory) { in openOrCreateDatabase() method in SQLiteDatabase
704 return openOrCreateDatabase(file.getPath(), factory); in openOrCreateDatabase()
710 public static SQLiteDatabase openOrCreateDatabase(String path, CursorFactory factory) { in openOrCreateDatabase() method in SQLiteDatabase
717 public static SQLiteDatabase openOrCreateDatabase(String path, CursorFactory factory, in openOrCreateDatabase() method in SQLiteDatabase
DSQLiteOpenHelper.java223 db = mContext.openOrCreateDatabase(mName, mEnableWriteAheadLogging ? in getDatabaseLocked()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java42 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java236 public SQLiteDatabase openOrCreateDatabase(String file, int mode, in openOrCreateDatabase() method in MockContext
242 public SQLiteDatabase openOrCreateDatabase(String file, int mode, in openOrCreateDatabase() method in MockContext
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogCursorTest.java106 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1499 public SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, CursorFactory arg2) { in openOrCreateDatabase() method in BridgeContext
1505 public SQLiteDatabase openOrCreateDatabase(String arg0, int arg1, in openOrCreateDatabase() method in BridgeContext
/frameworks/base/core/java/android/app/
DContextImpl.java636 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { in openOrCreateDatabase() method in ContextImpl
637 return openOrCreateDatabase(name, mode, factory, null); in openOrCreateDatabase()
641 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, in openOrCreateDatabase() method in ContextImpl
/frameworks/base/core/java/android/database/
DDatabaseUtils.java1367 SQLiteDatabase db = context.openOrCreateDatabase(dbName, 0, null); in createDbFromSqlStatements()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java258 db = context.openOrCreateDatabase("device-properties", Context.MODE_PRIVATE, null); in initDeviceProperties()
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd148 {@link android.content.Context#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.txt8116 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.Strin…
8117 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.Strin…
8299 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
8300 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
10959 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.io.File, and…
10960 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String,…
10961 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String,…
37983 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
37984 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
Dsystem-current.txt8442 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.Strin…
8443 …method public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.Strin…
8636 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
8637 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
11407 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.io.File, and…
11408 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String,…
11409 …method public static android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String,…
41150 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…
41151 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String, int, a…

12