/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseStatementTest.java | 82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); 83 statement.execute(); 88 statement.close(); 131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); 134 statement.bindLong(1, i); 135 statement.execute(); 137 statement.close(); 153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); 156 statement.bindString(1, Long.toHexString(i)); 157 statement 249 StatementTestThread(SQLiteDatabase db, SQLiteStatement statement) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 115 // Because SQLite statement execution can be reentrant, we keep track of how many 421 // Update prepared statement cache size. 448 // Returns true if the prepared statement cache contains the specified SQL. 470 * Prepares a statement for execution but does not bind its parameters or execute it. 473 * prior to execution of the statement. If the {@code outStatementInfo} argument 475 * with information about the statement. 477 * A prepared statement makes no reference to the arguments that may eventually 479 * such as SELECT or INSERT/UPDATE statements. If the statement is cacheable, 483 * provides a method to acquire a connection that already has a given SQL statement 484 * in its prepared statement cach 911 releasePreparedStatement(PreparedStatement statement) argument 934 finalizePreparedStatement(PreparedStatement statement) argument 979 bindArguments(PreparedStatement statement, Object[] bindArgs) argument 1023 throwIfStatementForbidden(PreparedStatement statement) argument 1038 applyBlockGuardPolicy(PreparedStatement statement) argument 1199 recyclePreparedStatement(PreparedStatement statement) argument [all...] |
H A D | SQLiteDatabase.java | 249 * Each prepared-statement is between 1K - 6K, depending on the complexity of the 250 * SQL statement & schema. A large SQL cache may use a significant amount of memory. 978 * Compiles an SQL statement into a reusable pre-compiled statement object. 980 * statement and fill in those values with {@link SQLiteProgram#bindString} 982 * statement. Statements may not return result sets larger than 1x1. 986 * @param sql The raw SQL statement, may contain ? for unknown values to be 1469 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); 1471 return statement.executeInsert(); 1473 statement [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 91 // Called each time a statement begins execution, when tracing is enabled. 98 // Called each time a statement finishes execution, when profiling is enabled. 289 sqlite3_stmt* statement; local 291 sql, sqlLength * sizeof(jchar), &statement, NULL); 310 ALOGV("Prepared statement %p on connection %p", statement, connection->db); 311 return reinterpret_cast<jlong>(statement); 317 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 320 // whether any errors occurred while executing the statement. The statement itsel 329 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 337 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 345 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 353 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 369 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 380 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 391 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 402 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 417 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 431 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 442 executeNonQuery(JNIEnv* env, SQLiteConnection* connection, sqlite3_stmt* statement) argument 456 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 464 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 473 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 480 executeOneRowQuery(JNIEnv* env, SQLiteConnection* connection, sqlite3_stmt* statement) argument 491 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 503 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 553 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 574 copyRow(JNIEnv* env, CursorWindow* window, sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) argument 671 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 96 buffer_type statement; member in struct:import_info 112 main_import_parsed(buffer_type* statement) argument 117 import->statement.lineno = statement->lineno; 118 import->statement.data = strdup(statement->data); 119 import->statement.extra = NULL; 121 import->neededClass = parse_import_statement(statement->data); 160 import_import_parsed(buffer_type* statement) argument 968 import->from, import->statement [all...] |
H A D | aidl_language.h | 146 void (*import)(buffer_type* statement);
|
H A D | AST.cpp | 232 StatementBlock::Add(Statement* statement) argument 234 this->statements.push_back(statement);
|
H A D | AST.h | 125 void Add(Statement* statement);
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 976 * the same statement. 1060 if (DEBUG) Log.v(TAG, "insert statement is " + mInsertSQL); 1086 * @param allowReplace if true, the statement does "INSERT OR 1352 for (String statement : statements) { 1353 if (TextUtils.isEmpty(statement)) continue; 1354 db.execSQL(statement); 1361 * Returns one of the following which represent the type of the given SQL statement. 1371 * @param sql the SQL statement whose type is returned by this method
|