Home
last modified time | relevance | path

Searched refs:getFavoriteMessageCount (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java363 assertEquals(0, Message.getFavoriteMessageCount(c)); in testMessageCount()
364 assertEquals(0, Message.getFavoriteMessageCount(c, a1.mId)); in testMessageCount()
365 assertEquals(0, Message.getFavoriteMessageCount(c, a2.mId)); in testMessageCount()
397 assertEquals(3, Message.getFavoriteMessageCount(c)); // excludes starred in trash in testMessageCount()
398 assertEquals(2, Message.getFavoriteMessageCount(c, a1.mId)); in testMessageCount()
399 assertEquals(1, Message.getFavoriteMessageCount(c, a2.mId)); // excludes starred in trash in testMessageCount()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1216 public static int getFavoriteMessageCount(Context context) { in getFavoriteMessageCount() method in EmailContent.Message
1223 public static int getFavoriteMessageCount(Context context, long accountId) { in getFavoriteMessageCount() method in EmailContent.Message