/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteProgram.java | 43 SQLiteProgram(SQLiteDatabase db, String sql, Object[] bindArgs, in SQLiteProgram() argument 70 if (bindArgs != null && bindArgs.length > mNumParameters) { in SQLiteProgram() 72 + bindArgs.length + " arguments were provided but the statement needs " in SQLiteProgram() 78 if (bindArgs != null) { in SQLiteProgram() 79 System.arraycopy(bindArgs, 0, mBindArgs, 0, bindArgs.length); in SQLiteProgram() 200 public void bindAllArgsAsStrings(String[] bindArgs) { in bindAllArgsAsStrings() argument 201 if (bindArgs != null) { in bindAllArgsAsStrings() 202 for (int i = bindArgs.length; i != 0; i--) { in bindAllArgsAsStrings() 203 bindString(i, bindArgs[i - 1]); in bindAllArgsAsStrings()
|
D | SQLiteSession.java | 609 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute() argument 615 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in execute() 621 mConnection.execute(sql, bindArgs, cancellationSignal); // might throw in execute() 642 public long executeForLong(String sql, Object[] bindArgs, int connectionFlags, in executeForLong() argument 648 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in executeForLong() 654 return mConnection.executeForLong(sql, bindArgs, cancellationSignal); // might throw in executeForLong() 675 public String executeForString(String sql, Object[] bindArgs, int connectionFlags, in executeForString() argument 681 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in executeForString() 687 return mConnection.executeForString(sql, bindArgs, cancellationSignal); // might throw in executeForString() 710 public ParcelFileDescriptor executeForBlobFileDescriptor(String sql, Object[] bindArgs, in executeForBlobFileDescriptor() argument [all …]
|
D | SQLiteConnection.java | 633 public void execute(String sql, Object[] bindArgs, in execute() argument 639 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() 644 bindArguments(statement, bindArgs); in execute() 676 public long executeForLong(String sql, Object[] bindArgs, in executeForLong() argument 682 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); in executeForLong() 687 bindArguments(statement, bindArgs); in executeForLong() 721 public String executeForString(String sql, Object[] bindArgs, in executeForString() argument 727 final int cookie = mRecentOperations.beginOperation("executeForString", sql, bindArgs); in executeForString() 732 bindArguments(statement, bindArgs); in executeForString() 768 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 | SQLiteDirectCursorDriver.java | 69 public void setBindArguments(String[] bindArgs) { in setBindArguments() argument 70 mQuery.bindAllArgsAsStrings(bindArgs); in setBindArguments()
|
D | SQLiteStatement.java | 32 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement() argument 33 super(db, sql, bindArgs, null); in SQLiteStatement()
|
D | SQLiteDatabase.java | 1576 Object[] bindArgs = null; in insertWithOnConflict() local 1580 bindArgs = new Object[size]; in insertWithOnConflict() 1585 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict() 1597 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in insertWithOnConflict() 1684 Object[] bindArgs = new Object[bindArgsSize]; in updateWithOnConflict() local 1689 bindArgs[i++] = values.get(colName); in updateWithOnConflict() 1694 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict() 1702 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in updateWithOnConflict() 1779 public void execSQL(String sql, Object[] bindArgs) throws SQLException { in execSQL() argument 1780 if (bindArgs == null) { in execSQL() [all …]
|