Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
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()
DSQLiteSession.java633 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute() argument
639 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in execute()
645 mConnection.execute(sql, bindArgs, cancellationSignal); // might throw in execute()
666 public long executeForLong(String sql, Object[] bindArgs, int connectionFlags, in executeForLong() argument
672 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in executeForLong()
678 return mConnection.executeForLong(sql, bindArgs, cancellationSignal); // might throw in executeForLong()
699 public String executeForString(String sql, Object[] bindArgs, int connectionFlags, in executeForString() argument
705 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in executeForString()
711 return mConnection.executeForString(sql, bindArgs, cancellationSignal); // might throw in executeForString()
734 public ParcelFileDescriptor executeForBlobFileDescriptor(String sql, Object[] bindArgs, in executeForBlobFileDescriptor() argument
[all …]
DSQLiteConnection.java726 public void execute(String sql, Object[] bindArgs, in execute() argument
732 final int cookie = mRecentOperations.beginOperation("execute", sql, bindArgs); in execute()
739 bindArguments(statement, bindArgs); in execute()
771 public long executeForLong(String sql, Object[] bindArgs, in executeForLong() argument
777 final int cookie = mRecentOperations.beginOperation("executeForLong", sql, bindArgs); in executeForLong()
782 bindArguments(statement, bindArgs); in executeForLong()
816 public String executeForString(String sql, Object[] bindArgs, in executeForString() argument
822 final int cookie = mRecentOperations.beginOperation("executeForString", sql, bindArgs); in executeForString()
827 bindArguments(statement, bindArgs); in executeForString()
863 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.java1310 public void execPerConnectionSQL(@NonNull String sql, @Nullable Object[] bindArgs) in execPerConnectionSQL() argument
1316 bindArgs = DatabaseUtils.deepCopyOf(bindArgs); in execPerConnectionSQL()
1322 mConfigurationLocked.perConnectionSql.add(Pair.create(sql, bindArgs)); in execPerConnectionSQL()
1958 Object[] bindArgs = null; in insertWithOnConflict() local
1962 bindArgs = new Object[size]; in insertWithOnConflict()
1967 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict()
1979 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in insertWithOnConflict()
2071 Object[] bindArgs = new Object[bindArgsSize]; in updateWithOnConflict() local
2076 bindArgs[i++] = values.get(colName); in updateWithOnConflict()
2081 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict()
[all …]
/frameworks/base/core/java/android/database/
DDatabaseUtils.java209 @Nullable Object[] bindArgs) throws SQLException { in executeInsert() argument
211 bindArgs(st, bindArgs); in executeInsert()
218 @Nullable Object[] bindArgs) throws SQLException { in executeUpdateDelete() argument
220 bindArgs(st, bindArgs); in executeUpdateDelete()
226 private static void bindArgs(@NonNull SQLiteStatement st, @Nullable Object[] bindArgs) { in bindArgs() argument
227 if (bindArgs == null) return; in bindArgs()
229 for (int i = 0; i < bindArgs.length; i++) { in bindArgs()
230 final Object bindArg = bindArgs[i]; in bindArgs()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...