Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java78 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, in InboundSmsTracker() argument
82 mDestPort = destPort; in InboundSmsTracker()
110 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, in InboundSmsTracker() argument
115 mDestPort = destPort; in InboundSmsTracker()
139 int destPort = cursor.getInt(InboundSmsHandler.DESTINATION_PORT_COLUMN); in InboundSmsTracker() local
140 if ((destPort & DEST_PORT_FLAG_3GPP) != 0) { in InboundSmsTracker()
142 } else if ((destPort & DEST_PORT_FLAG_3GPP2) != 0) { in InboundSmsTracker()
147 mIs3gpp2WapPdu = ((destPort & DEST_PORT_FLAG_3GPP2_WAP_PDU) != 0); in InboundSmsTracker()
148 mDestPort = getRealDestPort(destPort); in InboundSmsTracker()
189 int destPort; in getContentValues() local
[all …]
DInboundSmsHandler.java664 int destPort = -1; in dispatchNormalMessage() local
667 destPort = smsHeader.portAddrs.destPort; in dispatchNormalMessage()
668 if (DBG) log("destination port: " + destPort); in dispatchNormalMessage()
672 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
678 int destPort = (portAddrs != null ? portAddrs.destPort : -1); in dispatchNormalMessage() local
681 sms.getTimestampMillis(), destPort, is3gpp2(), in dispatchNormalMessage()
726 int destPort = tracker.getDestPort(); in processMessagePart() local
770 destPort = port; in processMessagePart()
795 return processMessagePartWithUserLocked(tracker, pdus, destPort, resultReceiver); in processMessagePart()
798 if (destPort == SmsHeader.PORT_WAP_PUSH) { in processMessagePart()
[all …]
DSmsHeader.java75 public int destPort; field in SmsHeader.PortAddrs
161 portAddrs.destPort = inStream.read(); in fromByteArray()
168 portAddrs.destPort = (inStream.read() << 8) | inStream.read(); in fromByteArray()
233 outStream.write(portAddrs.destPort); in toByteArray()
238 outStream.write(portAddrs.destPort >>> 8); in toByteArray()
239 outStream.write(portAddrs.destPort & 0x00FF); in toByteArray()
286 builder.append("{ destPort=" + portAddrs.destPort); in toString()
DTelephonyComponentFactory.java94 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort, in makeInboundSmsTracker() argument
96 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, is3gpp2WapPdu, address, in makeInboundSmsTracker()
103 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort, in makeInboundSmsTracker() argument
106 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, address, referenceNumber, in makeInboundSmsTracker()
DImsSMSDispatcher.java160 public void sendData(String destAddr, String scAddr, int destPort, in sendData() argument
163 mCdmaDispatcher.sendData(destAddr, scAddr, destPort, in sendData()
166 mGsmDispatcher.sendData(destAddr, scAddr, destPort, in sendData()
317 Integer destPort = (Integer)map.get("destPort"); in sendRetrySms() local
322 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
327 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
DUiccSmsController.java97 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
101 iccSmsIntMgr.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataForSubscriber()
112 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions() argument
116 … iccSmsIntMgr.sendDataWithSelfPermissions(callingPackage, destAddr, scAddr, destPort, data, in sendDataForSubscriberWithSelfPermissions()
DIccSmsInterfaceManager.java321 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendDataWithSelfPermissions() argument
325 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendDataWithSelfPermissions()
333 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
338 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
369 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) { in sendDataInternal() argument
372 destPort + " data='"+ HexDump.toHexString(data) + "' sentIntent=" + in sendDataInternal()
380 mDispatcher.sendData(destAddr, scAddr, destPort, data, sentIntent, deliveryIntent); in sendDataInternal()
DVisualVoicemailSmsFilter.java58 public static boolean filter(Context context, byte[][] pdus, String format, int destPort, in filter() argument
DSMSDispatcher.java405 int destPort = (int) map.get("destPort"); in onServiceReady() local
410 mTracker.mDestAddress, destPort, in onServiceReady()
748 protected abstract void sendData(String destAddr, String scAddr, int destPort, in sendData() argument
1605 int destPort, byte[] data, SmsMessageBase.SubmitPduBase pdu) { in getSmsTrackerMap() argument
1609 map.put("destPort", destPort); in getSmsTrackerMap()
/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()
DICarrierMessagingService.aidl40 in MessagePdu pdu, String format, int destPort, int subId, in filterSms() argument
69 void sendDataSms(in byte[] data, int subId, String destAddress, int destPort, in sendDataSms() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java101 int destPort = -1; in dispatchMessageRadioSpecific() local
105 destPort = smsHeader.portAddrs.destPort; in dispatchMessageRadioSpecific()
109 destPort, mPhone.getSubId()); in dispatchMessageRadioSpecific()
DGsmSMSDispatcher.java153 protected void sendData(String destAddr, String scAddr, int destPort, in sendData() argument
156 scAddr, destAddr, destPort, data, (deliveryIntent != null)); in sendData()
158 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); in sendData()
DSmsMessage.java403 portAddrs.destPort = destinationPort; in getSubmitPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISms.aidl98 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriber() argument
126 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java109 public void sendData(String destAddr, String scAddr, int destPort, in sendData() argument
112 scAddr, destAddr, destPort, data, (deliveryIntent != null)); in sendData()
114 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); in sendData()
DSmsMessage.java334 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, int destPort, in getSubmitPdu() argument
345 portAddrs.destPort = destPort; 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.java63 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
79 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java440 portAddrs.destPort = 88; in testUserDataHeaderMixedFeedback()
452 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
466 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()