Searched refs:queryNumEntries (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | GridBackupTableTest.java | 4 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/ |
D | DatabaseWrapper.java | 301 public long queryNumEntries(final String table, final String selection, in queryNumEntries() method in DatabaseWrapper 309 DatabaseUtils.queryNumEntries(mDatabase, table, selection, selectionArgs); in queryNumEntries()
|
D | BugleDatabaseOperations.java | 503 final long count = dbWrapper.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in deleteConversation()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LauncherDbUtils.java | 71 if (DatabaseUtils.queryNumEntries(db, Favorites.TABLE_NAME, in prepareScreenZeroToHostQsb()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessPendingMessagesAction.java | 399 downloadingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 787 if (DatabaseUtils.queryNumEntries(db, Tables.CALLS, in copyEntriesFromCursor()
|
D | ContactsProvider2.java | 1909 long profileNum = DatabaseUtils.queryNumEntries(mProfileHelper.getReadableDatabase(), in updateProviderStatus()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 2624 return DatabaseUtils.queryNumEntries(mDb, Tables.EVENTS, Events._ID + "=?", in doesEventExist()
|