/frameworks/base/core/java/android/database/sqlite/ |
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 | 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 | SQLiteConnection.java | 538 public void execute(String sql, Object[] bindArgs, in execute() argument 544 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() 549 bindArguments(statement, bindArgs); in execute() 581 public long executeForLong(String sql, Object[] bindArgs, in executeForLong() argument 587 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); in executeForLong() 592 bindArguments(statement, bindArgs); in executeForLong() 624 public String executeForString(String sql, Object[] bindArgs, in executeForString() argument 630 final int cookie = mRecentOperations.beginOperation("executeForString", sql, bindArgs); in executeForString() 635 bindArguments(statement, bindArgs); in executeForString() 669 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 | 1448 Object[] bindArgs = null; in insertWithOnConflict() local 1452 bindArgs = new Object[size]; in insertWithOnConflict() 1457 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict() 1469 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in insertWithOnConflict() 1556 Object[] bindArgs = new Object[bindArgsSize]; in updateWithOnConflict() local 1561 bindArgs[i++] = values.get(colName); in updateWithOnConflict() 1566 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict() 1574 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in updateWithOnConflict() 1651 public void execSQL(String sql, Object[] bindArgs) throws SQLException { in execSQL() argument 1652 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()
|