Home
last modified time | relevance | path

Searched refs:DatabaseWrapper (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java167 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 …]
DParticipantRefresh.java259 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 …]
DDatabaseHelper.java569 private DatabaseWrapper mDatabaseWrapper; // Protected by mDatabaseWrapperLock.
617 DatabaseWrapper getDatabase() { in getDatabase()
624 mDatabaseWrapper = new DatabaseWrapper(mApplicationContext, getWritableDatabase()); in getDatabase()
675 public static void rebuildAllViews(final DatabaseWrapper db) { in rebuildAllViews()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java31 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()
DInsertNewMessageAction.java29 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()
DSyncCursorPair.java29 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()
DProcessPendingMessagesAction.java33 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()
DUpdateConversationOptionsAction.java26 import com.android.messaging.datamodel.DatabaseWrapper;
97 final DatabaseWrapper dbWrapper) { in putOptionValuesInTransaction()
119 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DDeleteConversationAction.java33 import com.android.messaging.datamodel.DatabaseWrapper;
71 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork()
138 final DatabaseWrapper db = DataModel.get().getDatabase(); in deleteConversationMessagesFromTelephony()
DSyncMessagesAction.java31 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()
DSendMessageAction.java32 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()
DUpdateConversationArchiveStatusAction.java24 import com.android.messaging.datamodel.DatabaseWrapper;
57 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DFixupMessageStatusOnStartupAction.java25 import com.android.messaging.datamodel.DatabaseWrapper;
47 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DUpdateMessagePartSizeAction.java26 import com.android.messaging.datamodel.DatabaseWrapper;
63 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DMarkAsSeenAction.java28 import com.android.messaging.datamodel.DatabaseWrapper;
75 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DDownloadMmsAction.java30 import com.android.messaging.datamodel.DatabaseWrapper;
114 final DatabaseWrapper db = DataModel.get().getDatabase(); in queueAction()
313 final DatabaseWrapper db = DataModel.get().getDatabase(); in updateMessageStatus()
DWriteDraftMessageAction.java24 import com.android.messaging.datamodel.DatabaseWrapper;
51 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DDeleteMessageAction.java27 import com.android.messaging.datamodel.DatabaseWrapper;
60 final DatabaseWrapper db = DataModel.get().getDatabase(); in doBackgroundWork()
DMarkAsReadAction.java28 import com.android.messaging.datamodel.DatabaseWrapper;
58 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DRedownloadMmsAction.java29 import com.android.messaging.datamodel.DatabaseWrapper;
77 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DResendMessageAction.java26 import com.android.messaging.datamodel.DatabaseWrapper;
63 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DProcessDeliveryReportAction.java29 import com.android.messaging.datamodel.DatabaseWrapper;
59 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DUpdateDestinationBlockedAction.java24 import com.android.messaging.datamodel.DatabaseWrapper;
110 final DatabaseWrapper db = DataModel.get().getDatabase(); in executeAction()
DReadDraftDataAction.java24 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/
DReadWriteDraftMessageActionTest.java33 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()

12