/frameworks/base/core/java/android/database/sqlite/ |
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 | SQLiteProgram.java | 44 SQLiteProgram(SQLiteDatabase db, String sql, Object[] bindArgs, in SQLiteProgram() argument 71 if (bindArgs != null && bindArgs.length > mNumParameters) { in SQLiteProgram() 73 + bindArgs.length + " arguments were provided but the statement needs " in SQLiteProgram() 79 if (bindArgs != null) { in SQLiteProgram() 80 System.arraycopy(bindArgs, 0, mBindArgs, 0, bindArgs.length); in SQLiteProgram() 201 public void bindAllArgsAsStrings(String[] bindArgs) { in bindAllArgsAsStrings() argument 202 if (bindArgs != null) { in bindAllArgsAsStrings() 203 for (int i = bindArgs.length; i != 0; i--) { in bindAllArgsAsStrings() 204 bindString(i, bindArgs[i - 1]); in bindAllArgsAsStrings()
|
D | SQLiteConnection.java | 713 public void execute(String sql, Object[] bindArgs, in execute() argument 719 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute() 726 bindArguments(statement, bindArgs); in execute() 758 public long executeForLong(String sql, Object[] bindArgs, in executeForLong() argument 764 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); in executeForLong() 769 bindArguments(statement, bindArgs); in executeForLong() 803 public String executeForString(String sql, Object[] bindArgs, in executeForString() argument 809 final int cookie = mRecentOperations.beginOperation("executeForString", sql, bindArgs); in executeForString() 814 bindArguments(statement, bindArgs); in executeForString() 850 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 | 33 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement() argument 34 super(db, sql, bindArgs, null); in SQLiteStatement()
|
D | SQLiteDatabase.java | 1232 public void execPerConnectionSQL(@NonNull String sql, @Nullable Object[] bindArgs) in execPerConnectionSQL() argument 1238 bindArgs = DatabaseUtils.deepCopyOf(bindArgs); in execPerConnectionSQL() 1244 mConfigurationLocked.perConnectionSql.add(Pair.create(sql, bindArgs)); in execPerConnectionSQL() 1845 Object[] bindArgs = null; in insertWithOnConflict() local 1849 bindArgs = new Object[size]; in insertWithOnConflict() 1854 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict() 1866 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in insertWithOnConflict() 1953 Object[] bindArgs = new Object[bindArgsSize]; in updateWithOnConflict() local 1958 bindArgs[i++] = values.get(colName); in updateWithOnConflict() 1963 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict() [all …]
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 196 @Nullable Object[] bindArgs) throws SQLException { in executeInsert() argument 198 bindArgs(st, bindArgs); in executeInsert() 205 @Nullable Object[] bindArgs) throws SQLException { in executeUpdateDelete() argument 207 bindArgs(st, bindArgs); in executeUpdateDelete() 213 private static void bindArgs(@NonNull SQLiteStatement st, @Nullable Object[] bindArgs) { in bindArgs() method in DatabaseUtils 214 if (bindArgs == null) return; in bindArgs() 216 for (int i = 0; i < bindArgs.length; i++) { in bindArgs() 217 final Object bindArg = bindArgs[i]; in bindArgs()
|
/frameworks/base/core/api/ |
D | test-lint-baseline.txt | 329 Missing nullability on parameter `bindArgs` in method `setBindArguments`
|