OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MmsUtils
(Results
1 - 25
of
41
) sorted by null
1
2
/packages/apps/Messaging/src/com/android/messaging/sms/
MmsFailureException.java
29
* Hint of how we should retry in case of failure. Take values defined in
MmsUtils
.
39
Assert.isTrue(retryHint ==
MmsUtils
.MMS_REQUEST_AUTO_RETRY
40
|| retryHint ==
MmsUtils
.MMS_REQUEST_MANUAL_RETRY
41
|| retryHint ==
MmsUtils
.MMS_REQUEST_NO_RETRY);
MmsSender.java
185
MmsUtils
.MMS_REQUEST_NO_RETRY, "Failed to compose PDU");
189
MmsUtils
.MMS_REQUEST_NO_RETRY,
199
MmsUtils
.MMS_REQUEST_AUTO_RETRY, "Cannot create raw mms file");
206
MmsUtils
.MMS_REQUEST_MANUAL_RETRY,
296
return
MmsUtils
.MMS_REQUEST_AUTO_RETRY;
301
return
MmsUtils
.MMS_REQUEST_MANUAL_RETRY;
304
return
MmsUtils
.MMS_REQUEST_NO_RETRY;
306
return
MmsUtils
.MMS_REQUEST_AUTO_RETRY;
309
return
MmsUtils
.MMS_REQUEST_MANUAL_RETRY;
SmsReleaseStorage.java
144
deleted =
MmsUtils
.deleteMediaMessages();
152
deleted =
MmsUtils
.deleteMessagesOlderThan(cutOffTimestampInMillis);
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
ProcessSentMessageAction.java
40
import com.android.messaging.sms.
MmsUtils
;
133
int status = actionParameters.getInt(KEY_STATUS,
MmsUtils
.MMS_REQUEST_MANUAL_RETRY);
135
MmsUtils
.PDU_HEADER_VALUE_UNDEFINED);
161
final
MmsUtils
.StatusPlusUri result =
162
MmsUtils
.updateSentMmsMessageStatus(context, messageUri, sendConf);
215
final MessageData update =
MmsUtils
.readSendingMmsMessage(updatedMessageUri,
230
status =
MmsUtils
.MMS_REQUEST_MANUAL_RETRY;
237
if (status ==
MmsUtils
.MMS_REQUEST_SUCCEEDED) {
240
} else if (status ==
MmsUtils
.MMS_REQUEST_AUTO_RETRY
255
if (status !=
MmsUtils
.MMS_REQUEST_SUCCEEDED)
[
all
...]
ProcessDownloadedMmsAction.java
46
import com.android.messaging.sms.
MmsUtils
;
224
MmsUtils
.sendNotifyResponseForMmsDownload(
227
MmsUtils
.stringToBytes(transactionId, "UTF-8"),
238
int rawStatus =
MmsUtils
.PDU_HEADER_VALUE_UNDEFINED;
269
if (
MmsUtils
.isDumpMmsEnabled()) {
270
MmsUtils
.dumpPdu(downloadedData, retrieveConf);
287
final
MmsUtils
.StatusPlusUri result =
288
MmsUtils
.insertDownloadedMessageAndSendResponse(context,
297
status =
MmsUtils
.MMS_REQUEST_MANUAL_RETRY;
301
status =
MmsUtils
.MMS_REQUEST_MANUAL_RETRY
[
all
...]
ReceiveMmsMessageAction.java
36
import com.android.messaging.sms.
MmsUtils
;
77
final DatabaseMessages.MmsMessage mms =
MmsUtils
.processReceivedPdu(
81
final List<String> recipients =
MmsUtils
.getRecipientsByThread(mms.mThreadId);
82
String from =
MmsUtils
.getMmsSender(recipients, mms.getUri());
91
final boolean autoDownload = (!blocked &&
MmsUtils
.allowMmsAutoRetrieve(subId));
113
message =
MmsUtils
.createMmsMessage(mms, conversationId, participantId, selfId,
166
MmsUtils
.sendNotifyResponseForMmsDownload(
169
MmsUtils
.stringToBytes(transactionId, "UTF-8"),
SendMessageAction.java
37
import com.android.messaging.sms.
MmsUtils
;
49
* This class is public (not package-private) because the SMS/MMS (e.g.
MmsUtils
) classes need to
204
final boolean deliveryReportRequired =
MmsUtils
.isDeliveryReportRequired(subId);
206
status =
MmsUtils
.sendSmsMessage(recipient, messageText, messageUri, subId,
220
updatedMessageUri =
MmsUtils
.insertSendingMmsMessage(context, recipients,
238
final
MmsUtils
.StatusPlusUri result =
MmsUtils
.sendMmsMessage(context, subId,
240
if (result ==
MmsUtils
.STATUS_PENDING) {
250
status =
MmsUtils
.MMS_REQUEST_MANUAL_RETRY;
294
MmsUtils
.MMS_REQUEST_MANUAL_RETRY, MessageData.RAW_TELEPHONY_STATUS_UNDEFINED
[
all
...]
DeleteConversationAction.java
35
import com.android.messaging.sms.
MmsUtils
;
107
final int count =
MmsUtils
.deleteThread(threadId, cutoffTimestamp);
165
int count =
MmsUtils
.deleteMessage(messageUri);
DownloadMmsAction.java
35
import com.android.messaging.sms.
MmsUtils
;
43
* This class is public (not package-private) because the SMS/MMS (e.g.
MmsUtils
) classes need to
257
final
MmsUtils
.StatusPlusUri status =
MmsUtils
.downloadMmsMessage(context,
260
if (status ==
MmsUtils
.STATUS_PENDING) {
295
MmsUtils
.MMS_REQUEST_MANUAL_RETRY, MessageData.RAW_TELEPHONY_STATUS_UNDEFINED,
307
MmsUtils
.clearMmsStatus(context, messageUri);
DeleteMessageAction.java
30
import com.android.messaging.sms.
MmsUtils
;
85
count =
MmsUtils
.deleteMessage(messageUri);
MarkAsReadAction.java
30
import com.android.messaging.sms.
MmsUtils
;
63
MmsUtils
.updateSmsReadStatus(threadId, Long.MAX_VALUE);
SyncMessageBatch.java
39
import com.android.messaging.sms.
MmsUtils
;
260
final int bugleStatus =
MmsUtils
.bugleStatusForMms(isOutgoing, isNotification, mms.mType);
268
final MessageData message =
MmsUtils
.createMmsMessage(mms, conversationId, participantId,
366
for (int start = 0; start < totalIds; start +=
MmsUtils
.MAX_IDS_PER_QUERY) {
367
final int end = Math.min(start +
MmsUtils
.MAX_IDS_PER_QUERY, totalIds); //excluding
373
MmsUtils
.getSqlInOperand(count));
BugleActionToasts.java
27
import com.android.messaging.sms.
MmsUtils
;
57
if (!success && status ==
MmsUtils
.MMS_REQUEST_MANUAL_RETRY) {
GetOrCreateConversationAction.java
30
import com.android.messaging.sms.
MmsUtils
;
102
final long threadId =
MmsUtils
.getOrCreateThreadId(Factory.get().getApplicationContext(),
ProcessDeliveryReportAction.java
32
import com.android.messaging.sms.
MmsUtils
;
69
MmsUtils
.updateSmsStatusAndDateSent(smsMessageUri, status, timeSentInMillis);
InsertNewMessageAction.java
36
import com.android.messaging.sms.
MmsUtils
;
265
final long threadId =
MmsUtils
.getOrCreateThreadId(Factory.get().getApplicationContext(),
307
final Uri messageUri =
MmsUtils
.insertSmsMessage(context,
365
threadId =
MmsUtils
.getOrCreateSmsThreadId(context, recipient);
378
final Uri messageUri =
MmsUtils
.insertSmsMessage(context,
SyncMessagesAction.java
41
import com.android.messaging.sms.
MmsUtils
;
533
for (int start = 0; start < totalIds; start +=
MmsUtils
.MAX_IDS_PER_QUERY) {
534
final int end = Math.min(start +
MmsUtils
.MAX_IDS_PER_QUERY, totalIds); //excluding
542
MmsUtils
.getSqlInOperand(count));
550
MmsUtils
.MMS_PART_CONTENT_URI,
613
return
MmsUtils
.getMmsSender(recipients, mms.mUri);
/packages/apps/Messaging/src/com/android/messaging/receiver/
SendStatusReceiver.java
29
import com.android.messaging.sms.
MmsUtils
;
78
final SmsMessage smsMessage =
MmsUtils
.getSmsMessageFromDeliveryReport(intent);
SmsReceiver.java
45
import com.android.messaging.sms.
MmsUtils
;
194
if (
MmsUtils
.isDumpSmsEnabled()) {
203
MmsUtils
.parseReceivedSmsMessage(context, messages, errorCode);
208
final long receivedTimestampMs =
MmsUtils
.getMessageDate(messages[0], nowInMillis);
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DebugSmsMmsFromDumpFileDialogFragment.java
41
import com.android.messaging.sms.
MmsUtils
;
131
if (dumpFileName.startsWith(
MmsUtils
.SMS_DUMP_PREFIX)) {
140
} else if (dumpFileName.startsWith(
MmsUtils
.MMS_DUMP_PREFIX)) {
141
final byte[] data =
MmsUtils
.createDebugNotificationInd(dumpFileName);
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
MessageDetailsDialog.java
35
import com.android.messaging.sms.
MmsUtils
;
129
if (data.getSentTimeStamp() !=
MmsUtils
.INVALID_TIMESTAMP) {
191
if (!TextUtils.isEmpty(
MmsUtils
.cleanseMmsSubject(res, data.getMmsSubject()))) {
271
mms =
MmsUtils
.loadMms(Uri.parse(telephonyUri));
289
final String recipientsString =
MmsUtils
.getRawRecipientIdsForThread(threadId);
296
final List<String> recipients =
MmsUtils
.getRecipientsByThread(threadId);
303
final String from =
MmsUtils
.getMmsSender(recipients, mms.getUri());
/packages/apps/Messaging/src/com/android/messaging/datamodel/
NoConfirmationSmsSendService.java
31
import com.android.messaging.sms.
MmsUtils
;
87
final String recipients = intentUri != null ?
MmsUtils
.getSmsRecipients(intentUri) : null;
/packages/apps/Messaging/src/com/android/messaging/util/
DebugUtils.java
35
import com.android.messaging.sms.
MmsUtils
;
226
|| filename.startsWith(
MmsUtils
.MMS_DUMP_PREFIX)
227
|| filename.startsWith(
MmsUtils
.SMS_DUMP_PREFIX));
242
final String dumpFileName =
MmsUtils
.SMS_DUMP_PREFIX + Long.toString(id);
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
PerSubscriptionSettingsActivity.java
41
import com.android.messaging.sms.
MmsUtils
;
164
if (
MmsUtils
.useSystemApnTable() && !ApnDatabase.doesDatabaseExist()) {
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
GetOrCreateConversationActionTest.java
39
import com.android.messaging.sms.
MmsUtils
;
67
final long threadId =
MmsUtils
.getOrCreateThreadId(mContext, recipients);
Completed in 886 milliseconds
1
2