Home
last modified time | relevance | path

Searched refs:rawQuery (Results 1 – 25 of 44) sorted by relevance

12

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java351 assertEquals(mBadDb.rawQuery("SELECT _id FROM Events;", null).getCount(), 2); in addVersion50Events()
352 assertEquals(mGoodDb.rawQuery("SELECT _id FROM Events;", null).getCount(), 2); in addVersion50Events()
385 assertEquals(mBadDb.rawQuery("SELECT _id FROM Events;", null).getCount(), 2); in addVersion67Events()
386 assertEquals(mGoodDb.rawQuery("SELECT _id FROM Events;", null).getCount(), 2); in addVersion67Events()
401 badCursor = mBadDb.rawQuery("SELECT _id,dtstart,dtend,duration,dtstart2,dtend2," + in testUpgradeToVersion69()
404 goodCursor = mGoodDb.rawQuery("SELECT _id,dtstart,dtend,duration,dtstart2,dtend2," + in testUpgradeToVersion69()
433 badCursor = mBadDb.rawQuery("SELECT _id,dtstart,dtend,duration," + in testUpgradeToCurrentVersion()
436 goodCursor = mGoodDb.rawQuery("SELECT _id,dtstart,dtend,duration," + in testUpgradeToCurrentVersion()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java445 cursor = db.rawQuery(SEARCH_QUERY, SEARCH_STRING); in query()
469 cursor = db.rawQuery(mmsQuery, new String[] { String.valueOf(id) }); in query()
490 cursor = db.rawQuery(getTextSearchQuery(smsTable, pduTable), in query()
726 cursor = db.rawQuery(THREAD_QUERY, selectionArgs); in getThreadId()
737 cursor = db.rawQuery(THREAD_QUERY, selectionArgs); in getThreadId()
847 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getDraftThread()
912 return mOpenHelper.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY); in getConversations()
957 Cursor cursor = mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getFirstLockedMessage()
975 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getCompleteConversations()
1015 return mOpenHelper.getReadableDatabase().rawQuery(unionQuery, EMPTY_STRING_ARRAY); in getConversationMessages()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseHelperTest.java63 Cursor cursor = mDatabase.rawQuery("SELECT * FROM slices_index", null); in testDatabaseSchema()
88 Cursor baseline = mDatabase.rawQuery("SELECT * FROM slices_index", null); in testUpgrade_dropsOldData()
93 Cursor newCursor = mDatabase.rawQuery("SELECT * FROM slices_index", null); in testUpgrade_dropsOldData()
DSlicesIndexerTest.java86 try (final Cursor cursor = db.rawQuery("SELECT * FROM slices_index", null)) { in testAlreadyIndexed_doesNotIndexAgain()
116 try (final Cursor cursor = db.rawQuery("SELECT * FROM slices_index", null)) { in testInsertSliceData_mockDataInserted()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java436 try (Cursor c = db.rawQuery(ACCOUNTS_QUERY, null)) { in dump()
471 try (Cursor c = db.rawQuery(RAW_CONTACTS_PER_ACCOUNT_PER_CONTACT, null)) { in dump()
488 try (Cursor c = db.rawQuery(DATA_PER_ACCOUNT_PER_RAW_CONTACT, null)) { in dump()
554 try (final Cursor c = db.rawQuery(query, null)) { in doubleForQuery()
DCallLogDatabaseHelper.java487 try (Cursor source = contacts.rawQuery( in migrateFromLegacyTables()
498 try (Cursor source = contacts.rawQuery("SELECT * FROM " + in migrateFromLegacyTables()
550 final Cursor c = db.rawQuery("SELECT DISTINCT " in selectDistinctColumn()
DGlobalSearchSupport.java254 Cursor c = db.rawQuery(sb.toString(), null, cancellationSignal); in addSearchSuggestionsBasedOnFilter()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java1136 cursor = db.rawQuery(SELECT_ATTENDEES_ORPHANS, null); in removeOrphans()
1150 cursor = db.rawQuery(SELECT_REMINDERS_ORPHANS, null); in removeOrphans()
2325 Cursor cursor = db.rawQuery("SELECT value FROM CalendarCache WHERE key=?", in upgradeToVersion203()
2490 Cursor cursor = db.rawQuery(selectSql, null /* selection args */); in upgradeToVersion200()
2536 Cursor cursor = db.rawQuery(sql, new String[] {"1"}); in upgradeToVersion69()
2727 Cursor cursor = db.rawQuery("SELECT Events._id," + in upgradeToVersion62()
2934 Cursor cursor = db.rawQuery("SELECT _id, " + in upgradeToVersion56()
2960 Cursor cursor = db.rawQuery("SELECT _sync_account," + in upgradeResync()
3043 Cursor cursor = db.rawQuery("SELECT _id," + in upgradeToVersion52()
3055 Cursor recur = db.rawQuery("SELECT allDay" + in upgradeToVersion52()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/
DDatabaseAnalyzer.java47 try (final Cursor c = db.rawQuery( in findTablesAndViews()
63 final Cursor c = db.rawQuery("SELECT * FROM " + table + " WHERE 0 LIMIT 0", null); in findColumns()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java220 final Cursor planCursor = db.rawQuery("explain query plan " + sql, queryArgs); in explainQueryPlan()
319 public Cursor rawQuery(final String sql, final String[] args) { in rawQuery() method in DatabaseWrapper
328 final Cursor cursor = mDatabase.rawQuery(sql, args); in rawQuery()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java193 try (Cursor c = db.rawQuery("SELECT profileId from favorites WHERE profileId != ? " in getManagedProfileIds()
218 try (Cursor c = db.rawQuery("PRAGMA table_info (favorites)", null)){ in getDefaultProfileId()
DLauncherDbUtils.java51 try (Cursor c = db.rawQuery(String.format(Locale.ENGLISH, in prepareScreenZeroToHostQsb()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperUpgradeTest.java155 try (Cursor c = mDb.rawQuery("select * from contacts order by _id", null)) { in upgradeTo1201()
171 try (Cursor c = mDb.rawQuery("select * from raw_contacts order by _id", null)) { in upgradeTo1201()
187 try (Cursor c = mDb.rawQuery("select * from data_usage_stat", null)) { in upgradeTo1201()
DBaseDatabaseHelperUpgradeTest.java73 try (final Cursor cursor = db.rawQuery("PRAGMA table_info(" + tableName + ");", null)) { in TableStructure()
DTestUtils.java191 try (Cursor c = db.rawQuery(String.format("SELECT * FROM %s", name), null)) { in dumpTable()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DContactsTableUtil.java131 final Cursor cursor = db.rawQuery(sql, new String[]{rawContactId + ""}); in deleteContactIfSingleton()
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java75 try (Cursor c = db.rawQuery(sql, null)) { in getCount()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java464 final Cursor c = db.rawQuery(sbQuery.toString(), null); in aggregateInTransaction()
616 final Cursor cursor = db.rawQuery("SELECT " + RawContacts._ID + in markAllVisibleForAggregation()
848 Cursor cursor = db.rawQuery(query, null); in findIdPairs()
1417 Cursor c = db.rawQuery(sql, sqlArgs); in computeAggregateData()
1793 final Cursor c = db.rawQuery(DisplayNameQuery.SQL, mSelectionArgs2); in updateDisplayNameForContact()
DContactAggregator2.java197 final Cursor cursor = db.rawQuery(sql, mSelectionArgs1); in needAggregate()
259 final Cursor c = db.rawQuery(sql, null); in clearSuperPrimarySetting()
405 final Cursor cursor = db.rawQuery(sql, mSelectionArgs1); in canBeReused()
DContactAggregator.java125 final Cursor rawContactsToAccountsCursor = db.rawQuery( in aggregateContact()
257 final Cursor c = db.rawQuery( in clearSuperPrimarySetting()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DCardDatabaseHelperTest.java60 final Cursor cursor = mDatabase.rawQuery("SELECT * FROM " + CardDatabaseHelper.CARD_TABLE, in testDatabaseSchema()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDatabaseHelper.java246 cursor = db.rawQuery(SELECT_BUILD_VERSION, null); in getBuildVersion()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java782 db.rawQuery( in updateSmartDialDatabase()
910 db.rawQuery( in getLooseMatches()
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntryDatabaseHelper.java118 Cursor cursor = db.rawQuery(query, null)) { in getAllEntries()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java304 cursor = db.rawQuery("SELECT " + ConversationColumns._ID in rethrowSQLiteConstraintExceptionWithDetails()

12