Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListItem.java80 mDateView.setText(DateUtils.formatDateTime(getContext(), message.getReceivedTime(), in bind()
90 new String[] {Long.toString(message.getReceivedTime())}, in bind() argument
111 String dateTime = DateUtils.formatDateTime(getContext(), mCbMessage.getReceivedTime(), in dispatchPopulateAccessibilityEvent()
DCellBroadcastReceiverApp.java52 if (sNewMessageList.removeIf(msg -> msg.getReceivedTime() == message.getReceivedTime())) { in removeReadMessage()
DCellBroadcastAlertDialog.java500 Long time1 = new Long(((SmsCbMessage) o1).getReceivedTime());
501 Long time2 = new Long(((SmsCbMessage) o2).getReceivedTime());
876 message.getReceivedTime()); in updateAlertText()
1006 msg -> msg.getReceivedTime() == message.getReceivedTime()); in onNewIntent()
1111 final long deliveryTime = lastMessage.getReceivedTime(); in dismiss()
1331 msg -> msg.getReceivedTime() == message.getReceivedTime()); in getNewMessageListIfNeeded()
1338 Long time1 = new Long(((SmsCbMessage) o1).getReceivedTime()); in getNewMessageListIfNeeded()
1339 Long time2 = new Long(((SmsCbMessage) o2).getReceivedTime()); in getNewMessageListIfNeeded()
DCellBroadcastContentProvider.java276 cv.put(Telephony.CellBroadcasts.DELIVERY_TIME, message.getReceivedTime()); in getContentValues()
444 message.getReceivedTime(), false); in resyncToSmsInbox()
470 message.getReceivedTime(), true); in writeMessageToSmsInbox()
476 cv.put(Telephony.Sms.Inbox.DATE, message.getReceivedTime()); in writeMessageToSmsInbox()
DCellBroadcastResources.java63 DateFormat.getDateTimeInstance().format(message.getReceivedTime())); in getMessageDetails()
DCellBroadcastAlertService.java455 new String[]{Long.toString(message.getReceivedTime())}); in markMessageDisplayed()
833 intent = createMarkAsReadIntent(context, message.getReceivedTime(), notificationId); in addToNotificationBar()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java336 assertEquals(testMessage1.getReceivedTime(), messageList.get(0).getReceivedTime()); in testGetNewMessageListIfNeeded()
341 assertEquals(testMessage1.getReceivedTime(), messageList.get(0).getReceivedTime()); in testGetNewMessageListIfNeeded()
346 assertEquals(testMessage2.getReceivedTime(), messageList.get(1).getReceivedTime()); in testGetNewMessageListIfNeeded()
353 assertEquals(testMessage1.getReceivedTime(), messageList.get(1).getReceivedTime()); in testGetNewMessageListIfNeeded()
DCellBroadcastContentProviderTest.java183 long deliveryTime = msg.getReceivedTime(); in testMarkSmsSyncPending()