Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java162 CdmaSmsAddress destAddr = CdmaSmsAddress.parse(
164 dos.write(destAddr.digitMode);
165 dos.write(destAddr.numberMode);
166 dos.write(destAddr.ton); // number_type
167 dos.write(destAddr.numberPlan);
168 dos.write(destAddr.numberOfDigits);
169 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
DSmsMessage.java304 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, String message, in getSubmitPdu() argument
312 if (message == null || destAddr == null) { in getSubmitPdu()
319 return privateGetSubmitPdu(destAddr, statusReportRequested, uData); in getSubmitPdu()
334 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, int destPort, in getSubmitPdu() argument
358 return privateGetSubmitPdu(destAddr, statusReportRequested, uData); in getSubmitPdu()
371 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu() argument
373 return privateGetSubmitPdu(destAddr, statusReportRequested, userData); in getSubmitPdu()
874 CdmaSmsAddress destAddr = CdmaSmsAddress.parse( in privateGetSubmitPdu() local
876 if (destAddr == null) return null; in privateGetSubmitPdu()
903 envelope.destAddress = destAddr; in privateGetSubmitPdu()
[all …]
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()
142 public void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendText() argument
146 scAddr, destAddr, text, (deliveryIntent != null), null); in sendText()
148 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu); in sendText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
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()
172 public void sendMultipartText(String destAddr, String scAddr, in sendMultipartText() argument
177 mCdmaDispatcher.sendMultipartText(destAddr, scAddr, in sendMultipartText()
180 mGsmDispatcher.sendMultipartText(destAddr, scAddr, in sendMultipartText()
199 public void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendText() argument
204 mCdmaDispatcher.sendText(destAddr, scAddr, in sendText()
207 mGsmDispatcher.sendText(destAddr, scAddr, in sendText()
297 String destAddr = (String)map.get("destAddr"); in sendRetrySms() local
[all …]
DUiccSmsController.java96 public void sendDataForSubscriber(int subId, String callingPackage, String destAddr, 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()
124 public void sendText(String callingPackage, String destAddr, String scAddr, in sendText() argument
126 sendTextForSubscriber(getPreferredSmsSubscription(), callingPackage, destAddr, scAddr, in sendText() local
131 public void sendTextForSubscriber(int subId, String callingPackage, String destAddr, in sendTextForSubscriber() argument
136 iccSmsIntMgr.sendText(callingPackage, destAddr, scAddr, text, sentIntent, in sendTextForSubscriber()
146 String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendTextForSubscriberWithSelfPermissions() argument
150 iccSmsIntMgr.sendTextWithSelfPermissions(callingPackage, destAddr, scAddr, text, in sendTextForSubscriberWithSelfPermissions()
[all …]
DIccSmsInterfaceManager.java320 public void sendDataWithSelfPermissions(String callingPackage, String destAddr, String scAddr, 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()
368 private void sendDataInternal(String callingPackage, String destAddr, String scAddr, in sendDataInternal() argument
371 log("sendData: destAddr=" + destAddr + " scAddr=" + scAddr + " destPort=" + in sendDataInternal()
379 destAddr = filterDestAddress(destAddr); in sendDataInternal()
380 mDispatcher.sendData(destAddr, scAddr, destPort, data, sentIntent, deliveryIntent); in sendDataInternal()
387 public void sendText(String callingPackage, String destAddr, String scAddr, in sendText() argument
393 sendTextInternal(callingPackage, destAddr, scAddr, text, sentIntent, deliveryIntent, in sendText()
[all …]
DSmsNumberUtils.java530 public static String filterDestAddr(Phone phone, String destAddr) { in filterDestAddr() argument
531 if (DBG) Rlog.d(TAG, "enter filterDestAddr. destAddr=\"" + destAddr + "\"" ); in filterDestAddr()
533 if (destAddr == null || !PhoneNumberUtils.isGlobalPhoneNumber(destAddr)) { in filterDestAddr()
534 Rlog.w(TAG, "destAddr" + destAddr + " is not a global phone number! Nothing changed."); in filterDestAddr()
535 return destAddr; in filterDestAddr()
547 result = formatNumber(phone.getContext(), destAddr, networkMcc, networkType); in filterDestAddr()
554 …log.d(TAG, "leave filterDestAddr, new destAddr=\"" + (result != null ? result : destAddr) + "\"" ); in filterDestAddr()
556 return result != null ? result : destAddr; in filterDestAddr()
DSMSDispatcher.java748 protected abstract void sendData(String destAddr, String scAddr, int destPort, in sendData() argument
778 protected abstract void sendText(String destAddr, String scAddr, String text, in sendText() argument
833 protected void sendMultipartText(String destAddr, String scAddr, in sendMultipartText() argument
891 getNewSubmitPduTracker(destAddr, scAddr, parts.get(i), smsHeader, encoding, in sendMultipartText()
1333 PendingIntent deliveryIntent, PackageInfo appInfo, String destAddr, String format, in SmsTracker() argument
1342 mDestAddress = destAddr; in SmsTracker()
1579 String destAddr = PhoneNumberUtils.extractNetworkPortion((String) data.get("destAddr")); in getSmsTracker() local
1580 return new SmsTracker(data, sentIntent, deliveryIntent, appInfo, destAddr, format, in getSmsTracker()
1593 protected HashMap<String, Object> getSmsTrackerMap(String destAddr, String scAddr, in getSmsTrackerMap() argument
1596 map.put("destAddr", destAddr); in getSmsTrackerMap()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DISms.aidl97 void sendDataForSubscriber(int subId, String callingPkg, in String destAddr, in sendDataForSubscriber() argument
125 void sendDataForSubscriberWithSelfPermissions(int subId, String callingPkg, in String destAddr, in sendDataForSubscriberWithSelfPermissions() argument
157 void sendTextForSubscriber(in int subId, String callingPkg, in String destAddr, in sendTextForSubscriber() argument
186 in String destAddr, in String scAddr, in String text, in PendingIntent sentIntent, in sendTextForSubscriberWithSelfPermissions() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
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()
180 public void sendText(String destAddr, String scAddr, String text, PendingIntent sentIntent, in sendText() argument
184 scAddr, destAddr, text, (deliveryIntent != null)); in sendText()
186 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu); in sendText()