Home
last modified time | relevance | path

Searched refs:CONTENT_PROJECTION (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DContentCacheTests.java148 resolver.query(uri, Mailbox.CONTENT_PROJECTION, null, null, null); in testCachedCursors()
165 assertEquals(Mailbox.CONTENT_PROJECTION.length, columnNames.length); in testCachedCursors()
166 for (int i = 0; i < Mailbox.CONTENT_PROJECTION.length; i++) { in testCachedCursors()
167 assertEquals(Mailbox.CONTENT_PROJECTION[i], columnNames[i]); in testCachedCursors()
DProviderTests.java391 EmailContent.Body.CONTENT_PROJECTION, BodyColumns.MESSAGE_KEY + "=?", in loadBodyForMessageId()
484 Attachment.CONTENT_PROJECTION, AttachmentColumns.MESSAGE_KEY + "=?", in testMessageWithAttachment()
536 Attachment.CONTENT_PROJECTION, AttachmentColumns.MESSAGE_KEY + "=?", in testMessageSaveWithJustAttachments()
1264 cr.query(Message.UPDATED_CONTENT_URI, Message.CONTENT_PROJECTION, null, null, null); in testMessageUpdate()
1570 .query(uri, Attachment.CONTENT_PROJECTION, null, null, AttachmentColumns.SIZE); in testGetAttachmentByMessageIdUri()
1607 Attachment.CONTENT_URI, Attachment.CONTENT_PROJECTION, null, null, in testDeleteAttachmentByMessageIdUri()
DAccountBackupRestoreTests.java123 Cursor c = cr.query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, null, null, "_id ASC"); in testBackupAndRestore()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java205 public static final String[] CONTENT_PROJECTION = new String[] { field in Mailbox
458 Mailbox.CONTENT_URI, Mailbox.CONTENT_PROJECTION, id); in restoreMailboxWithId()
515 Mailbox.CONTENT_PROJECTION, in restoreMailboxForPath()
753 final Object[] hash = new Object[CONTENT_PROJECTION.length]; in getHashes()
880 return cr.query(Mailbox.CONTENT_URI, Mailbox.CONTENT_PROJECTION, in getMailboxesForPush()
DEmailContent.java480 public static final String[] CONTENT_PROJECTION = new String[] { field in EmailContent.Body
541 Body.CONTENT_PROJECTION, BodyColumns.MESSAGE_KEY + "=?", in restoreBodyWithMessageId()
765 public static final String[] CONTENT_PROJECTION = { field in EmailContent.Message
1033 Message.CONTENT_URI, Message.CONTENT_PROJECTION, id); in restoreMessageWithId()
1389 public static final String[] CONTENT_PROJECTION = { field in EmailContent.Attachment
1482 Attachment.CONTENT_URI, Attachment.CONTENT_PROJECTION, id); in restoreAttachmentWithId()
1491 Cursor c = context.getContentResolver().query(uri, CONTENT_PROJECTION, in restoreAttachmentsWithMessageId()
DMailboxUtilities.java113 Mailbox.CONTENT_PROJECTION, MailboxColumns.SERVER_ID + "=? AND " + accountSelector, in setFlagsAndChildrensParentKey()
142 resolver.query(Mailbox.CONTENT_URI, Mailbox.CONTENT_PROJECTION, in fixupUninitializedParentKeys()
DAccount.java175 public static final String[] CONTENT_PROJECTION = { field in Account
215 Account.CONTENT_URI, Account.CONTENT_PROJECTION, id, observer); in restoreAccountWithId()
251 Cursor c = context.getContentResolver().query(getUri(), Account.CONTENT_PROJECTION, in refresh()
DHostAuth.java90 public static final String[] CONTENT_PROJECTION = new String[] { field in HostAuth
111 HostAuth.CONTENT_URI, HostAuth.CONTENT_PROJECTION, id); in restoreHostAuthWithId()
DPolicy.java108 public static final String[] CONTENT_PROJECTION = new String[] {RECORD_ID, field in Policy
144 Policy.CONTENT_PROJECTION, id, observer); in restorePolicyWithId()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java274 final Cursor cursor = context.getContentResolver().query(uri, Attachment.CONTENT_PROJECTION, in addOneAttachment()
418 context.getContentResolver().query(uri, Attachment.CONTENT_PROJECTION, in makeMessage()
DSecurityPolicy.java139 Policy.CONTENT_PROJECTION, null, null, null); in computeAggregatePolicy()
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java791 Mailbox.CONTENT_PROJECTION, Mailbox.PATH_AND_ACCOUNT_SELECTION, in getRemoteMailboxForMessage()
821 EmailContent.Message.CONTENT_PROJECTION, in processPendingDeletesSynchronous()
950 EmailContent.Message.CONTENT_PROJECTION, in processPendingUpdatesSynchronous()
DPopImapSyncAdapterService.java200 Account.CONTENT_PROJECTION, AccountColumns.EMAIL_ADDRESS + "=?", in performSync()
DEmailBroadcastProcessorService.java344 Cursor c = resolver.query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, in setImapDeletePolicy()
DPop3Service.java393 Cursor c = resolver.query(Attachment.CONTENT_URI, Attachment.CONTENT_PROJECTION, in synchronizePop3Mailbox()
DEmailServiceUtils.java331 final Cursor c = resolver.query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, in updateAccountManagerType()
DAttachmentService.java921 Attachment.CONTENT_PROJECTION, in processQueue()
/packages/apps/Email/tests/src/com/android/email/
DAccountTestCase.java73 Account.CONTENT_PROJECTION, null, null, null); in makeExchangeServiceAccountList()
DLegacyConversionsTests.java113 Cursor c = mProviderContext.getContentResolver().query(uri, Attachment.CONTENT_PROJECTION, in convertAndCheckcheckAddedAttachments()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java96 com.android.emailcommon.provider.Account.CONTENT_PROJECTION, in migrate()
/packages/apps/Email/provider_src/com/android/email/provider/
DUtilities.java64 EmailContent.Message.CONTENT_PROJECTION, in copyOneMessageToProvider()
DAccountReconciler.java81 Account.CONTENT_PROJECTION, null, null, null); in getAllEmailProviderAccounts()
DDBHelper.java1765 Cursor messageCursor = db.query(Message.TABLE_NAME, Message.CONTENT_PROJECTION, null, in upgradeFromVersion29ToVersion30()
1791 Cursor messageCursor = db.query(Message.TABLE_NAME, Message.CONTENT_PROJECTION, null, in upgradeFromVersion125ToVersion126()
DEmailProvider.java1582 Cursor c = db.query(HostAuth.TABLE_NAME, HostAuth.CONTENT_PROJECTION, in restoreHostAuth()
1617 Cursor c = fromDatabase.query(Account.TABLE_NAME, Account.CONTENT_PROJECTION, in copyAccountTables()
1682 final Cursor accountCursor = db.query(Account.TABLE_NAME, Account.CONTENT_PROJECTION, in backupAccounts()
6204 Cursor cursor = query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, null, null, null); in dump()