Home
last modified time | relevance | path

Searched refs:openParams (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java125 @NonNull SQLiteDatabase.OpenParams openParams) { in SQLiteOpenHelper() argument
126 this(context, name, version, 0, openParams.toBuilder()); in SQLiteOpenHelper()
247 public void setOpenParams(@NonNull SQLiteDatabase.OpenParams openParams) { in setOpenParams() argument
248 Preconditions.checkNotNull(openParams); in setOpenParams()
254 setOpenParamsBuilder(new SQLiteDatabase.OpenParams.Builder(openParams)); in setOpenParams()
DSQLiteDatabase.java747 @NonNull OpenParams openParams) { in openDatabase() argument
748 return openDatabase(path.getPath(), openParams); in openDatabase()
753 @NonNull OpenParams openParams) { in openDatabase() argument
754 Preconditions.checkArgument(openParams != null, "OpenParams cannot be null"); in openDatabase()
755 SQLiteDatabase db = new SQLiteDatabase(path, openParams.mOpenFlags, in openDatabase()
756 openParams.mCursorFactory, openParams.mErrorHandler, in openDatabase()
757 openParams.mLookasideSlotSize, openParams.mLookasideSlotCount, in openDatabase()
758 openParams.mIdleConnectionTimeout, openParams.mJournalMode, openParams.mSyncMode); in openDatabase()
954 public static SQLiteDatabase createInMemory(@NonNull OpenParams openParams) { in createInMemory() argument
956 openParams.toBuilder().addOpenFlags(CREATE_IF_NECESSARY).build()); in createInMemory()