/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseStatementTest.java | 82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); in testExecuteStatement() local 83 statement.execute(); in testExecuteStatement() 88 statement.close(); in testExecuteStatement() 131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementLongBinding() local 134 statement.bindLong(1, i); in testStatementLongBinding() 135 statement.execute(); in testStatementLongBinding() 137 statement.close(); in testStatementLongBinding() 153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementStringBinding() local 156 statement.bindString(1, Long.toHexString(i)); in testStatementStringBinding() 157 statement.execute(); in testStatementStringBinding() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 501 final PreparedStatement statement = acquirePreparedStatement(sql); in prepare() local 504 outStatementInfo.numParameters = statement.mNumParameters; in prepare() 505 outStatementInfo.readOnly = statement.mReadOnly; in prepare() 508 mConnectionPtr, statement.mStatementPtr); in prepare() 515 mConnectionPtr, statement.mStatementPtr, i); in prepare() 520 releasePreparedStatement(statement); in prepare() 549 final PreparedStatement statement = acquirePreparedStatement(sql); in execute() local 551 throwIfStatementForbidden(statement); in execute() 552 bindArguments(statement, bindArgs); in execute() 553 applyBlockGuardPolicy(statement); in execute() [all …]
|
D | SQLiteDatabase.java | 1546 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in insertWithOnConflict() local 1548 return statement.executeInsert(); in insertWithOnConflict() 1550 statement.close(); in insertWithOnConflict() 1573 SQLiteStatement statement = new SQLiteStatement(this, "DELETE FROM " + table + in delete() local 1576 return statement.executeUpdateDelete(); in delete() 1578 statement.close(); in delete() 1651 SQLiteStatement statement = new SQLiteStatement(this, sql.toString(), bindArgs); in updateWithOnConflict() local 1653 return statement.executeUpdateDelete(); in updateWithOnConflict() 1655 statement.close(); in updateWithOnConflict() 1753 SQLiteStatement statement = new SQLiteStatement(this, sql, bindArgs); in executeSql() local [all …]
|
/frameworks/support/persistence/db/src/main/java/android/arch/persistence/db/ |
D | SimpleSQLiteQuery.java | 53 public void bindTo(SupportSQLiteProgram statement) { in bindTo() argument 54 bind(statement, mBindArgs); in bindTo() 63 public static void bind(SupportSQLiteProgram statement, Object[] bindArgs) { in bind() argument 70 bind(statement, i + 1, arg); in bind() 74 private static void bind(SupportSQLiteProgram statement, int index, Object arg) { in bind() argument 77 statement.bindNull(index); in bind() 79 statement.bindBlob(index, (byte[]) arg); in bind() 81 statement.bindDouble(index, (Float) arg); in bind() 83 statement.bindDouble(index, (Double) arg); in bind() 85 statement.bindLong(index, (Long) arg); in bind() [all …]
|
D | SupportSQLiteQuery.java | 37 void bindTo(SupportSQLiteProgram statement); in bindTo() argument
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Statement.java | 106 Statement statement = (Statement) o; in equals() local 108 if (!mRelation.equals(statement.mRelation)) { in equals() 111 if (!mTarget.equals(statement.mTarget)) { in equals() 114 if (!mSource.equals(statement.mSource)) { in equals() 131 StringBuilder statement = new StringBuilder(); in toString() local 132 statement.append("Statement: "); in toString() 133 statement.append(mSource); in toString() 134 statement.append(", "); in toString() 135 statement.append(mTarget); in toString() 136 statement.append(", "); in toString() [all …]
|
D | StatementParser.java | 85 JSONObject statement = JsonParser.parse(reader); in parseStatement() local 87 if (statement.optString(Utils.DELEGATE_FIELD_DELEGATE, null) != null) { in parseStatement() 88 delegates.add(statement.optString(Utils.DELEGATE_FIELD_DELEGATE)); in parseStatement() 90 JSONObject targetObject = statement.optJSONObject(Utils.ASSET_DESCRIPTOR_FIELD_TARGET); in parseStatement() 96 JSONArray relations = statement.optJSONArray(Utils.ASSET_DESCRIPTOR_FIELD_RELATION); in parseStatement()
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 302 sqlite3_stmt* statement; in nativePrepareStatement() local 304 sql, sqlLength * sizeof(jchar), &statement, NULL); in nativePrepareStatement() 323 ALOGV("Prepared statement %p on connection %p", statement, connection->db); in nativePrepareStatement() 324 return reinterpret_cast<jlong>(statement); in nativePrepareStatement() 330 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); in nativeFinalizeStatement() local 335 ALOGV("Finalized statement %p on connection %p", statement, connection->db); in nativeFinalizeStatement() 336 sqlite3_finalize(statement); in nativeFinalizeStatement() 341 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); in nativeGetParameterCount() local 343 return sqlite3_bind_parameter_count(statement); in nativeGetParameterCount() 348 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); in nativeIsReadOnly() local [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | AndroidTestingRunner.java | 17 import android.support.test.internal.runner.junit4.statement.RunAfters; 18 import android.support.test.internal.runner.junit4.statement.RunBefores; 19 import android.support.test.internal.runner.junit4.statement.UiThreadStatement; 56 final Statement statement = super.methodInvoker(method, test); in methodInvoker() local 57 return shouldRunOnUiThread(method) ? new UiThreadStatement(statement, true) : statement; in methodInvoker() 60 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores() argument 63 return befores.isEmpty() ? statement : new RunBefores(method, statement, in withBefores() 67 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument 70 return afters.isEmpty() ? statement : new RunAfters(method, statement, afters, in withAfters()
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/parser/ |
D | SqlParser.kt | 33 statement: ParseTree) : SQLiteBaseVisitor<Void?>() { 41 queryType = (0..statement.childCount - 1).map { in <lambda>() 42 findQueryType(statement.getChild(it)) in <lambda>() 45 statement.accept(this) 48 private fun findQueryType(statement: ParseTree): QueryType { in findQueryType() 49 return when (statement) { in findQueryType() 65 is TerminalNode -> when (statement.text) { in findQueryType() 149 val statement = statements.first() in parse() constant 150 return QueryVisitor(input, syntaxErrors, statement).createParsedQuery() in parse()
|
/frameworks/base/tools/aapt2/java/ |
D | ClassDefinition.cpp | 29 void MethodDefinition::AppendStatement(const StringPiece& statement) { in AppendStatement() argument 30 statements_.push_back(statement.to_string()); in AppendStatement() 36 for (const auto& statement : statements_) { in WriteToStream() local 37 *out << prefix << " " << statement << "\n"; in WriteToStream()
|
D | ClassDefinition.h | 178 void AppendStatement(const android::StringPiece& statement);
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | WakeLockRule.java | 37 public Statement apply(final Statement statement, Description description) { in apply() argument 44 statement.evaluate(); in apply()
|
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/ |
D | SharedSQLiteStatement.java | 95 public void release(SupportSQLiteStatement statement) { in release() argument 96 if (statement == mStmt) { in release()
|
D | EntityDeletionOrUpdateAdapter.java | 57 protected abstract void bind(SupportSQLiteStatement statement, T entity); in bind() argument
|
D | EntityInsertionAdapter.java | 53 protected abstract void bind(SupportSQLiteStatement statement, T entity); in bind() argument
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | DirectStatementService.java | 239 for (Statement statement : statements.getStatements()) { in verifyOneSource() 240 if (relation.matches(statement.getRelation()) in verifyOneSource() 241 && target.matches(statement.getTarget())) { in verifyOneSource()
|
/frameworks/support/persistence/db-framework/src/main/java/android/arch/persistence/db/framework/ |
D | FrameworkSQLiteDatabase.java | 194 SupportSQLiteStatement statement = compileStatement(query); 195 SimpleSQLiteQuery.bind(statement, whereArgs); 196 return statement.executeUpdateDelete();
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 55 TimedStatement(Statement statement, int warmUpIterations, int runs, in TimedStatement() argument 57 mStatement = statement; in TimedStatement()
|
/frameworks/support/room/runtime/src/test/java/android/arch/persistence/room/ |
D | InvalidationTrackerTest.java | 73 final SupportSQLiteStatement statement = mock(SupportSQLiteStatement.class); in setup() local 76 doReturn(statement).when(sqliteDb).compileStatement(eq(InvalidationTracker.CLEANUP_SQL)); in setup()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 1369 for (String statement : statements) { in createDbFromSqlStatements() 1370 if (TextUtils.isEmpty(statement)) continue; in createDbFromSqlStatements() 1371 db.execSQL(statement); in createDbFromSqlStatements()
|
/frameworks/support/ |
D | LICENSE.txt | 124 You may add Your own copyright statement to Your modifications and
|
/frameworks/support/lifecycle/compiler/src/main/resources/ |
D | NOTICE.txt | 129 You may add Your own copyright statement to Your modifications and 366 You may add Your own copyright statement to Your modifications and 576 You may add Your own copyright statement to Your modifications and 786 You may add Your own copyright statement to Your modifications and 996 You may add Your own copyright statement to Your modifications and
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | NOTICE | 136 You may add Your own copyright statement to Your modifications and
|
/frameworks/base/data/fonts/ |
D | NOTICE | 136 You may add Your own copyright statement to Your modifications and
|