Home | History | Annotate | Download | only in sqlite

Lines Matching defs:OpenParams

718      * Open the database according to the specified {@link OpenParams parameters}
723 * @param openParams configuration parameters that are used for opening {@link SQLiteDatabase}
728 @NonNull OpenParams openParams) {
729 return openDatabase(path.getPath(), openParams);
733 @NonNull OpenParams openParams) {
734 Preconditions.checkArgument(openParams != null, "OpenParams cannot be null");
735 SQLiteDatabase db = new SQLiteDatabase(path, openParams.mOpenFlags,
736 openParams.mCursorFactory, openParams.mErrorHandler,
737 openParams.mLookasideSlotSize, openParams.mLookasideSlotCount,
738 openParams.mIdleConnectionTimeout, openParams.mJournalMode, openParams.mSyncMode);
914 * @param openParams configuration parameters that are used for opening SQLiteDatabase
919 public static SQLiteDatabase createInMemory(@NonNull OpenParams openParams) {
921 openParams.toBuilder().addOpenFlags(CREATE_IF_NECESSARY).build());
2317 public static final class OpenParams {
2327 private OpenParams(int openFlags, CursorFactory cursorFactory,
2425 * Creates a new instance of builder {@link Builder#Builder(OpenParams) initialized} with
2435 * Builder for {@link OpenParams}.
2450 public Builder(OpenParams params) {
2614 * Creates an instance of {@link OpenParams} with the options that were previously set
2618 public OpenParams build() {
2619 return new OpenParams(mOpenFlags, mCursorFactory, mErrorHandler, mLookasideSlotSize,