Home
last modified time | relevance | path

Searched refs:destPort (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java120 public InboundSmsTracker(Context context, byte[] pdu, long timestamp, int destPort, in InboundSmsTracker() argument
125 mDestPort = destPort; in InboundSmsTracker()
159 public InboundSmsTracker(Context context, byte[] pdu, long timestamp, int destPort, in InboundSmsTracker() argument
165 mDestPort = destPort; in InboundSmsTracker()
197 int destPort = cursor.getInt(InboundSmsHandler.DESTINATION_PORT_COLUMN); in InboundSmsTracker() local
198 if ((destPort & DEST_PORT_FLAG_3GPP) != 0) { in InboundSmsTracker()
200 } else if ((destPort & DEST_PORT_FLAG_3GPP2) != 0) { in InboundSmsTracker()
205 mIs3gpp2WapPdu = ((destPort & DEST_PORT_FLAG_3GPP2_WAP_PDU) != 0); in InboundSmsTracker()
206 mDestPort = getRealDestPort(destPort); in InboundSmsTracker()
251 int destPort; in getContentValues() local
[all …]
DInboundSmsHandler.java791 int destPort = -1; in dispatchNormalMessage() local
794 destPort = smsHeader.portAddrs.destPort; in dispatchNormalMessage()
795 if (DBG) log("destination port: " + destPort); in dispatchNormalMessage()
800 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
808 int destPort = (portAddrs != null ? portAddrs.destPort : -1); in dispatchNormalMessage() local
812 sms.getTimestampMillis(), destPort, is3gpp2(), sms.getOriginatingAddress(), in dispatchNormalMessage()
867 int destPort = tracker.getDestPort(); in processMessagePart() local
941 destPort = port; in processMessagePart()
974 final boolean isWapPush = (destPort == SmsHeader.PORT_WAP_PUSH); in processMessagePart()
1018 + "Port: " + destPort, tracker.getMessageId()); in processMessagePart()
[all …]
DCarrierServicesSmsFilter.java73 int destPort, in CarrierServicesSmsFilter() argument
82 mDestPort = destPort; in CarrierServicesSmsFilter()
224 CarrierSmsFilter(byte[][] pdus, int destPort, String smsFormat, String packageName) { in CarrierSmsFilter() argument
226 mDestPort = destPort; in CarrierSmsFilter()
DSmsDispatchersController.java486 Integer destPort = (Integer) map.get("destPort"); in sendRetrySms() local
490 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
494 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
586 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
589 mImsSmsDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
592 mCdmaDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
595 mGsmDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
DVisualVoicemailSmsFilter.java118 public static boolean filter(Context context, byte[][] pdus, String format, int destPort, in filter() argument
174 if (destPort == -1) { in filter()
181 if (settings.destinationPort != destPort) { in filter()
DTelephonyComponentFactory.java349 int destPort, boolean is3gpp2, boolean is3gpp2WapPdu, String address,
351 return new InboundSmsTracker(context, pdu, timestamp, destPort, is3gpp2, is3gpp2WapPdu,
359 int destPort, boolean is3gpp2, String address, String displayAddr, int referenceNumber,
362 return new InboundSmsTracker(context, pdu, timestamp, destPort, is3gpp2, address,
DIccSmsInterfaceManager.java397 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataWithSelfPermissions() argument
404 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendDataWithSelfPermissions()
414 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
416 sendData(callingPackage, null, destAddr, scAddr, destPort, data, in sendData()
425 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendData() argument
432 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
464 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendDataInternal() argument
468 + destPort + " data='" + HexDump.toHexString(data) + "' sentIntent=" in sendDataInternal()
472 mDispatchersController.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataInternal()
DSmsController.java140 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
142 sendDataForSubscriber(subId, callingPackage, null, destAddr, scAddr, destPort, data, in sendDataForSubscriber()
148 String callingAttributionTag, String destAddr, String scAddr, int destPort, byte[] data, in sendDataForSubscriber() argument
155 iccSmsIntMgr.sendData(callingPackage, callingAttributionTag, destAddr, scAddr, destPort, in sendDataForSubscriber()
166 String callingAttributionTag, String destAddr, String scAddr, int destPort, byte[] data, in sendDataForSubscriberWithSelfPermissionsInternal() argument
171 destAddr, scAddr, destPort, data, sentIntent, deliveryIntent, isForVvm); in sendDataForSubscriberWithSelfPermissionsInternal()
DSMSDispatcher.java434 int destPort = (int) map.get(MAP_KEY_DEST_PORT); in onServiceReady() local
442 destPort, in onServiceReady()
878 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
881 scAddr, destAddr, destPort, data, (deliveryIntent != null)); in sendData()
883 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); in sendData()
1011 int destPort, byte[] message, boolean statusReportRequested); in getSubmitPdu() argument
1940 int destPort, byte[] data, SmsMessageBase.SubmitPduBase pdu) { in getSmsTrackerMap() argument
1944 map.put(MAP_KEY_DEST_PORT, destPort); in getSmsTrackerMap()
DImsSmsDispatcher.java359 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
360 return SMSDispatcherUtil.getSubmitPdu(isCdmaMo(), scAddr, destAddr, destPort, message, in getSubmitPdu()
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java126 public void onFilterSms(@NonNull MessagePdu pdu, @NonNull String format, int destPort, in onFilterSms() argument
155 int destPort, int subId, @NonNull final ResultCallback<Integer> callback) { in onReceiveTextSms() argument
156 onFilterSms(pdu, format, destPort, subId, new ResultCallback<Boolean>() { in onReceiveTextSms()
214 @NonNull String destAddress, int destPort, in onSendDataSms() argument
235 @NonNull String destAddress, int destPort, int sendSmsFlag, in onSendDataSms() argument
238 onSendDataSms(data, subId, destAddress, destPort, callback); in onSendDataSms()
465 public void filterSms(MessagePdu pdu, String format, int destPort, in filterSms() argument
467 onReceiveTextSms(pdu, format, destPort, subId, in filterSms()
489 public void sendDataSms(byte[] data, int subId, String destAddress, int destPort, in sendDataSms() argument
491 onSendDataSms(data, subId, destAddress, destPort, sendSmsFlag, in sendDataSms()
DCarrierMessagingServiceWrapper.java115 public void filterSms(@NonNull MessagePdu pdu, @NonNull String format, int destPort, in filterSms() argument
119 mICarrierMessagingService.filterSms(pdu, format, destPort, subId, in filterSms()
165 int destPort, int sendSmsFlag, in sendDataSms() argument
169 mICarrierMessagingService.sendDataSms(data, subId, destAddress, destPort, in sendDataSms()
DICarrierMessagingService.aidl41 in MessagePdu pdu, String format, int destPort, int subId, in filterSms() argument
70 void sendDataSms(in byte[] data, int subId, String destAddress, int destPort, in sendDataSms() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DSMSDispatcherUtil.java191 String destAddr, int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
193 return getSubmitPduCdma(scAddr, destAddr, destPort, message, statusReportRequested); in getSubmitPdu()
195 return getSubmitPduGsm(scAddr, destAddr, destPort, message, statusReportRequested); in getSubmitPdu()
210 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPduCdma() argument
212 destPort, message, statusReportRequested); in getSubmitPduCdma()
226 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPduGsm() argument
228 destPort, message, statusReportRequested); in getSubmitPduGsm()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java101 public int destPort; field in SmsHeader.PortAddrs
111 return destPort == portAddrs.destPort in equals()
118 return Objects.hash(destPort, origPort, areEightBits); in hashCode()
262 portAddrs.destPort = inStream.read(); in fromByteArray()
269 portAddrs.destPort = (inStream.read() << 8) | inStream.read(); in fromByteArray()
335 outStream.write(portAddrs.destPort); in toByteArray()
340 outStream.write(portAddrs.destPort >>> 8); in toByteArray()
341 outStream.write(portAddrs.destPort & 0x00FF); in toByteArray()
388 builder.append("{ destPort=" + portAddrs.destPort); in toString()
DISmsImplBase.java49 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
DISms.aidl90 in String destAddr, in String scAddr, in int destPort,in byte[] data, in sendDataForSubscriber() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java165 int destPort = -1; in dispatchMessageRadioSpecific() local
169 destPort = smsHeader.portAddrs.destPort; in dispatchMessageRadioSpecific()
173 destPort, mPhone.getSubId()); in dispatchMessageRadioSpecific()
DGsmSMSDispatcher.java124 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
125 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, destPort, message, in getSubmitPdu()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java89 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
90 return SMSDispatcherUtil.getSubmitPduCdma(scAddr, destAddr, destPort, message, in getSubmitPdu()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSMSDispatcherTest.java.broken60 assertEquals(header.portAddrs.destPort, 2948);
87 assertEquals(header.portAddrs.destPort, 2948);
DGsmSmsTest.java84 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
100 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java267 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, int destPort, in getSubmitPdu() argument
278 portAddrs.destPort = destPort; in getSubmitPdu()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java488 portAddrs.destPort = 88; in testUserDataHeaderMixedFeedback()
500 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
514 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java547 portAddrs.destPort = destinationPort; in getSubmitPdu()

12