Home
last modified time | relevance | path

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

/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
DConversationListItemViewTest.java134 final int messageIndex = TestDataFactory.CONVERSATION_LIST_CURSOR_UNREAD_MESSAGE_INDEX; in testBindUnread() local
135 mCursor.moveToPosition(messageIndex); in testBindUnread()
136 assertFalse(isRead(mCursor, messageIndex)); in testBindUnread()
138 verifyContent(view, mCursor, messageIndex); in testBindUnread()
144 final int messageIndex = TestDataFactory.CONVERSATION_LIST_CURSOR_READ_MESSAGE_INDEX; in testBindRead() local
145 mCursor.moveToPosition(messageIndex); in testBindRead()
146 assertTrue(isRead(mCursor, messageIndex)); in testBindRead()
148 verifyContent(view, mCursor, messageIndex); in testBindRead()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java284 int messageIndex; in query() local
288 messageIndex = Integer.parseInt(url.getPathSegments().get(1)); in query()
291 messageIndex = Integer.parseInt(url.getPathSegments().get(2)); in query()
296 Cursor ret = getSingleMessageFromIcc(subId, messageIndex); in query()
408 private Cursor getSingleMessageFromIcc(int subId, int messageIndex) { in getSingleMessageFromIcc() argument
427 if (message != null && message.getIndexOnIcc() == messageIndex) { in getSingleMessageFromIcc()
435 "No message in index " + messageIndex + " for subId " + subId); in getSingleMessageFromIcc()
944 int messageIndex; in delete() local
949 messageIndex = Integer.parseInt(url.getPathSegments().get(1)); in delete()
952 messageIndex = Integer.parseInt(url.getPathSegments().get(2)); in delete()
[all …]