Home
last modified time | relevance | path

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

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridBackupTableTest.java4 import static android.database.DatabaseUtils.queryNumEntries;
41 assertEquals(BACKUP_ITEM_COUNT, queryNumEntries(mDb, TABLE_NAME)); in setupGridData()
53 assertEquals(BACKUP_ITEM_COUNT + 1, queryNumEntries(mDb, BACKUP_TABLE_NAME)); in backupTableCreated()
63 assertEquals(0, queryNumEntries(mDb, TABLE_NAME)); in backupTableRestored()
69 assertEquals(BACKUP_ITEM_COUNT, queryNumEntries(mDb, TABLE_NAME)); in backupTableRestored()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java301 public long queryNumEntries(final String table, final String selection, in queryNumEntries() method in DatabaseWrapper
309 DatabaseUtils.queryNumEntries(mDatabase, table, selection, selectionArgs); in queryNumEntries()
DBugleDatabaseOperations.java503 final long count = dbWrapper.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in deleteConversation()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java71 if (DatabaseUtils.queryNumEntries(db, Favorites.TABLE_NAME, in prepareScreenZeroToHostQsb()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java399 downloadingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java787 if (DatabaseUtils.queryNumEntries(db, Tables.CALLS, in copyEntriesFromCursor()
DContactsProvider2.java1909 long profileNum = DatabaseUtils.queryNumEntries(mProfileHelper.getReadableDatabase(), in updateProviderStatus()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2624 return DatabaseUtils.queryNumEntries(mDb, Tables.EVENTS, Events._ID + "=?", in doesEventExist()