Home
last modified time | relevance | path

Searched refs:compileStatement (Results 1 – 20 of 20) sorted by relevance

/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java434 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
551 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
571 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
589 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
696 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
737 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
782 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
847 stmt = db.compileStatement("INSERT INTO system(name,value)" in onUpgrade()
1895 insertStmt = db.compileStatement("INSERT " in moveSettingsToNewTable()
1931 insertStmt = db.compileStatement("INSERT INTO " + destTable in movePrefixedSettingsToNewTable()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseStatementTest.java82 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); in testExecuteStatement()
96 mDatabase.compileStatement("SELECT num FROM test WHERE str = ?"); in testSimpleQuery()
98 mDatabase.compileStatement("SELECT str FROM test WHERE num = ?"); in testSimpleQuery()
131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementLongBinding()
153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementStringBinding()
175 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementClearBindings()
222 mDatabase.compileStatement("INSERT INTO test (num, str) VALUES (?, ?)"); in testStatementMultipleBindings()
285 mDatabase.compileStatement("INSERT INTO test (num, str) VALUES (?, ?)"); in testStatementMultiThreaded()
299 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); in testStatementConstraint()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/provider/
H A DDvrDatabaseHelper.java375 db.compileStatement(SQL_INSERT_SCHEDULES_WITH_TIME_OFFSET); in insertSchedules()
383 SQLiteStatement statement = db.compileStatement(SQL_INSERT_SCHEDULES); in insertSchedules()
404 db.compileStatement(SQL_UPDATE_SCHEDULES_WITH_TIME_OFFSET); in updateSchedules()
413 SQLiteStatement statement = db.compileStatement(SQL_UPDATE_SCHEDULES); in updateSchedules()
431 SQLiteStatement statement = db.compileStatement(SQL_DELETE_SCHEDULES); in deleteSchedules()
448 SQLiteStatement statement = db.compileStatement(SQL_INSERT_SERIES_RECORDINGS); in insertSeriesRecordings()
466 SQLiteStatement statement = db.compileStatement(SQL_UPDATE_SERIES_RECORDINGS); in updateSeriesRecordings()
485 SQLiteStatement statement = db.compileStatement(SQL_DELETE_SERIES_RECORDINGS); in deleteSeriesRecordings()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSynchronousContactsProvider2.java189 db.compileStatement("SELECT _id FROM raw_contacts LIMIT 1 OFFSET " + maxContact)
196 return db.compileStatement("SELECT COUNT(*) FROM raw_contacts").simpleQueryForLong();
201 return db.compileStatement("SELECT COUNT(*) FROM contacts").simpleQueryForLong();
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DAbstractContactAggregator.java311 mRawContactCountQuery = db.compileStatement( in AbstractContactAggregator()
317 mAggregatedPresenceDelete = db.compileStatement( in AbstractContactAggregator()
321 mMarkForAggregation = db.compileStatement( in AbstractContactAggregator()
327 mPhotoIdUpdate = db.compileStatement( in AbstractContactAggregator()
332 mDisplayNameUpdate = db.compileStatement( in AbstractContactAggregator()
337 mLookupKeyUpdate = db.compileStatement( in AbstractContactAggregator()
364 mContactIdAndMarkAggregatedUpdate = db.compileStatement( in AbstractContactAggregator()
370 mContactIdUpdate = db.compileStatement( in AbstractContactAggregator()
375 mPresenceContactIdUpdate = db.compileStatement( in AbstractContactAggregator()
383 mResetPinnedForRawContact = db.compileStatement( in AbstractContactAggregator()
[all …]
H A DProfileAggregator.java79 SQLiteStatement profileContactIdLookup = db.compileStatement( in aggregateContact()
/aosp12/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java197 try (SQLiteStatement st = db.compileStatement(sql)) { in executeInsert()
206 try (SQLiteStatement st = db.compileStatement(sql)) { in executeUpdateDelete()
1003 SQLiteStatement prog = db.compileStatement(query); in longForQuery()
1025 SQLiteStatement prog = db.compileStatement(query); in stringForQuery()
1050 SQLiteStatement prog = db.compileStatement(query); in blobFileDescriptorForQuery()
1261 mReplaceStatement = mDb.compileStatement(replaceSQL); in getStatement()
1267 mInsertStatement = mDb.compileStatement(mInsertSQL); in getStatement()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java2761 final SQLiteStatement nameLookupInsert = db.compileStatement( in insertNameLookup()
3232 final SQLiteStatement update = db.compileStatement( in upgradeToVersion1101()
3752 final SQLiteStatement query = db.compileStatement(sql); in queryIdWithOneArg()
3767 final SQLiteStatement insert = db.compileStatement(sql); in insertWithOneArgAndReturnId()
3950 final SQLiteStatement select = getWritableDatabase().compileStatement( in getAccountIdOrNull()
3988 final SQLiteStatement insert = getWritableDatabase().compileStatement( in getOrCreateAccountIdInTransaction()
4035 final SQLiteStatement insert = getWritableDatabase().compileStatement( in createSimAccountIdInTransaction()
4155 final SQLiteStatement contactInDefaultDirectoryQuery = db.compileStatement( in isContactInDefaultDirectory()
4202 final SQLiteStatement contactIdQuery = getWritableDatabase().compileStatement( in getContactId()
4581 .compileStatement( in insertStatusUpdate()
[all …]
H A DLegacyApiSupport.java500 mDataMimetypeQuery = db.compileStatement( in LegacyApiSupport()
505 mDataRawContactIdQuery = db.compileStatement( in LegacyApiSupport()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DDatabaseWrapper.java96 compiled = mDatabase.compileStatement(statement); in getStatementInTransaction()
465 final SQLiteStatement statement = mDatabase.compileStatement(sql); in execSQLUpdateDelete()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DDatabaseUtils.java455 try (SQLiteStatement st = db.compileStatement(sql)) { in executeInsert()
466 try (SQLiteStatement st = db.compileStatement(sql)) { in executeUpdateDelete()
/aosp12/packages/apps/Dialer/java/com/android/dialer/database/
H A DDialerDatabaseHelper.java536 final SQLiteStatement insert = db.compileStatement(sqlInsert); in insertUpdatedContactsAndNumberPrefix()
547 final SQLiteStatement numberInsert = db.compileStatement(numberSqlInsert); in insertUpdatedContactsAndNumberPrefix()
635 final SQLiteStatement insert = db.compileStatement(sqlInsert); in insertNamePrefixes()
/aosp12/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java1221 public SQLiteStatement compileStatement(String sql) throws SQLException { in compileStatement() method in SQLiteDatabase
2459 prog = compileStatement("PRAGMA " + p.first + ".integrity_check(1);"); in isDatabaseIntegrityOk()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherProvider.java944 SQLiteStatement updateStmt = db.compileStatement("UPDATE favorites SET itemType=" in convertShortcutsToLauncherActivities()
1071 try (SQLiteStatement prog = db.compileStatement( in getMaxId()
/aosp12/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountsDb.java1328 return db.compileStatement(sql); in compileSqlStatementForLogging()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt6117 HSPLandroid/database/sqlite/SQLiteDatabase;->compileStatement(Ljava/lang/String;)Landroid/database/…
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt14010 …method public android.database.sqlite.SQLiteStatement compileStatement(String) throws android.data…
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt9797 …method public android.database.sqlite.SQLiteStatement compileStatement(java.lang.String) throws an…
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt6115 HSPLandroid/database/sqlite/SQLiteDatabase;->compileStatement(Ljava/lang/String;)Landroid/database/…