Lines Matching refs:messageToCheck
461 SmsCbMessage messageToCheck) { in isSameLocation() argument
462 if (message.getGeographicalScope() != messageToCheck.getGeographicalScope()) { in isSameLocation()
471 return message.getLocation().isInLocationArea(messageToCheck.getLocation()); in isSameLocation()
478 if (!message.getLocation().getPlmn().equals(messageToCheck.getLocation().getPlmn())) { in isSameLocation()
483 && message.getLocation().getLac() == messageToCheck.getLocation().getLac(); in isSameLocation()
493 messageToCheck.getLocation().getPlmn()); in isSameLocation()
553 for (SmsCbMessage messageToCheck : cbMessages) { in isDuplicate()
555 if (VDBG) log("Checking the message " + messageToCheck); in isDuplicate()
557 && message.getSlotIndex() != messageToCheck.getSlotIndex()) { in isDuplicate()
558 if (TextUtils.equals(message.getMessageBody(), messageToCheck.getMessageBody())) { in isDuplicate()
565 if (message.getSerialNumber() != messageToCheck.getSerialNumber()) { in isDuplicate()
572 if (message.isEtwsMessage() && messageToCheck.isEtwsMessage() in isDuplicate()
574 != messageToCheck.getEtwsWarningInfo().isPrimary()) { in isDuplicate()
582 && message.getServiceCategory() != messageToCheck.getServiceCategory() in isDuplicate()
584 message.getServiceCategory()), messageToCheck.getServiceCategory()) in isDuplicate()
586 messageToCheck.getServiceCategory()), in isDuplicate()
596 && messageToCheck.getMessageFormat() == SmsCbMessage.MESSAGE_FORMAT_3GPP in isDuplicate()
597 && !isSameLocation(message, messageToCheck)) { in isDuplicate()
605 message.getMessageBody(), messageToCheck.getMessageBody())) { in isDuplicate()