Home
last modified time | relevance | path

Searched refs:destAddr (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DSMSDispatcherUtil.java49 String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader) { in getSubmitPdu() argument
51 return getSubmitPduCdma(scAddr, destAddr, message, statusReportRequested, smsHeader); in getSubmitPdu()
53 return getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested); in getSubmitPdu()
85 String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader, in getSubmitPdu() argument
88 return getSubmitPduCdma(scAddr, destAddr, message, statusReportRequested, smsHeader, in getSubmitPdu()
91 return getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested, in getSubmitPdu()
125 String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader, in getSubmitPdu() argument
128 return getSubmitPduCdma(scAddr, destAddr, message, statusReportRequested, smsHeader, in getSubmitPdu()
131 return getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested, in getSubmitPdu()
146 public static SmsMessageBase.SubmitPduBase getSubmitPduGsm(String scAddr, String destAddr, in getSubmitPduGsm() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java217 public final String destAddr; field in SmsDispatchersController.PendingRequest
236 String destAddr, String scAddr, ArrayList<PendingIntent> sentIntents, in PendingRequest() argument
244 this.destAddr = destAddr; in PendingRequest()
493 String destAddr = (String) args.arg1; in handleMessage() local
500 destAddr, messageId, success, isOverIms, isLastSmsPart); in handleMessage()
841 String destAddr = (String) map.get("destAddr"); in sendRetrySms() local
842 if (destAddr == null) { in sendRetrySms()
859 scAddr, destAddr, text, (tracker.mDeliveryIntent != null), null); in sendRetrySms()
862 scAddr, destAddr, text, (tracker.mDeliveryIntent != null), null, in sendRetrySms()
873 scAddr, destAddr, destPort.intValue(), data, in sendRetrySms()
[all …]
DSmsController.java165 public void sendDataForSubscriber(int subId, String callingPackage, String destAddr, 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
183 Binder.getCallingUserHandle(), destAddr)) { in sendDataForSubscriber()
191 if (isNumberBlockedByFDN(subId, destAddr, callingPackage)) { in sendDataForSubscriber()
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()
228 String callingAttributionTag, String destAddr, String scAddr, String text, in sendTextForSubscriber() argument
231 sendTextForSubscriber(subId, callingPackage, callingAttributionTag, destAddr, scAddr, in sendTextForSubscriber()
[all …]
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()
477 private void sendDataInternal(String callingPackage, String destAddr, String scAddr, in sendDataInternal() argument
481 log("sendData: destAddr=" + destAddr + " scAddr=" + scAddr + " destPort=" in sendDataInternal()
485 destAddr = filterDestAddress(destAddr); in sendDataInternal()
486 mDispatchersController.sendData(callingPackage, destAddr, scAddr, destPort, data, in sendDataInternal()
[all …]
DBtSmsInterfaceManager.java47 public void sendText(Context context, String destAddr, String text, PendingIntent sentIntent, in sendText() argument
62 new MapMessageSender(destAddr, text, device, sentIntent, deliveryIntent), in sendText()
90 MapMessageSender(final String destAddr, final String message, final BluetoothDevice device, in MapMessageSender() argument
94 .appendPath(destAddr) in MapMessageSender()
DImsSmsDispatcher.java425 public boolean isEmergencySmsSupport(String destAddr) { in isEmergencySmsSupport() argument
428 if (!mTelephonyManager.isEmergencyNumber(destAddr)) { in isEmergencySmsSupport()
429 logi(Rlog.pii(TAG, destAddr) + " is not emergency number"); in isEmergencySmsSupport()
450 + eSmsCarrierSupport + " destAddr: " + Rlog.pii(TAG, destAddr) in isEmergencySmsSupport()
564 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
567 return SMSDispatcherUtil.getSubmitPdu(isCdmaMo(), scAddr, destAddr, message, in getSubmitPdu()
572 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
574 return SMSDispatcherUtil.getSubmitPdu(isCdmaMo(), scAddr, destAddr, destPort, message, in getSubmitPdu()
579 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
582 return SMSDispatcherUtil.getSubmitPdu(isCdmaMo(), scAddr, destAddr, message, in getSubmitPdu()
[all …]
DSMSDispatcher.java1401 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()
1522 public void sendText(String destAddr, String scAddr, String text, in sendText() argument
1527 sendText(destAddr, scAddr, text, sentIntent, deliveryIntent, messageUri, callingPkg, in sendText()
1632 public void sendText(String destAddr, String scAddr, String text, in sendText() argument
1640 scAddr, destAddr, text, (deliveryIntent != null), null, priority, validityPeriod, in sendText()
1643 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu); in sendText()
1696 protected abstract SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
1700 protected abstract SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java81 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
84 return SMSDispatcherUtil.getSubmitPduCdma(scAddr, destAddr, message, in getSubmitPdu()
89 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
91 return SMSDispatcherUtil.getSubmitPduCdma(scAddr, destAddr, destPort, message, in getSubmitPdu()
96 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
99 return SMSDispatcherUtil.getSubmitPduCdma(scAddr, destAddr, message, in getSubmitPdu()
104 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
106 return SMSDispatcherUtil.getSubmitPduCdma(scAddr, destAddr, destPort, message, in getSubmitPdu()
DCdmaInboundSmsHandler.java115 CdmaSmsAddress destAddr = CdmaSmsAddress.parse( in CdmaInboundSmsHandler()
117 dos.write(destAddr.digitMode); in CdmaInboundSmsHandler()
118 dos.write(destAddr.numberMode); in CdmaInboundSmsHandler()
119 dos.write(destAddr.ton); // number_type in CdmaInboundSmsHandler()
120 dos.write(destAddr.numberPlan); in CdmaInboundSmsHandler()
121 dos.write(destAddr.numberOfDigits); in CdmaInboundSmsHandler()
122 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits in CdmaInboundSmsHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java108 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
111 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested, in getSubmitPdu()
116 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
118 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, destPort, message, in getSubmitPdu()
123 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
126 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested, in getSubmitPdu()
131 protected SmsMessageBase.SubmitPduBase getSubmitPdu(String scAddr, String destAddr, in getSubmitPdu() argument
133 return SMSDispatcherUtil.getSubmitPduGsm(scAddr, destAddr, destPort, message, in getSubmitPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java217 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, String message, in getSubmitPdu() argument
219 return getSubmitPdu(scAddr, destAddr, message, statusReportRequested, smsHeader, -1); in getSubmitPdu()
237 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, String message, in getSubmitPdu() argument
245 if (message == null || destAddr == null) { in getSubmitPdu()
252 return privateGetSubmitPdu(destAddr, statusReportRequested, uData, priority); in getSubmitPdu()
267 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, int destPort, in getSubmitPdu() argument
291 return privateGetSubmitPdu(destAddr, statusReportRequested, uData); in getSubmitPdu()
304 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu() argument
306 return privateGetSubmitPdu(destAddr, statusReportRequested, userData); in getSubmitPdu()
320 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu() argument
[all …]
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java567 public static String filterDestAddr(Context context, int subId, String destAddr) { in filterDestAddr() argument
568 if (DBG) Log.d(TAG, "enter filterDestAddr. destAddr=\"" + pii(TAG, destAddr) + "\"" ); in filterDestAddr()
570 if (destAddr == null || !PhoneNumberUtils.isGlobalPhoneNumber(destAddr)) { in filterDestAddr()
571 Log.w(TAG, "destAddr" + pii(TAG, destAddr) + in filterDestAddr()
573 return destAddr; in filterDestAddr()
586 result = formatNumber(context, destAddr, networkMcc, networkType); in filterDestAddr()
594 result) : pii(TAG, destAddr)) + "\""); in filterDestAddr()
596 return result != null ? result : destAddr; in filterDestAddr()
DTelephonyPermissions.java856 @NonNull UserHandle callerUserHandle, @NonNull String destAddr) { in checkSubscriptionAssociatedWithUser() argument
862 if (tm != null && tm.isEmergencyNumber(destAddr)) { in checkSubscriptionAssociatedWithUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatCmdMessage.java70 public TextMessage destAddr; field in CatCmdMessage.SMSSettings
107 mSMSSettings.destAddr = ((SendSMSParams) cmdParams).mDestAddress; in CatCmdMessage()
193 mSMSSettings.destAddr = in.readParcelable(SendSMSParams.class.getClassLoader()); in CatCmdMessage()
225 dest.writeParcelable(mSMSSettings.destAddr, 0); in writeToParcel()
DCatService.java494 String text = null, destAddr = null; in handleCommand() local
499 destAddr = ((SendSMSParams) cmdParams).mDestAddress.text; in handleCommand()
501 if (text != null && destAddr != null) { in handleCommand()
511 sendStkSms(text, destAddr, subInfo.getSubscriptionId(), cmdParams, in handleCommand()
629 public void sendStkSms(String text, String destAddr, int subId, CommandParams cmdParams, in sendStkSms() argument
643 mContext.getAttributionTag(), destAddr, null, text, sentPendingIntent, in sendStkSms()
DCommandParamsFactory.java820 TextMessage destAddr = new TextMessage(); in processSMSEventNotify() local
822 destAddr.text = smsMessage.getRecipientAddress(); in processSMSEventNotify()
823 mCmdParams = new SendSMSParams(cmdDet, smsText, destAddr, displayTextParams); in processSMSEventNotify()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISmsImplBase.java49 String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, in sendDataForSubscriber() argument
56 String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendTextForSubscriber() argument
64 String callingAttributionTag, String destAddr, String scAddr, String text, in sendTextForSubscriberWithOptions() argument
DISms.aidl90 in String destAddr, in String scAddr, in int destPort,in byte[] data, in sendDataForSubscriber() argument
124 in String destAddr, in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriber() argument
175 String callingAttributionTag, in String destAddr, in String scAddr, in String text, in sendTextForSubscriberWithOptions() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java97 public void testSendData(String callingPackage, String destAddr, String scAddr, in testSendData() argument
100 sendData(callingPackage, destAddr, scAddr, in testSendData()
104 public void testSendMultipartText(String destAddr, String scAddr, in testSendMultipartText() argument
109 sendMultipartText(destAddr, scAddr, parts, sentIntents, deliveryIntents, messageUri, in testSendMultipartText()
113 public void testNotifySmsSentToEmergencyStateTracker(String destAddr, long messageId, in testNotifySmsSentToEmergencyStateTracker() argument
115 notifySmsSentToEmergencyStateTracker(destAddr, messageId, isOverIms, isLastSmsPart); in testNotifySmsSentToEmergencyStateTracker()
118 public void testNotifySmsSentFailedToEmergencyStateTracker(String destAddr, in testNotifySmsSentFailedToEmergencyStateTracker() argument
120 notifySmsSentFailedToEmergencyStateTracker(destAddr, messageId, isOverIms); in testNotifySmsSentFailedToEmergencyStateTracker()
137 public void sendData(String callingPackage, String destAddr, String scAddr, int destPort, in sendData() argument
140 super.sendData(callingPackage, destAddr, scAddr, destPort, in sendData()
[all …]