Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/sms/
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()
DMmsUtils.java1808 final String contentLocation, final boolean autoDownload, in downloadMmsMessage() argument
1810 if (TextUtils.isEmpty(contentLocation)) { in downloadMmsMessage()
1828 .isMediaScratchSpaceUri(Uri.parse(contentLocation))) { in downloadMmsMessage()
1830 LogUtil.d(TAG, "MmsUtils: Reading MMS from dump file: " + contentLocation); in downloadMmsMessage()
1832 final String fileName = Uri.parse(contentLocation).getPathSegments().get(1); in downloadMmsMessage()
1856 extras.putString(DownloadMmsAction.EXTRA_CONTENT_LOCATION, 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()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
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()
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()
DPduParser.java1629 byte[] contentLocation = parseWapString(pduDataStream, TYPE_TEXT_STRING); in parsePartHeaders()
1630 if (null != contentLocation) { in parsePartHeaders()
1631 part.setContentLocation(contentLocation); in parsePartHeaders()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
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()
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()
DReceiveMmsMessageAction.java165 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in doBackgroundWork() local
170 contentLocation, in doBackgroundWork()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
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()
DPduComposer.java1039 final byte[] contentLocation = part.getContentLocation(); in makeMessageBody()
1040 if (null != contentLocation) { in makeMessageBody()
1042 appendTextString(contentLocation); in makeMessageBody()
DPduParser.java1666 byte[] contentLocation = parseWapString(pduDataStream, TYPE_TEXT_STRING); in parsePartHeaders()
1667 if (null != contentLocation) { in parsePartHeaders()
1668 part.setContentLocation(contentLocation); in parsePartHeaders()
DPduPersister.java410 final byte[] contentLocation = getByteArrayFromPartColumn( in loadParts()
412 if (contentLocation != null) { in loadParts()
413 part.setContentLocation(contentLocation); in loadParts()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java235 String contentDisposition, String contentLocation, String mimeType, int destination) in generateSaveFile() argument
253 name = chooseFilename(url, hint, contentDisposition, contentLocation); in generateSaveFile()
304 String contentLocation) {
335 if (filename == null && contentLocation != null) {
336 String decodedContentLocation = Uri.decode(contentLocation);
DDownloadThread.java783 final String contentLocation = conn.getHeaderField("Content-Location"); in parseOkHeaders() local
787 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java489 String contentLocation = values.getAsString("cl"); in insert() local
490 if (!TextUtils.isEmpty(contentLocation)) { in insert()
491 File f = new File(contentLocation); in insert()
492 contentLocation = "_" + f.getName(); in insert()
494 contentLocation = ""; in insert()
500 + "/PART_" + System.currentTimeMillis() + contentLocation; in insert()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt346 val contentLocation = intArrayOf(0, 0) in onTouch() constant
347 mContentView.getLocationOnScreen(contentLocation) in onTouch()
349 val x: Float = event.getRawX() - contentLocation[0] in onTouch()
350 val y: Float = event.getRawY() - contentLocation[1] in onTouch()
DAlarmActivity.java379 final int[] contentLocation = {0, 0}; in onTouch() local
380 mContentView.getLocationOnScreen(contentLocation); in onTouch()
382 final float x = event.getRawX() - contentLocation[0]; in onTouch()
383 final float y = event.getRawY() - contentLocation[1]; in onTouch()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java359 String contentLocation, String body, in createMmsRow() argument
377 if (contentLocation != null) { in createMmsRow()
378 mmsRow.put(Telephony.Mms.CONTENT_LOCATION, contentLocation); in createMmsRow()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java338 final int bugleStatus, final String contentLocation, final String transactionId, in createMmsMessage() argument
348 message.mMmsContentLocation = contentLocation; in createMmsMessage()