Home
last modified time | relevance | path

Searched refs:nStatement (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteCompiledSql.java48 /* package */ int nStatement = 0; field in SQLiteCompiledSql
70 if (nStatement != 0) { in releaseSqlStatement()
71 mDatabase.finalizeStatementLater(nStatement); in releaseSqlStatement()
72 nStatement = 0; in releaseSqlStatement()
105 if (nStatement == 0) return; in finalize()
108 if (mDatabase.isInQueueOfStatementsToBeFinalized(nStatement)) { in finalize()
133 buff.append(nStatement); in toString()
DSQLiteProgram.java62 protected int nStatement; field in SQLiteProgram
135 nStatement = mCompiledSql.nStatement; in compileSql()
154 int last = mCompiledSql.nStatement; in compileSql()
163 nStatement = mCompiledSql.nStatement; in compileSql()
185 nStatement = 0; in release()
205 return (mCompiledSql == null) ? 0 : nStatement; in getSqlStatementId()
228 if (nStatement > 0) { in bind()
321 if (this.nStatement == 0) { in clearBindings()
359 if (nStatement == 0) { in compileAndbindAllArgs()
DSQLiteQuery.java83 int numRows = nativeFillWindow(nHandle, nStatement, window.mWindowPtr, in fillWindow()
115 return nativeColumnCount(nStatement); in columnCountLocked()
131 return nativeColumnName(nStatement, columnIndex); in columnNameLocked()
DSQLiteDatabase.java1160 if (compiledSql.nStatement == stmtId) {
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteStatementTest.java157 assertEquals(0, stmt.nStatement); in verifyReferenceToPrecompiledStatementId()
173 assertEquals(0, stmt.nStatement); in verifyReferenceToPrecompiledStatementId()
179 assertEquals(0, stmt.nStatement); in verifyReferenceToPrecompiledStatementId()
187 assertEquals(0, stmt.nStatement); in verifyReferenceToPrecompiledStatementId()
193 assertEquals(0, stmt.nStatement); in verifyReferenceToPrecompiledStatementId()
201 assertEquals(0, stmt.nStatement); in verifyReferenceToPrecompiledStatementId()
207 assertEquals(0, stmt.nStatement); in verifyReferenceToPrecompiledStatementId()
DSQLiteDatabaseTest.java462 assertTrue(stmtObjs.contains(compSql.nStatement)); in testLruCachingOfSqliteCompiledSqlObjs()
/frameworks/base/api/
Dcurrent.txt7303 field protected deprecated int nStatement;
D14.txt7303 field protected deprecated int nStatement;