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.java106 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, in InboundSmsTracker() argument
111 mDestPort = destPort; in InboundSmsTracker()
143 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, in InboundSmsTracker() argument
148 mDestPort = destPort; in InboundSmsTracker()
178 int destPort = cursor.getInt(InboundSmsHandler.DESTINATION_PORT_COLUMN); in InboundSmsTracker() local
179 if ((destPort & DEST_PORT_FLAG_3GPP) != 0) { in InboundSmsTracker()
181 } else if ((destPort & DEST_PORT_FLAG_3GPP2) != 0) { in InboundSmsTracker()
186 mIs3gpp2WapPdu = ((destPort & DEST_PORT_FLAG_3GPP2_WAP_PDU) != 0); in InboundSmsTracker()
187 mDestPort = getRealDestPort(destPort); in InboundSmsTracker()
229 int destPort; in getContentValues() local
[all …]
DInboundSmsHandler.java750 int destPort = -1; in dispatchNormalMessage() local
753 destPort = smsHeader.portAddrs.destPort; in dispatchNormalMessage()
754 if (DBG) log("destination port: " + destPort); in dispatchNormalMessage()
759 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
766 int destPort = (portAddrs != null ? portAddrs.destPort : -1); in dispatchNormalMessage() local
770 sms.getTimestampMillis(), destPort, is3gpp2(), sms.getOriginatingAddress(), in dispatchNormalMessage()
818 int destPort = tracker.getDestPort(); in processMessagePart() local
888 destPort = port; in processMessagePart()
921 if (destPort != SmsHeader.PORT_WAP_PUSH) { in processMessagePart()
939 return processMessagePartWithUserLocked(tracker, pdus, destPort, resultReceiver); in processMessagePart()
[all …]
DSmsDispatchersController.java485 Integer destPort = (Integer) map.get("destPort"); in sendRetrySms() local
490 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
495 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
571 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
574 mImsSmsDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
577 mCdmaDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
580 mGsmDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
DCarrierServicesSmsFilter.java74 int destPort, in CarrierServicesSmsFilter() argument
82 mDestPort = destPort; in CarrierServicesSmsFilter()
219 CarrierSmsFilter(byte[][] pdus, int destPort, String smsFormat) { in CarrierSmsFilter() argument
221 mDestPort = destPort; in CarrierSmsFilter()
DVisualVoicemailSmsFilter.java118 public static boolean filter(Context context, byte[][] pdus, String format, int destPort, in filter() argument
170 if (destPort == -1) { in filter()
177 if (settings.destinationPort != destPort) { in filter()
DTelephonyComponentFactory.java357 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort,
360 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, is3gpp2WapPdu, address,
367 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort,
371 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, address, displayAddr,
DSmsController.java123 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
127 iccSmsIntMgr.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataForSubscriber()
139 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions() argument
142 destPort, data, sentIntent, deliveryIntent, false /* isForVvm */); in sendDataForSubscriberWithSelfPermissions()
146 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissionsInternal() argument
150 iccSmsIntMgr.sendDataWithSelfPermissions(callingPackage, destAddr, scAddr, destPort, in sendDataForSubscriberWithSelfPermissionsInternal()
DIccSmsInterfaceManager.java346 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendDataWithSelfPermissions() argument
352 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendDataWithSelfPermissions()
361 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
367 sendDataInternal(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
399 int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent, in sendDataInternal() argument
403 + destPort + " data='" + HexDump.toHexString(data) + "' sentIntent=" in sendDataInternal()
407 mDispatchersController.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataInternal()
DSMSDispatcher.java433 int destPort = (int) map.get(MAP_KEY_DEST_PORT); in onServiceReady() local
438 mTracker.mDestAddress, destPort, in onServiceReady()
796 protected void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
799 scAddr, destAddr, destPort, data, (deliveryIntent != null)); in sendData()
801 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); in sendData()
925 int destPort, byte[] message, boolean statusReportRequested); in getSubmitPdu() argument
1844 int destPort, byte[] data, SmsMessageBase.SubmitPduBase pdu) { in getSmsTrackerMap() argument
1848 map.put(MAP_KEY_DEST_PORT, destPort); in getSmsTrackerMap()
DImsSmsDispatcher.java328 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
329 return SMSDispatcherUtil.getSubmitPdu(isCdmaMo(), scAddr, destAddr, destPort, message, in getSubmitPdu()
/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/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/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java77 public int destPort; field in SmsHeader.PortAddrs
173 portAddrs.destPort = inStream.read(); in fromByteArray()
180 portAddrs.destPort = (inStream.read() << 8) | inStream.read(); in fromByteArray()
246 outStream.write(portAddrs.destPort); in toByteArray()
251 outStream.write(portAddrs.destPort >>> 8); in toByteArray()
252 outStream.write(portAddrs.destPort & 0x00FF); in toByteArray()
299 builder.append("{ destPort=" + portAddrs.destPort); in toString()
DISmsImplBase.java50 String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
57 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions() argument
DISms.aidl100 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriber() argument
128 in String scAddr, in int destPort, in byte[] data, in PendingIntent sentIntent, in sendDataForSubscriberWithSelfPermissions() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java99 int destPort = -1; in dispatchMessageRadioSpecific() local
103 destPort = smsHeader.portAddrs.destPort; in dispatchMessageRadioSpecific()
107 destPort, mPhone.getSubId()); in dispatchMessageRadioSpecific()
DGsmSMSDispatcher.java119 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
120 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, destPort, message, in getSubmitPdu()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java88 int destPort, byte[] message, boolean statusReportRequested) { in getSubmitPdu() argument
89 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.java75 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
91 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java269 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, int destPort, in getSubmitPdu() argument
280 portAddrs.destPort = destPort; in getSubmitPdu()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java486 portAddrs.destPort = 88; in testUserDataHeaderMixedFeedback()
498 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
512 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java521 portAddrs.destPort = destinationPort; in getSubmitPdu()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...