/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 167 public static String getOrCreateConversationFromThreadId(final DatabaseWrapper db, in getOrCreateConversationFromThreadId() 188 public static String getOrCreateConversationFromRecipient(final DatabaseWrapper db, in getOrCreateConversationFromRecipient() 209 public static String getOrCreateConversation(final DatabaseWrapper db, final long threadId, in getOrCreateConversation() 255 public static String getExistingConversation(final DatabaseWrapper dbWrapper, in getExistingConversation() 290 public static long getThreadId(final DatabaseWrapper dbWrapper, final String conversationId) { in getThreadId() 318 public static boolean isBlockedDestination(final DatabaseWrapper db, final String destination) { in isBlockedDestination() 323 static boolean isBlockedParticipant(final DatabaseWrapper db, final String participantId) { in isBlockedParticipant() 327 static boolean isBlockedParticipant(final DatabaseWrapper db, final String value, in isBlockedParticipant() 365 static String createConversationInTransaction(final DatabaseWrapper dbWrapper, in createConversationInTransaction() 469 public static boolean deleteConversation(final DatabaseWrapper dbWrapper, in deleteConversation() [all …]
|
D | ParticipantRefresh.java | 259 final DatabaseWrapper db = DataModel.get().getDatabase(); in refreshParticipants() 314 final DatabaseWrapper db = DataModel.get().getDatabase(); in getExistingSubIds() 360 final DatabaseWrapper db = DataModel.get().getDatabase(); in refreshSelfParticipantList() 416 public static boolean refreshParticipant(final DatabaseWrapper db, in refreshParticipant() 440 private static int refreshFromSelfProfile(final DatabaseWrapper db, in refreshFromSelfProfile() 490 private static boolean refreshFromContacts(final DatabaseWrapper db, in refreshFromContacts() 597 private static void updateParticipant(final DatabaseWrapper db, in updateParticipant() 629 final DatabaseWrapper db = DataModel.get().getDatabase(); in getInactiveSelfParticipantIds() 660 final DatabaseWrapper db = DataModel.get().getDatabase(); in getConversationsWithSelfParticipantIds() 698 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateConversationSelfId() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncMessageBatch.java | 31 import com.android.messaging.datamodel.DatabaseWrapper; 80 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateLocalDatabase() 129 private void storeSms(final DatabaseWrapper db, final SmsMessage sms) { in storeSms() 230 private void storeMms(final DatabaseWrapper db, final MmsMessage mms) { in storeMms() 291 DatabaseWrapper db, String messageUri, long threadId, String conversationId, in rethrowSQLiteConstraintExceptionWithDetails() 338 private void updateConversations(final DatabaseWrapper db) { in updateConversations() 362 private static int batchDelete(final DatabaseWrapper db, final String table, in batchDelete()
|
D | InsertNewMessageAction.java | 29 import com.android.messaging.datamodel.DatabaseWrapper; 131 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction() 196 final DatabaseWrapper db, final String conversationId, final MessageData message) { in getSelf() 256 final DatabaseWrapper db = DataModel.get().getDatabase(); in createMessage() 296 final DatabaseWrapper db = DataModel.get().getDatabase(); in insertBroadcastSmsMessage() 358 final DatabaseWrapper db = DataModel.get().getDatabase(); in insertSendingSmsMessage() 427 final DatabaseWrapper db = DataModel.get().getDatabase(); in insertSendingMmsMessage()
|
D | SyncCursorPair.java | 29 import com.android.messaging.datamodel.DatabaseWrapper; 79 static boolean allSynchronized(final DatabaseWrapper db) { in allSynchronized() 127 void query(final DatabaseWrapper db) { in query() 135 boolean isSynchronized(final DatabaseWrapper db) { in isSynchronized() 371 private final DatabaseWrapper mDatabase; 373 LocalCursorIterator(final DatabaseWrapper database, final String selection) in LocalCursorIterator() 647 private static boolean isSynchronized(final DatabaseWrapper db, final String localSelection, in isSynchronized()
|
D | UpdateConversationOptionsAction.java | 26 import com.android.messaging.datamodel.DatabaseWrapper; 97 final DatabaseWrapper dbWrapper) { in putOptionValuesInTransaction() 119 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | ProcessPendingMessagesAction.java | 33 import com.android.messaging.datamodel.DatabaseWrapper; 218 final DatabaseWrapper db = DataModel.get().getDatabase(); in getHavePendingMessages() 241 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueActions() 296 private static String findNextMessageToSend(final DatabaseWrapper db, final long now) { in findNextMessageToSend() 391 private static String findNextMessageToDownload(final DatabaseWrapper db, final long now) { in findNextMessageToDownload()
|
D | DeleteConversationAction.java | 33 import com.android.messaging.datamodel.DatabaseWrapper; 71 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork() 138 final DatabaseWrapper db = DataModel.get().getDatabase(); in deleteConversationMessagesFromTelephony()
|
D | UpdateConversationArchiveStatusAction.java | 24 import com.android.messaging.datamodel.DatabaseWrapper; 57 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | FixupMessageStatusOnStartupAction.java | 25 import com.android.messaging.datamodel.DatabaseWrapper; 47 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | SendMessageAction.java | 32 import com.android.messaging.datamodel.DatabaseWrapper; 100 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueAction() 262 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageUri() 313 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageAndStatus()
|
D | UpdateMessagePartSizeAction.java | 26 import com.android.messaging.datamodel.DatabaseWrapper; 63 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | MarkAsSeenAction.java | 28 import com.android.messaging.datamodel.DatabaseWrapper; 75 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | SyncMessagesAction.java | 31 import com.android.messaging.datamodel.DatabaseWrapper; 144 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction() 196 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork() 278 private long syncCursorPair(final DatabaseWrapper db, final SyncCursorPair cursors, in syncCursorPair() 469 final DatabaseWrapper db = DataModel.get().getDatabase(); in processBackgroundResponse()
|
D | MarkAsReadAction.java | 28 import com.android.messaging.datamodel.DatabaseWrapper; 58 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | WriteDraftMessageAction.java | 24 import com.android.messaging.datamodel.DatabaseWrapper; 51 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | DeleteMessageAction.java | 27 import com.android.messaging.datamodel.DatabaseWrapper; 60 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork()
|
D | RedownloadMmsAction.java | 29 import com.android.messaging.datamodel.DatabaseWrapper; 77 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | ResendMessageAction.java | 26 import com.android.messaging.datamodel.DatabaseWrapper; 63 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | ProcessDeliveryReportAction.java | 29 import com.android.messaging.datamodel.DatabaseWrapper; 59 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | UpdateDestinationBlockedAction.java | 24 import com.android.messaging.datamodel.DatabaseWrapper; 110 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | DownloadMmsAction.java | 30 import com.android.messaging.datamodel.DatabaseWrapper; 114 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueAction() 313 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageStatus()
|
D | GetOrCreateConversationAction.java | 26 import com.android.messaging.datamodel.DatabaseWrapper; 93 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
D | ReadDraftDataAction.java | 24 import com.android.messaging.datamodel.DatabaseWrapper; 84 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 33 import com.android.messaging.datamodel.DatabaseWrapper; 69 final DatabaseWrapper db = DataModel.get().getDatabase(); in testWriteDraft() 100 private static String getOrCreateSelfId(final DatabaseWrapper db) { in getOrCreateSelfId() 109 private static String getOrCreateConversation(final DatabaseWrapper db, in getOrCreateConversation() 128 final DatabaseWrapper db = DataModel.get().getDatabase(); in testReadDraft() 170 final DatabaseWrapper db = DataModel.get().getDatabase(); in testReadDraftForNewConversation() 226 final DatabaseWrapper db = DataModel.get().getDatabase(); in testWriteAndReadDraft() 287 final DatabaseWrapper db = DataModel.get().getDatabase(); in testUpdateDraft() 337 final DatabaseWrapper db = DataModel.get().getDatabase(); in testBugleDatabaseDraftOperations()
|