/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelperTest.java | 351 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/ |
D | MmsSmsProvider.java | 445 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/ |
D | SlicesDatabaseHelperTest.java | 63 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()
|
D | SlicesIndexerTest.java | 86 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/ |
D | AbstractContactsProvider.java | 436 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()
|
D | CallLogDatabaseHelper.java | 487 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()
|
D | GlobalSearchSupport.java | 254 Cursor c = db.rawQuery(sb.toString(), null, cancellationSignal); in addSearchSuggestionsBasedOnFilter()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 1136 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/ |
D | DatabaseAnalyzer.java | 47 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/ |
D | DatabaseWrapper.java | 220 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/ |
D | RestoreDbTask.java | 193 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()
|
D | LauncherDbUtils.java | 51 try (Cursor c = db.rawQuery(String.format(Locale.ENGLISH, in prepareScreenZeroToHostQsb()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelperUpgradeTest.java | 155 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()
|
D | BaseDatabaseHelperUpgradeTest.java | 73 try (final Cursor cursor = db.rawQuery("PRAGMA table_info(" + tableName + ");", null)) { in TableStructure()
|
D | TestUtils.java | 191 try (Cursor c = db.rawQuery(String.format("SELECT * FROM %s", name), null)) { in dumpTable()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
D | ContactsTableUtil.java | 131 final Cursor cursor = db.rawQuery(sql, new String[]{rawContactId + ""}); in deleteContactIfSingleton()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 75 try (Cursor c = db.rawQuery(sql, null)) { in getCount()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 464 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()
|
D | ContactAggregator2.java | 197 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()
|
D | ContactAggregator.java | 125 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/ |
D | CardDatabaseHelperTest.java | 60 final Cursor cursor = mDatabase.rawQuery("SELECT * FROM " + CardDatabaseHelper.CARD_TABLE, in testDatabaseSchema()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 246 cursor = db.rawQuery(SELECT_BUILD_VERSION, null); in getBuildVersion()
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 782 db.rawQuery( in updateSmartDialDatabase() 910 db.rawQuery( in getLooseMatches()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/ |
D | SpeedDialEntryDatabaseHelper.java | 118 Cursor cursor = db.rawQuery(query, null)) { in getAllEntries()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncMessageBatch.java | 304 cursor = db.rawQuery("SELECT " + ConversationColumns._ID in rethrowSQLiteConstraintExceptionWithDetails()
|