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/util/
DSMSDispatcherUtil.java252 String destAddr, int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
254 return getSubmitPduCdma(scAddr, destAddr, destPort, message, statusReportRequested); in getSubmitPdu()
256 return getSubmitPduGsm(scAddr, destAddr, destPort, message, statusReportRequested); in getSubmitPdu()
273 String destAddr, int destPort, byte[] message, boolean statusReportRequested, in getSubmitPdu() argument
276 return getSubmitPduCdma(scAddr, destAddr, destPort, message, statusReportRequested); in getSubmitPdu()
278 return getSubmitPduGsm(scAddr, destAddr, destPort, message, statusReportRequested, in getSubmitPdu()
294 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPduCdma() argument
296 destPort, message, statusReportRequested); in getSubmitPduCdma()
310 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPduGsm() argument
312 destPort, message, statusReportRequested); in getSubmitPduGsm()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java125 public InboundSmsTracker(Context context, byte[] pdu, long timestamp, int destPort, in InboundSmsTracker() argument
131 mDestPort = destPort; in InboundSmsTracker()
167 public InboundSmsTracker(Context context, byte[] pdu, long timestamp, int destPort, in InboundSmsTracker() argument
173 mDestPort = destPort; in InboundSmsTracker()
206 int destPort = cursor.getInt(InboundSmsHandler.DESTINATION_PORT_COLUMN); in InboundSmsTracker() local
207 if ((destPort & DEST_PORT_FLAG_3GPP) != 0) { in InboundSmsTracker()
209 } else if ((destPort & DEST_PORT_FLAG_3GPP2) != 0) { in InboundSmsTracker()
214 mIs3gpp2WapPdu = ((destPort & DEST_PORT_FLAG_3GPP2_WAP_PDU) != 0); in InboundSmsTracker()
215 mDestPort = getRealDestPort(destPort); in InboundSmsTracker()
262 int destPort; in getContentValues() local
[all …]
DInboundSmsHandler.java832 int destPort = -1; in dispatchNormalMessage() local
835 destPort = smsHeader.portAddrs.destPort; in dispatchNormalMessage()
836 if (DBG) log("destination port: " + destPort); in dispatchNormalMessage()
841 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
849 int destPort = (portAddrs != null ? portAddrs.destPort : -1); in dispatchNormalMessage() local
853 sms.getTimestampMillis(), destPort, is3gpp2(), in dispatchNormalMessage()
908 int destPort = tracker.getDestPort(); in processMessagePart() local
982 destPort = port; in processMessagePart()
1015 final boolean isWapPush = (destPort == SmsHeader.PORT_WAP_PUSH); in processMessagePart()
1069 + "Port: " + destPort, tracker.getMessageId()); in processMessagePart()
[all …]
DSmsDispatchersController.java224 public final int destPort; field in SmsDispatchersController.PendingRequest
238 int destPort, ArrayList<String> texts, Uri messageUri, boolean persistMessage, in PendingRequest() argument
251 this.destPort = destPort; in PendingRequest()
867 Integer destPort = (Integer) map.get("destPort"); in sendRetrySms() local
873 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
877 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
1371 request.destPort, request.data, request.sentIntents.get(0), in sendData()
1375 request.destPort, request.data, request.sentIntents.get(0), in sendData()
1379 request.destPort, request.data, request.sentIntents.get(0), in sendData()
1549 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
[all …]
DCarrierServicesSmsFilter.java84 int destPort, in CarrierServicesSmsFilter() argument
93 mDestPort = destPort; in CarrierServicesSmsFilter()
239 CarrierSmsFilter(byte[][] pdus, int destPort, String smsFormat, String packageName) { in CarrierSmsFilter() argument
241 mDestPort = destPort; in CarrierSmsFilter()
DVisualVoicemailSmsFilter.java130 public static boolean filter(Context context, byte[][] pdus, String format, int destPort, in filter() argument
187 if (destPort == -1) { in filter()
194 if (settings.destinationPort != destPort) { in filter()
DIccSmsInterfaceManager.java411 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataWithSelfPermissions() argument
418 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendDataWithSelfPermissions()
428 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
430 sendData(callingPackage, null, destAddr, scAddr, destPort, data, in sendData()
439 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendData() argument
446 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
478 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendDataInternal() argument
482 + destPort + " data='" + HexDump.toHexString(data) + "' sentIntent=" in sendDataInternal()
486 mDispatchersController.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataInternal()
DTelephonyComponentFactory.java371 int destPort, boolean is3gpp2, boolean is3gpp2WapPdu, String address,
374 return new InboundSmsTracker(context, pdu, timestamp, destPort, is3gpp2, is3gpp2WapPdu,
382 int destPort, boolean is3gpp2, String address, String displayAddr, int referenceNumber,
385 return new InboundSmsTracker(context, pdu, timestamp, destPort, is3gpp2, address,
DImsSmsDispatcher.java573 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
574 return SMSDispatcherUtil.getSubmitPdu(isCdmaMo(), scAddr, destAddr, destPort, message, in getSubmitPdu()
588 int destPort, byte[] message, boolean statusReportRequested, int messageRef) { in getSubmitPdu() argument
589 return SMSDispatcherUtil.getSubmitPdu(isCdmaMo(), scAddr, destAddr, destPort, message, in getSubmitPdu()
DSmsController.java166 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
168 sendDataForSubscriber(subId, callingPackage, null, destAddr, scAddr, destPort, data, in sendDataForSubscriber()
174 String callingAttributionTag, String destAddr, String scAddr, int destPort, byte[] data, in sendDataForSubscriber() argument
198 iccSmsIntMgr.sendData(callingPackage, callingAttributionTag, destAddr, scAddr, destPort, in sendDataForSubscriber()
209 String callingAttributionTag, String destAddr, String scAddr, int destPort, byte[] data, in sendDataForSubscriberWithSelfPermissionsInternal() argument
214 destAddr, scAddr, destPort, data, sentIntent, deliveryIntent, isForVvm); in sendDataForSubscriberWithSelfPermissionsInternal()
DSMSDispatcher.java696 int destPort = (int) map.get(MAP_KEY_DEST_PORT); in onServiceReady() local
704 destPort, in onServiceReady()
1401 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
1405 scAddr, destAddr, destPort, data, (deliveryIntent != null), messageRef); in sendData()
1407 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); in sendData()
1701 int destPort, byte[] message, boolean statusReportRequested); in getSubmitPdu() argument
1709 int destPort, byte[] message, boolean statusReportRequested, int messageRef); in getSubmitPdu() argument
2875 int destPort, byte[] data, SmsMessageBase.SubmitPduBase pdu) { in getSmsTrackerMap() argument
2879 map.put(MAP_KEY_DEST_PORT, destPort); in getSmsTrackerMap()
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java163 public void onFilterSms(@NonNull MessagePdu pdu, @NonNull String format, int destPort, in onFilterSms() argument
192 int destPort, int subId, @NonNull final ResultCallback<Integer> callback) { in onReceiveTextSms() argument
193 onFilterSms(pdu, format, destPort, subId, new ResultCallback<Boolean>() { in onReceiveTextSms()
251 @NonNull String destAddress, int destPort, in onSendDataSms() argument
272 @NonNull String destAddress, int destPort, int sendSmsFlag, in onSendDataSms() argument
275 onSendDataSms(data, subId, destAddress, destPort, callback); in onSendDataSms()
502 public void filterSms(MessagePdu pdu, String format, int destPort, in filterSms() argument
504 onReceiveTextSms(pdu, format, destPort, subId, in filterSms()
526 public void sendDataSms(byte[] data, int subId, String destAddress, int destPort, in sendDataSms() argument
528 onSendDataSms(data, subId, destAddress, destPort, sendSmsFlag, 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
DCarrierMessagingServiceWrapper.java145 int destPort, int subId, @NonNull @CallbackExecutor final Executor executor, in receiveSms() argument
149 mICarrierMessagingService.filterSms(pdu, format, destPort, subId, in receiveSms()
202 int destPort, @CarrierMessagingService.SendRequest int sendSmsFlag, in sendDataSms() argument
207 mICarrierMessagingService.sendDataSms(data, subId, destAddress, destPort, in sendDataSms()
/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/cdma/
DCdmaSMSDispatcher.java90 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
91 return SMSDispatcherUtil.getSubmitPduCdma(scAddr, destAddr, destPort, message, in getSubmitPdu()
105 int destPort, byte[] message, boolean statusReportRequested, int messageRef) { in getSubmitPdu() argument
106 return SMSDispatcherUtil.getSubmitPduCdma(scAddr, destAddr, destPort, message, in getSubmitPdu()
/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.java117 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
118 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, destPort, message, in getSubmitPdu()
132 int destPort, byte[] message, boolean statusReportRequested, int messageRef) { in getSubmitPdu() argument
133 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, destPort, message, in getSubmitPdu()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java98 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in testSendData() argument
101 destPort, data, sentIntent, deliveryIntent, isForVvm); in testSendData()
137 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
140 super.sendData(callingPackage, destAddr, scAddr, destPort, in sendData()
164 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
167 super.sendData(callingPackage, destAddr, scAddr, destPort, in sendData()
DGsmSmsTest.java93 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
109 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.java489 portAddrs.destPort = 88; in testUserDataHeaderMixedFeedback()
501 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
515 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java544 portAddrs.destPort = destinationPort; in getSubmitPdu()

12