Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java107 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, in InboundSmsTracker() argument
112 mDestPort = destPort; in InboundSmsTracker()
145 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, in InboundSmsTracker() argument
151 mDestPort = destPort; in InboundSmsTracker()
182 int destPort = cursor.getInt(InboundSmsHandler.DESTINATION_PORT_COLUMN); in InboundSmsTracker() local
183 if ((destPort & DEST_PORT_FLAG_3GPP) != 0) { in InboundSmsTracker()
185 } else if ((destPort & DEST_PORT_FLAG_3GPP2) != 0) { in InboundSmsTracker()
190 mIs3gpp2WapPdu = ((destPort & DEST_PORT_FLAG_3GPP2_WAP_PDU) != 0); in InboundSmsTracker()
191 mDestPort = getRealDestPort(destPort); in InboundSmsTracker()
235 int destPort; in getContentValues() local
[all …]
DInboundSmsHandler.java747 int destPort = -1; in dispatchNormalMessage() local
750 destPort = smsHeader.portAddrs.destPort; in dispatchNormalMessage()
751 if (DBG) log("destination port: " + destPort); in dispatchNormalMessage()
756 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
764 int destPort = (portAddrs != null ? portAddrs.destPort : -1); in dispatchNormalMessage() local
768 sms.getTimestampMillis(), destPort, is3gpp2(), sms.getOriginatingAddress(), in dispatchNormalMessage()
816 int destPort = tracker.getDestPort(); in processMessagePart() local
886 destPort = port; in processMessagePart()
916 final boolean isWapPush = (destPort == SmsHeader.PORT_WAP_PUSH); in processMessagePart()
961 destPort, in processMessagePart()
[all …]
DCarrierServicesSmsFilter.java72 int destPort, in CarrierServicesSmsFilter() argument
80 mDestPort = destPort; in CarrierServicesSmsFilter()
217 CarrierSmsFilter(byte[][] pdus, int destPort, String smsFormat) { in CarrierSmsFilter() argument
219 mDestPort = destPort; in CarrierSmsFilter()
DSmsDispatchersController.java504 Integer destPort = (Integer) map.get("destPort"); in sendRetrySms() local
508 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
512 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
604 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
607 mImsSmsDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
610 mCdmaDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
613 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.java350 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort,
353 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, is3gpp2WapPdu, address,
360 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort,
364 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, address, displayAddr,
DIccSmsInterfaceManager.java400 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataWithSelfPermissions() argument
407 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendDataWithSelfPermissions()
417 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
419 sendData(callingPackage, null, destAddr, scAddr, destPort, data, in sendData()
428 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendData() argument
435 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
467 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendDataInternal() argument
471 + destPort + " data='" + HexDump.toHexString(data) + "' sentIntent=" in sendDataInternal()
475 mDispatchersController.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataInternal()
DSmsController.java136 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
138 sendDataForSubscriber(subId, callingPackage, null, destAddr, scAddr, destPort, data, in sendDataForSubscriber()
144 String callingAttributionTag, String destAddr, String scAddr, int destPort, byte[] data, in sendDataForSubscriber() argument
151 iccSmsIntMgr.sendData(callingPackage, callingAttributionTag, destAddr, scAddr, destPort, in sendDataForSubscriber()
162 String callingAttributionTag, String destAddr, String scAddr, int destPort, byte[] data, in sendDataForSubscriberWithSelfPermissionsInternal() argument
167 destAddr, scAddr, destPort, data, sentIntent, deliveryIntent, isForVvm); in sendDataForSubscriberWithSelfPermissionsInternal()
DSMSDispatcher.java424 int destPort = (int) map.get(MAP_KEY_DEST_PORT); in onServiceReady() local
432 destPort, in onServiceReady()
893 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
896 scAddr, destAddr, destPort, data, (deliveryIntent != null)); in sendData()
898 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); in sendData()
1022 int destPort, byte[] message, boolean statusReportRequested); in getSubmitPdu() argument
1920 int destPort, byte[] data, SmsMessageBase.SubmitPduBase pdu) { in getSmsTrackerMap() argument
1924 map.put(MAP_KEY_DEST_PORT, destPort); in getSmsTrackerMap()
DImsSmsDispatcher.java342 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
343 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.java122 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
123 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.java519 portAddrs.destPort = destinationPort; in getSubmitPdu()