Home
last modified time | relevance | path

Searched refs:numMessages (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java1111 int numMessages = EmailContent.count(mMockContext, Message.CONTENT_URI, selection, selArgs); in testMessageDelete() local
1112 assertEquals(2, numMessages); in testMessageDelete()
1119 numMessages = EmailContent.count(mMockContext, Message.CONTENT_URI, selection, selArgs); in testMessageDelete()
1120 assertEquals(1, numMessages); in testMessageDelete()
1127 numMessages = EmailContent.count(mMockContext, Message.CONTENT_URI, selection, selArgs); in testMessageDelete()
1128 assertEquals(0, numMessages); in testMessageDelete()
1162 int numMessages = EmailContent.count(mMockContext, Message.CONTENT_URI, selection, selArgs); in testSyncedMessageDelete() local
1163 assertEquals(2, numMessages); in testSyncedMessageDelete()
1166 numMessages = in testSyncedMessageDelete()
1168 assertEquals(0, numMessages); in testSyncedMessageDelete()
[all …]
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushProtocol.java58 int numMessages = actions.length; in NdefPushProtocol() local
59 mActions = new byte[numMessages]; in NdefPushProtocol()
60 System.arraycopy(actions, 0, mActions, 0, numMessages); in NdefPushProtocol()
61 mMessages = new NdefMessage[numMessages]; in NdefPushProtocol()
62 System.arraycopy(messages, 0, mMessages, 0, numMessages); in NdefPushProtocol()
63 mNumMessages = numMessages; in NdefPushProtocol()
/packages/apps/UnifiedEmail/src/com/android/mail/print/
DHtmlPrintTemplates.java57 public void startPrintConversation(String subject, int numMessages) { in startPrintConversation() argument
66 R.plurals.num_messages, numMessages, numMessages); in startPrintConversation()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java966 private static void setupUidlSequence(MockTransport transport, int numMessages) { in setupUidlSequence() argument
968 for (int msgNum = 1; msgNum <= numMessages; ++msgNum) { in setupUidlSequence()
979 private static void setupListSequence(MockTransport transport, int numMessages) { in setupListSequence() argument
981 for (int msgNum = 1; msgNum <= numMessages; ++msgNum) { in setupListSequence()
994 private static void setupBrokenListSequence(MockTransport transport, int numMessages) { in setupBrokenListSequence() argument
996 for (int msgNum = 1; msgNum <= numMessages; ++msgNum) { in setupBrokenListSequence()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailConversationCursor.java172 final int numMessages = getInt(getColumnIndex(ConversationColumns.NUM_MESSAGES)); in generateConversationInfo() local
173 final ConversationInfo conversationInfo = new ConversationInfo(numMessages); in generateConversationInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java202 int numMessages = sOngoingRequests.size(); in resetPendingRilMessages() local
203 if (numMessages != 0) { in resetPendingRilMessages()
204 Log.w(TAG, "Clearing message queue with size: " + numMessages); in resetPendingRilMessages()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1811 final int numMessages = conv.getNumMessages();
1812 final boolean subsetIsUnread = (numMessages > 1 && unreadCount > 0
1813 && unreadCount < numMessages);
1817 conv, numMessages, unreadCount, subsetIsUnread);