Home
last modified time | relevance | path

Searched refs:contentLocation (Results 1 – 23 of 23) sorted by relevance

/aosp12/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsSender.java90 final byte[] transactionId, final String contentLocation, final int status) in sendNotifyResponseForMmsDownload() argument
95 final Uri messageUri = Uri.parse(contentLocation); in sendNotifyResponseForMmsDownload()
100 MmsConfig.get(subId).getNotifyWapMMSC() ? contentLocation : null, in sendNotifyResponseForMmsDownload()
117 final byte[] transactionId, final String contentLocation) in sendAcknowledgeForMmsDownload() argument
124 final Uri messageUri = Uri.parse(contentLocation); in sendAcknowledgeForMmsDownload()
129 MmsConfig.get(subId).getNotifyWapMMSC() ? contentLocation : null, in sendAcknowledgeForMmsDownload()
248 final String contentLocation, Bundle extras) throws MmsFailureException, in downloadMms() argument
250 final Uri requestUri = Uri.parse(contentLocation); in downloadMms()
267 MmsManager.downloadMultimediaMessage(subId, context, contentLocation, contentUri, in downloadMms()
H A DMmsUtils.java1808 final String contentLocation, final boolean autoDownload, in downloadMmsMessage() argument
1810 if (TextUtils.isEmpty(contentLocation)) { in downloadMmsMessage()
1862 MmsSender.downloadMms(context, subId, contentLocation, extras); in downloadMmsMessage()
1866 subPhoneNumber, transactionId, contentLocation, autoDownload, in downloadMmsMessage()
1880 final String transactionId, final String contentLocation, in insertDownloadedMessageAndSendResponse() argument
1911 contentLocation, in insertDownloadedMessageAndSendResponse()
1938 if (contentLocation == null) { in sendNotifyResponseForMmsDownload()
1951 context, subId, transactionId, contentLocation, status); in sendNotifyResponseForMmsDownload()
1963 final byte[] transactionId, final String contentLocation) { in sendAcknowledgeForMmsDownload() argument
1968 if (contentLocation == null) { in sendAcknowledgeForMmsDownload()
[all …]
/aosp12/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DPduBody.java52 byte[] contentLocation = part.getContentLocation(); in putPartToMaps()
53 if(null != contentLocation) { in putPartToMaps()
54 String clc = new String(contentLocation); in putPartToMaps()
168 public PduPart getPartByContentLocation(String contentLocation) { in getPartByContentLocation() argument
169 return mPartMapByContentLocation.get(contentLocation); in getPartByContentLocation()
H A DPduPart.java255 public void setContentLocation(byte[] contentLocation) { in setContentLocation() argument
256 if(contentLocation == null) { in setContentLocation()
260 mPartHeader.put(P_CONTENT_LOCATION, contentLocation); in setContentLocation()
H A DPduParser.java1629 byte[] contentLocation = parseWapString(pduDataStream, TYPE_TEXT_STRING); in parsePartHeaders()
1630 if (null != contentLocation) { in parsePartHeaders()
1631 part.setContentLocation(contentLocation); in parsePartHeaders()
/aosp12/frameworks/base/telephony/common/com/google/android/mms/pdu/
H A DPduBody.java56 byte[] contentLocation = part.getContentLocation(); in putPartToMaps()
57 if(null != contentLocation) { in putPartToMaps()
58 String clc = new String(contentLocation); in putPartToMaps()
180 public PduPart getPartByContentLocation(String contentLocation) { in getPartByContentLocation() argument
181 return mPartMapByContentLocation.get(contentLocation); in getPartByContentLocation()
H A DPduPart.java268 public void setContentLocation(byte[] contentLocation) { in setContentLocation() argument
269 if(contentLocation == null) { in setContentLocation()
273 mPartHeader.put(P_CONTENT_LOCATION, contentLocation); in setContentLocation()
H A DPduComposer.java1011 byte[] contentLocation = part.getContentLocation(); in makeMessageBody()
1012 if (null != contentLocation) { in makeMessageBody()
1014 appendTextString(contentLocation); in makeMessageBody()
H A DPduParser.java1647 byte[] contentLocation = parseWapString(pduDataStream, TYPE_TEXT_STRING); in parsePartHeaders()
1648 if (null != contentLocation) { in parsePartHeaders()
1649 part.setContentLocation(contentLocation); in parsePartHeaders()
H A DPduPersister.java408 byte[] contentLocation = getByteArrayFromPartColumn( in loadParts()
410 if (contentLocation != null) { in loadParts()
411 part.setContentLocation(contentLocation); in loadParts()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DProcessDownloadedMmsAction.java141 final String contentLocation, final int subId, final String subPhoneNumber, in processMessageDownloadFastFailed() argument
157 params.putString(KEY_CONTENT_LOCATION, contentLocation); in processMessageDownloadFastFailed()
188 final String contentLocation, final int subId) { in sendDeferredRespStatus() argument
193 params.putString(KEY_CONTENT_LOCATION, contentLocation); in sendDeferredRespStatus()
216 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in doBackgroundWork() local
230 contentLocation, in doBackgroundWork()
293 contentLocation, autoDownload, receivedTimestampInSeconds, in doBackgroundWork()
352 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in processBackgroundResponse() local
353 sendDeferredRespStatus(messageId, transactionId, contentLocation, subId); in processBackgroundResponse()
H A DDownloadMmsAction.java240 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in doBackgroundWork() local
262 notificationUri, subId, subPhoneNumber, transactionId, contentLocation, in doBackgroundWork()
276 notificationUri, conversationId, participantId, contentLocation, subId, in doBackgroundWork()
H A DReceiveMmsMessageAction.java165 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in doBackgroundWork() local
170 contentLocation, in doBackgroundWork()
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduPart.java230 public void setContentLocation(final byte[] contentLocation) { in setContentLocation() argument
231 if (contentLocation == null) { in setContentLocation()
235 mPartHeader.put(P_CONTENT_LOCATION, contentLocation); in setContentLocation()
H A DPduComposer.java1039 final byte[] contentLocation = part.getContentLocation(); in makeMessageBody()
1040 if (null != contentLocation) { in makeMessageBody()
1042 appendTextString(contentLocation); in makeMessageBody()
H A DPduParser.java1666 byte[] contentLocation = parseWapString(pduDataStream, TYPE_TEXT_STRING); in parsePartHeaders()
1667 if (null != contentLocation) { in parsePartHeaders()
1668 part.setContentLocation(contentLocation); in parsePartHeaders()
H A DPduPersister.java410 final byte[] contentLocation = getByteArrayFromPartColumn( in loadParts()
412 if (contentLocation != null) { in loadParts()
413 part.setContentLocation(contentLocation); in loadParts()
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DHelpers.java243 String contentDisposition, String contentLocation, String mimeType, int destination) in generateSaveFile() argument
261 name = chooseFilename(url, hint, contentDisposition, contentLocation); in generateSaveFile()
312 String contentLocation) {
343 if (filename == null && contentLocation != null) {
344 String decodedContentLocation = Uri.decode(contentLocation);
H A DDownloadThread.java778 final String contentLocation = conn.getHeaderField("Content-Location"); in parseOkHeaders() local
782 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
/aosp12/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java490 String contentLocation = values.getAsString("cl"); in insert() local
491 if (!TextUtils.isEmpty(contentLocation)) { in insert()
492 File f = new File(contentLocation); in insert()
493 contentLocation = "_" + f.getName(); in insert()
495 contentLocation = ""; in insert()
501 + "/PART_" + System.currentTimeMillis() + contentLocation; in insert()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmActivity.kt352 val contentLocation = intArrayOf(0, 0) regex
353 mContentView.getLocationOnScreen(contentLocation)
355 val x: Float = event.getRawX() - contentLocation[0]
356 val y: Float = event.getRawY() - contentLocation[1]
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DMessageData.java338 final int bugleStatus, final String contentLocation, final String transactionId, in createMmsMessage() argument
348 message.mMmsContentLocation = contentLocation; in createMmsMessage()
/aosp12/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
H A DTelephonyBackupAgentTest.java371 String contentLocation, String body, in createMmsRow() argument
389 if (contentLocation != null) { in createMmsRow()
390 mmsRow.put(Telephony.Mms.CONTENT_LOCATION, contentLocation); in createMmsRow()