/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteSession.java | 607 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute() argument 613 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in execute() 619 mConnection.execute(sql, bindArgs, cancellationSignal); // might throw in execute() 640 public long executeForLong(String sql, Object[] bindArgs, int connectionFlags, in executeForLong() argument 646 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in executeForLong() 652 return mConnection.executeForLong(sql, bindArgs, cancellationSignal); // might throw in executeForLong() 673 public String executeForString(String sql, Object[] bindArgs, int connectionFlags, in executeForString() argument 679 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in executeForString() 685 return mConnection.executeForString(sql, bindArgs, cancellationSignal); // might throw in executeForString() 708 public ParcelFileDescriptor executeForBlobFileDescriptor(String sql, Object[] bindArgs, in executeForBlobFileDescriptor() argument [all …]
|
D | SQLiteProgram.java | 40 SQLiteProgram(SQLiteDatabase db, String sql, Object[] bindArgs, in SQLiteProgram() argument 67 if (bindArgs != null && bindArgs.length > mNumParameters) { in SQLiteProgram() 69 + bindArgs.length + " arguments were provided but the statement needs " in SQLiteProgram() 75 if (bindArgs != null) { in SQLiteProgram() 76 System.arraycopy(bindArgs, 0, mBindArgs, 0, bindArgs.length); in SQLiteProgram() 197 public void bindAllArgsAsStrings(String[] bindArgs) { in bindAllArgsAsStrings() argument 198 if (bindArgs != null) { in bindAllArgsAsStrings() 199 for (int i = bindArgs.length; i != 0; i--) { in bindAllArgsAsStrings() 200 bindString(i, bindArgs[i - 1]); in bindAllArgsAsStrings()
|
D | SQLiteConnection.java | 540 public void execute(String sql, Object[] bindArgs, in execute() argument 546 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() 551 bindArguments(statement, bindArgs); in execute() 583 public long executeForLong(String sql, Object[] bindArgs, in executeForLong() argument 589 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); in executeForLong() 594 bindArguments(statement, bindArgs); in executeForLong() 626 public String executeForString(String sql, Object[] bindArgs, in executeForString() argument 632 final int cookie = mRecentOperations.beginOperation("executeForString", sql, bindArgs); in executeForString() 637 bindArguments(statement, bindArgs); in executeForString() 671 public ParcelFileDescriptor executeForBlobFileDescriptor(String sql, Object[] bindArgs, in executeForBlobFileDescriptor() argument [all …]
|
D | SQLiteCursorDriver.java | 34 Cursor query(CursorFactory factory, String[] bindArgs); in query() argument 55 public void setBindArguments(String[] bindArgs); in setBindArguments() argument
|
D | SQLiteDatabase.java | 1449 Object[] bindArgs = null; in insertWithOnConflict() local 1453 bindArgs = new Object[size]; in insertWithOnConflict() 1458 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict() 1470 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in insertWithOnConflict() 1557 Object[] bindArgs = new Object[bindArgsSize]; in updateWithOnConflict() local 1562 bindArgs[i++] = values.get(colName); in updateWithOnConflict() 1567 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict() 1575 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in updateWithOnConflict() 1652 public void execSQL(String sql, Object[] bindArgs) throws SQLException { in execSQL() argument 1653 if (bindArgs == null) { in execSQL() [all …]
|
D | SQLiteDirectCursorDriver.java | 67 public void setBindArguments(String[] bindArgs) { in setBindArguments() argument 68 mQuery.bindAllArgsAsStrings(bindArgs); in setBindArguments()
|
D | SQLiteStatement.java | 30 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement() argument 31 super(db, sql, bindArgs, null); in SQLiteStatement()
|