OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BugleDatabaseOperations
(Results
1 - 19
of
19
) sorted by null
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
SendMessageAction.java
29
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
102
final MessageData message =
BugleDatabaseOperations
.readMessage(db, messageId);
107
final ParticipantData self =
BugleDatabaseOperations
.getExistingParticipant(
126
BugleDatabaseOperations
.getRecipientsForConversation(db, conversationId);
136
final String smsc =
BugleDatabaseOperations
.getSmsServiceCenterForConversation(
267
BugleDatabaseOperations
.updateMessageRow(db, messageId, values);
389
BugleDatabaseOperations
.updateMessageInTransaction(db, message);
390
BugleDatabaseOperations
.refreshConversationMetadataInTransaction(
405
BugleDatabaseOperations
.updateMessageRowIfExists(db, message.getMessageId(),
ReceiveSmsMessageAction.java
28
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
85
final boolean blocked =
BugleDatabaseOperations
.isBlockedDestination(
87
final String conversationId =
BugleDatabaseOperations
.
138
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, rawSender);
140
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, self);
145
BugleDatabaseOperations
.insertNewMessageInTransaction(db, message);
147
BugleDatabaseOperations
.updateConversationMetadataInTransaction(db, conversationId,
InsertNewMessageAction.java
27
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
148
BugleDatabaseOperations
.getRecipientsForConversation(db, conversationId);
176
BugleDatabaseOperations
.updateDraftMessageData(db, conversationId,
177
null /* message */,
BugleDatabaseOperations
.UPDATE_MODE_CLEAR_DRAFT);
186
BugleDatabaseOperations
.updateDraftMessageData(db, conversationId,
187
messageToSend,
BugleDatabaseOperations
.UPDATE_MODE_CLEAR_DRAFT);
204
self =
BugleDatabaseOperations
.getOrCreateSelf(db, requestedSubId);
225
final ParticipantData unboundSelf =
BugleDatabaseOperations
.getExistingParticipant(
230
self =
BugleDatabaseOperations
.getOrCreateSelf(db, defaultSubId);
257
BugleDatabaseOperations
.sanitizeConversationParticipants(participants)
[
all
...]
ProcessDownloadedMmsAction.java
31
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
355
toastMessage =
BugleDatabaseOperations
.readMessageData(db, messageId);
435
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, self);
447
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, sender);
454
final boolean blockedSender =
BugleDatabaseOperations
.isBlockedDestination(
456
conversationId =
BugleDatabaseOperations
.getOrCreateConversationFromThreadId(db,
476
final MessageData current =
BugleDatabaseOperations
.readMessageData(db, messageId);
479
BugleDatabaseOperations
.insertNewMessageInTransaction(db, message);
484
BugleDatabaseOperations
.updateMessageInTransaction(db, message);
492
if (!
BugleDatabaseOperations
.deleteConversationIfEmptyInTransaction
[
all
...]
RedownloadMmsAction.java
25
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
79
MessageData message =
BugleDatabaseOperations
.readMessage(db, messageId);
90
BugleDatabaseOperations
.updateMessageRow(db, message.getMessageId(), values);
ResendMessageAction.java
23
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
65
final MessageData message =
BugleDatabaseOperations
.readMessage(db, messageId);
86
BugleDatabaseOperations
.updateMessageRow(db, message.getMessageId(), values);
UpdateConversationArchiveStatusAction.java
22
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
60
BugleDatabaseOperations
.updateConversationArchiveStatusInTransaction(
UpdateConversationOptionsAction.java
23
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
125
BugleDatabaseOperations
.updateConversationRowIfExists(db, conversationId, values);
UpdateDestinationBlockedAction.java
22
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
111
BugleDatabaseOperations
.updateDestination(db, destination, isBlocked);
113
conversationId =
BugleDatabaseOperations
UpdateMessagePartSizeAction.java
23
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
72
BugleDatabaseOperations
.updateRowIfExists(db, DatabaseHelper.PARTS_TABLE,
ReceiveMmsMessageAction.java
25
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
69
final ParticipantData self =
BugleDatabaseOperations
.getOrCreateSelf(db, subId);
89
final boolean blocked =
BugleDatabaseOperations
.isBlockedDestination(
93
BugleDatabaseOperations
.getOrCreateConversationFromThreadId(db, mms.mThreadId,
109
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, rawSender);
111
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, self);
117
BugleDatabaseOperations
.insertNewMessageInTransaction(db, message);
120
BugleDatabaseOperations
.updateConversationMetadataInTransaction(db,
SyncMessageBatch.java
26
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
160
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, self);
165
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, sender));
183
BugleDatabaseOperations
.insertNewMessageInTransaction(db, message);
254
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, self);
258
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, sender));
273
BugleDatabaseOperations
.insertNewMessageInTransaction(db, message);
319
BugleDatabaseOperations
.getExistingParticipant(db, selfId);
321
BugleDatabaseOperations
.getExistingParticipant(db, senderId);
340
if (
BugleDatabaseOperations
.deleteConversationIfEmptyInTransaction(db
[
all
...]
ProcessDeliveryReportAction.java
26
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
83
BugleDatabaseOperations
.readMessageData(db, smsMessageUri);
90
BugleDatabaseOperations
.updateMessageRow(db, messageData.getMessageId(), values);
ProcessPendingMessagesAction.java
29
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
342
final ParticipantData messageSelf =
BugleDatabaseOperations
345
final ParticipantData defaultSelf =
BugleDatabaseOperations
353
BugleDatabaseOperations
.updateMessageRow(db,
366
BugleDatabaseOperations
.updateMessageRow(db, message.getMessageId(), values);
DownloadMmsAction.java
27
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
116
final MessageData message =
BugleDatabaseOperations
.readMessage(db, messageId);
123
final ParticipantData self =
BugleDatabaseOperations
314
BugleDatabaseOperations
.updateMessageRowIfExists(db, messageId, values);
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
TestDataFactory.java
27
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
294
BugleDatabaseOperations
.clearParticipantIdCache();
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
ReadWriteDraftMessageActionTest.java
29
import com.android.messaging.datamodel.
BugleDatabaseOperations
;
95
final MessageData actual =
BugleDatabaseOperations
.readMessage(db, messageId);
102
final String selfId =
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db,
115
final String conversationId =
BugleDatabaseOperations
.getOrCreateConversation(db, threadId,
140
BugleDatabaseOperations
.updateDraftMessageData(db, conversationId, message,
141
BugleDatabaseOperations
.UPDATE_MODE_ADD_DRAFT);
174
final MessageData blank =
BugleDatabaseOperations
.readDraftMessageData(db,
180
conversationId =
BugleDatabaseOperations
.getExistingConversation(db,
191
conversationId =
BugleDatabaseOperations
.getOrCreateConversation(db, threadId,
195
final MessageData actual =
BugleDatabaseOperations
.readDraftMessageData(db, conversationId
[
all
...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleDatabaseOperations.java
64
public class
BugleDatabaseOperations
{
215
String conversationId =
BugleDatabaseOperations
.getExistingConversation(db, threadId,
231
BugleDatabaseOperations
.getOrCreateParticipantInTransaction(db, self);
233
conversationId =
BugleDatabaseOperations
.createConversationInTransaction(
409
LogUtil.e(TAG, "
BugleDatabaseOperations
: failed to insert conversation into table");
511
LogUtil.w(TAG, "
BugleDatabaseOperations
:"
[
all
...]
ParticipantRefresh.java
299
BugleDatabaseOperations
.refreshConversationsForParticipants(changedParticipants);
702
BugleDatabaseOperations
.updateConversationSelfIdInTransaction(db, conversationId,
730
BugleDatabaseOperations
.getOrCreateSelf(db, ParticipantData.DEFAULT_SELF_SUB_ID);
Completed in 388 milliseconds