/external/chromium_org/gpu/command_buffer/common/ |
mailbox.h | 20 struct GPU_EXPORT Mailbox { 21 Mailbox(); 26 // Generate a unique unguessable mailbox name. 27 static Mailbox Generate(); 29 // Verify that the mailbox was created through Mailbox::Generate. This only 31 // check, only to catch bugs where clients forgot to call Mailbox::Generate. 35 bool operator<(const Mailbox& other) const { 38 bool operator==(const Mailbox& other) const { 41 bool operator!=(const Mailbox& other) const [all...] |
mailbox.cc | 5 #include "gpu/command_buffer/common/mailbox.h" 14 Mailbox::Mailbox() { 18 bool Mailbox::IsZero() const { 26 void Mailbox::SetZero() { 30 void Mailbox::SetName(const int8* n) { 35 Mailbox Mailbox::Generate() { 36 Mailbox result; 48 bool Mailbox::Verify() const [all...] |
mailbox_holder.h | 11 #include "gpu/command_buffer/common/mailbox.h" 18 MailboxHolder(const gpu::Mailbox& mailbox, 21 gpu::Mailbox mailbox; member in struct:gpu::MailboxHolder
|
mailbox_holder.cc | 11 MailboxHolder::MailboxHolder(const Mailbox& mailbox, 14 : mailbox(mailbox),
|
/packages/apps/Email/tests/src/com/android/email/ |
ControllerProviderOpsTests.java | 26 import com.android.emailcommon.provider.Mailbox; 68 Mailbox.getSystemMailboxName(mContext, -1); 69 fail("Mailbox.getSystemMailboxName(mContext, -1) succeeded without an exception"); 74 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX)); 75 assertEquals("Outbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_OUTBOX)); 76 assertEquals("Trash", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_TRASH)); 77 assertEquals("Sent", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_SENT)) [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
MailboxUtilitiesTests.java | 21 import com.android.emailcommon.provider.Mailbox; 46 Mailbox.FLAG_ACCEPTS_MOVED_MAIL | Mailbox.FLAG_HOLDS_MAIL | 47 Mailbox.FLAG_HAS_CHILDREN | Mailbox.FLAG_CHILDREN_VISIBLE | 48 Mailbox.FLAG_SUPPORTS_SETTINGS; 50 Mailbox.FLAG_ACCEPTS_MOVED_MAIL | Mailbox.FLAG_HOLDS_MAIL | 51 Mailbox.FLAG_SUPPORTS_SETTINGS; 59 mNullParentKey.putNull(Mailbox.PARENT_KEY) [all...] |
EmailContentSetupUtils.java | 21 import com.android.emailcommon.provider.Mailbox; 52 * Create a mailbox for test purposes 54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, 56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null); 59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, 64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, 65 Context context, int type, Mailbox parentBox) { 66 Mailbox box = new Mailbox();
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 40 * Unit tests for the Mailbox inner class. 72 /** Returns the number of messages in a mailbox. */ 75 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId), 80 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, 94 * Test simple mailbox save/retrieve 99 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); 101 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); 104 Mailbox box2 = Mailbox.restoreMailboxWithId(c, box1Id); 110 * Test delete mailbox [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
MailboxUtilities.java | 39 Mailbox.PARENT_KEY_UNINITIALIZED + ")"; 40 // The flag we use in Account to indicate a mailbox change in progress 44 * Recalculate a mailbox's flags and the parent key of any children 46 * @param parentCursor a cursor to a mailbox that requires fixup 55 long parentId = parentCursor.getLong(Mailbox.CONTENT_ID_COLUMN); 57 int parentType = parentCursor.getInt(Mailbox.CONTENT_TYPE_COLUMN); 58 String parentServerId = parentCursor.getString(Mailbox.CONTENT_SERVER_ID_COLUMN); 60 if (parentType <= Mailbox.TYPE_NOT_EMAIL) { 61 parentFlags |= Mailbox.FLAG_HOLDS_MAIL + Mailbox.FLAG_SUPPORTS_SETTINGS [all...] |
Mailbox.java | 44 public class Mailbox extends EmailContent implements EmailContent.MailboxColumns, Parcelable { 52 * which mailbox to sync. Is intentionally private, we have helper functions 66 * Sync extras key to specify that only a specific mailbox type should be synced. 70 * Sync extras key when syncing a mailbox to specify how many additional messages to sync. 76 public static final String TABLE_NAME = "Mailbox"; 83 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/mailbox"); 244 * Projection to use when reading {@link MailboxColumns#ACCOUNT_KEY} for a mailbox. 264 // Sentinel values for the mSyncInterval field of both Mailbox records 270 // Ping indicates that the EAS mailbox is synced based on a "ping" from the server 273 // Push-Hold indicates an EAS push or ping Mailbox shouldn't sync just ye 521 Mailbox mailbox = null; local 541 Mailbox mailbox = restoreMailboxForPath(context, accountId, path); local [all...] |
/external/chromium_org/cc/output/ |
gl_frame_data.h | 12 #include "gpu/command_buffer/common/mailbox.h" 23 gpu::Mailbox mailbox; member in class:cc::GLFrameData
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
MailboxField.java | 27 import org.apache.james.mime4j.field.address.Mailbox; 32 private final Mailbox mailbox; field in class:MailboxField 35 protected MailboxField(final String name, final String body, final String raw, final Mailbox mailbox, final ParseException parseException) { 37 this.mailbox = mailbox; 41 public Mailbox getMailbox() { 42 return mailbox; 53 Mailbox mailbox = null local [all...] |
/external/chromium_org/media/video/ |
picture.h | 9 #include "gpu/command_buffer/common/mailbox.h" 24 const gpu::Mailbox& texture_mailbox); 43 const gpu::Mailbox& texture_mailbox() const { 51 gpu::Mailbox texture_mailbox_;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
Mailbox.java | 29 public class Mailbox extends Address { 35 * Creates a mailbox without a route. Routes are obsolete. 39 public Mailbox(String localPart, String domain) { 44 * Creates a mailbox with a route. Routes are obsolete. 49 public Mailbox(DomainList route, String localPart, String domain) {
|
MailboxList.java | 25 * An immutable, random-access list of Mailbox objects. 34 * @param mailboxes An ArrayList that contains only Mailbox objects. 54 public Mailbox get(int index) { 57 return (Mailbox)mailboxes.get(index); 61 * Dumps a representation of this mailbox list to 66 Mailbox mailbox = get(i); local 67 System.out.println(mailbox.toString());
|
NamedMailbox.java | 23 * A Mailbox that has a name/description. 27 public class NamedMailbox extends Mailbox { 31 * @see Mailbox#Mailbox(String, String) 39 * @see Mailbox#Mailbox(DomainList, String, String) 47 * Creates a named mailbox based on an unnamed mailbox. 49 public NamedMailbox(String name, Mailbox baseMailbox) { 55 * Returns the name of the mailbox [all...] |
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasSyncBase.java | 10 import com.android.emailcommon.provider.Mailbox; 36 private final Mailbox mMailbox; 42 public EasSyncBase(final Context context, final Account account, final Mailbox mailbox) { 44 mMailbox = mailbox; 48 * Get the sync key for this mailbox. 83 LogUtils.d(TAG, "Syncing account %d mailbox %d (class %s) with syncKey %s", mAccount.mId, 154 * @param type The type of the {@link Mailbox} that we're trying to sync. 159 case Mailbox.TYPE_MAIL: 160 case Mailbox.TYPE_INBOX [all...] |
EasPing.java | 33 import com.android.emailcommon.provider.Mailbox; 151 final Cursor c = Mailbox.getMailboxesForPush(mContext.getContentResolver(), 161 final Mailbox mailbox = new Mailbox(); local 162 mailbox.restore(c); 163 s = handleOneMailbox(s, mailbox); 287 * If mailbox is eligible for push, add it to the ping request, creating the {@link Serializer} 289 * @param mailbox The mailbox to check [all...] |
EasFullSyncOperation.java | 14 import com.android.emailcommon.provider.Mailbox; 109 final long[] mailboxIds = Mailbox.getMailboxIdsFromBundle(mSyncExtras); 110 final int mailboxType = mSyncExtras.getInt(Mailbox.SYNC_EXTRA_MAILBOX_TYPE, 111 Mailbox.TYPE_NONE); 116 final boolean pushOnly = Mailbox.isPushOnlyExtras(mSyncExtras); 118 final boolean accountOnly = Mailbox.isAccountOnlyExtras(mSyncExtras); 124 mailboxType == Mailbox.TYPE_NONE); 173 // Sync the mailbox that was explicitly requested. 187 c = Mailbox.getMailboxIdsForSync(mContext.getContentResolver(), mAccount.mId); 190 c = Mailbox.getMailboxIdsForSyncByType(mContext.getContentResolver() 214 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, folderId); local [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
mailbox_manager.h | 14 #include "gpu/command_buffer/common/mailbox.h" 31 // Look up the texture definition from the named mailbox. 32 Texture* ConsumeTexture(unsigned target, const Mailbox& mailbox); 34 // Put the texture into the named mailbox. 36 const Mailbox& mailbox, 47 // Destroy any mailbox that reference the given texture. 57 TargetName(unsigned target, const Mailbox& mailbox); 59 Mailbox mailbox; member in struct:gpu::gles2::MailboxManager::TargetName [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
PopImapSyncAdapterService.java | 41 import com.android.emailcommon.provider.Mailbox; 82 * @return whether or not this mailbox retrieves its data from the server (as opposed to just 83 * a local mailbox that is never synced). 85 private static boolean loadsFromServer(Context context, Mailbox m, String protocol) { 91 return m.mType != Mailbox.TYPE_DRAFTS 92 && m.mType != Mailbox.TYPE_OUTBOX 93 && m.mType != Mailbox.TYPE_SEARCH; 96 return Mailbox.TYPE_INBOX == m.mType; 106 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId) local [all...] |
EmailServiceStub.java | 54 import com.android.emailcommon.provider.Mailbox; 100 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); local 101 if (mailbox == null) return; 102 final Account account = Account.restoreAccountWithId(mContext, mailbox.mAccountKey); 108 final Bundle extras = Mailbox.createSyncBundle(mailboxId); 115 extras.putInt(Mailbox.SYNC_EXTRA_DELTA_MESSAGE_COUNT, deltaMessageCount); 158 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey) local 301 final Mailbox mailbox = Mailbox.newSystemMailbox(mContext, accountId, type); local [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
FolderSyncParser.java | 37 import com.android.emailcommon.provider.Mailbox; 67 * Mapping from EAS type values to {@link Mailbox} types. 70 * If an EAS type is not in the map, or is inserted with a value of {@link Mailbox#TYPE_NONE}, 72 * TODO: Maybe we should store the mailbox anyway, otherwise it'll be annoying to upgrade. 77 MAILBOX_TYPE_MAP.put(Eas.MAILBOX_TYPE_USER_GENERIC, Mailbox.TYPE_MAIL); 78 MAILBOX_TYPE_MAP.put(Eas.MAILBOX_TYPE_INBOX, Mailbox.TYPE_INBOX); 79 MAILBOX_TYPE_MAP.put(Eas.MAILBOX_TYPE_DRAFTS, Mailbox.TYPE_DRAFTS); 80 MAILBOX_TYPE_MAP.put(Eas.MAILBOX_TYPE_DELETED, Mailbox.TYPE_TRASH); 81 MAILBOX_TYPE_MAP.put(Eas.MAILBOX_TYPE_SENT, Mailbox.TYPE_SENT); 82 MAILBOX_TYPE_MAP.put(Eas.MAILBOX_TYPE_OUTBOX, Mailbox.TYPE_OUTBOX) [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
DBHelper.java | 53 import com.android.emailcommon.provider.Mailbox; 82 "create trigger mailbox_delete before delete on " + Mailbox.TABLE_NAME + 94 " begin delete from " + Mailbox.TABLE_NAME + 125 // Version 13: Add messageCount to Mailbox table. 129 // Version 17: Add parentKey to Mailbox table 130 // Version 18: Copy Mailbox.displayName to Mailbox.serverId for all IMAP & POP3 mailboxes. 131 // Column Mailbox.serverId is used for the server-side pathname of a mailbox. 135 // Version 21: Add lastSeenMessageKey column to Mailbox tabl [all...] |
/external/chromium_org/content/common/ |
frame_param_macros.h | 28 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) 45 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox)
|