Home
last modified time | relevance | path

Searched refs:bindArgs (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java609 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 …]
DSQLiteProgram.java44 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()
DSQLiteConnection.java713 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 …]
DSQLiteCursorDriver.java34 Cursor query(CursorFactory factory, String[] bindArgs); in query() argument
55 public void setBindArguments(String[] bindArgs); in setBindArguments() argument
DSQLiteDirectCursorDriver.java69 public void setBindArguments(String[] bindArgs) { in setBindArguments() argument
70 mQuery.bindAllArgsAsStrings(bindArgs); in setBindArguments()
DSQLiteStatement.java33 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement() argument
34 super(db, sql, bindArgs, null); in SQLiteStatement()
DSQLiteDatabase.java1232 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/
DDatabaseUtils.java196 @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/
Dtest-lint-baseline.txt329 Missing nullability on parameter `bindArgs` in method `setBindArguments`