/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
Attachment.cpp | 27 #include "Attachment.h" 34 Attachment::Attachment() 40 Attachment::Attachment(mach_port_name_t port, mach_msg_type_name_t disposition) 47 Attachment::Attachment(void* address, mach_msg_size_t size, mach_msg_copy_options_t copyOptions, bool deallocate) 56 void Attachment::release() 62 void Attachment::encode(ArgumentEncoder* encoder) const 67 bool Attachment::decode(ArgumentDecoder* decoder, Attachment& attachment [all...] |
Attachment.h | 34 class Attachment { 36 Attachment(); 49 Attachment(mach_port_name_t port, mach_msg_type_name_t disposition); 50 Attachment(void* address, mach_msg_size_t size, mach_msg_copy_options_t copyOptions, bool deallocate); 52 Attachment(int fileDescriptor, size_t); 79 static bool decode(ArgumentDecoder*, Attachment&);
|
ArgumentEncoder.h | 30 #include "Attachment.h" 70 void addAttachment(const Attachment&); 71 Vector<Attachment> releaseAttachments(); 87 Vector<Attachment> m_attachments;
|
ArgumentDecoder.h | 30 #include "Attachment.h" 42 ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Deque<Attachment>&); 100 bool removeAttachment(Attachment&); 121 Deque<Attachment> m_attachments;
|
ArgumentDecoder.cpp | 39 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Deque<Attachment>& attachments) 53 Deque<Attachment>::iterator end = m_attachments.end(); 54 for (Deque<Attachment>::iterator it = m_attachments.begin(); it != end; ++it) 216 bool ArgumentDecoder::removeAttachment(Attachment& attachment) 221 attachment = m_attachments.takeFirst();
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/ |
AttachmentUnix.cpp | 28 #include "Attachment.h" 35 Attachment::Attachment(int fileDescriptor, size_t size) 44 void Attachment::dispose()
|
/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/ |
__init__.py | 6 # Unclear if Bug and Attachment need to be public classes. 8 from .attachment import Attachment
|
bug.py | 31 from .attachment import Attachment 86 attachments = filter(lambda attachment: 87 not attachment["is_obsolete"], attachments) 88 return [Attachment(attachment, self) for attachment in attachments]
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
RequestTests.java | 19 import com.android.emailcommon.provider.EmailContent.Attachment; 30 Attachment att1 = new Attachment(); 32 Attachment att2 = new Attachment(); 34 // For part requests, the attachment id's must be == 38 Attachment att3 = new Attachment();
|
/packages/apps/Exchange/src/com/android/exchange/ |
PartRequest.java | 20 import com.android.emailcommon.provider.EmailContent.Attachment; 23 * PartRequest is the EAS wrapper for attachment loading requests. In addition to information about 24 * the attachment to be loaded, it also contains the callback to be used for status/progress 28 public final Attachment mAttachment; 33 public PartRequest(Attachment _att, String _destination, String _contentUriString) { 41 // PartRequests are unique by their attachment id (i.e. multiple attachments might be queued 42 // for a particular message, but any individual attachment can only be loaded once)
|
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
postdiffforrevert.py | 29 from webkitpy.common.net.bugzilla import Attachment 41 webkit-patch land-attachment ATTACHMENT_ID --ignore-builders\n\n\ 42 where ATTACHMENT_ID is the ID of this attachment." 46 "%s%s" % (Attachment.rollout_preamble, state["revision"]),
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 21 import com.android.emailcommon.provider.EmailContent.Attachment; 45 Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD + ")!=0"; 116 private Attachment setupSimpleAttachment(String name, long size, Account acct) { 117 Attachment att = ProviderTestUtils.setupAttachment(-1, name, size, false, mMockContext); 129 ArrayList<Attachment> atts = new ArrayList<Attachment>(); 130 Attachment att1 = setupSimpleAttachment("fileName1", 10001L, acct); 132 Attachment att2 = setupSimpleAttachment("fileName2", 20001L, acct); 139 Attachment att3 = setupSimpleAttachment("fileName3", 70001L, acct); 141 Attachment att4 = setupSimpleAttachment("fileName4", 5001L, acct) [all...] |
AttachmentProviderTests.java | 24 import com.android.emailcommon.provider.EmailContent.Attachment; 93 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); 102 // attachment we add will be id=1 and the 2nd will have id=2. This could fail on 112 // Test with no attachment found - should return null 116 // Add a couple of attachment entries. Note, query() just uses the DB, and does not 118 Attachment newAttachment1 = ProviderTestUtils.setupAttachment(message1Id, "file1", 100, 125 Attachment newAttachment2 = ProviderTestUtils.setupAttachment(message1Id, "file2", 200, 132 Attachment newAttachment3 = ProviderTestUtils.setupAttachment(message1Id, "file3", 300, 226 // 1 attachment in inbox 237 Attachment.CONTENT_URI, AttachmentInfo.PROJECTION [all...] |
/external/webkit/Source/WebKit2/Platform/CoreIPC/mac/ |
MachPort.h | 31 #include "Attachment.h" 51 encoder->encode(Attachment(m_port, m_disposition)); 56 Attachment attachment; local 57 if (!decoder->decode(attachment)) 60 p.m_port = attachment.port(); 61 p.m_disposition = attachment.disposition();
|
ConnectionMac.cpp | 139 Vector<Attachment> attachments = arguments->releaseAttachments(); 144 Attachment::Type type = attachments[i].type(); 145 if (type == Attachment::MachPortType) 147 else if (type == Attachment::MachOOLMemoryType) 158 attachments.append(Attachment(arguments->buffer(), arguments->bufferSize(), MACH_MSG_VIRTUAL_COPY, false)); 182 Attachment attachment = attachments[i]; local 185 switch (attachment.type()) { 186 case Attachment::MachPortType: 187 descriptor->port.name = attachment.port() [all...] |
/external/webkit/Tools/QueueStatusServer/handlers/ |
releasepatch.py | 33 from model.attachment import Attachment 50 attachment = Attachment(attachment_id) 51 last_status = attachment.status_for_queue(queue)
|
dashboard.py | 34 from model.attachment import Attachment 43 def _build_bubble(self, attachment, queue): 44 queue_status = attachment.status_for_queue(queue) 46 "status_class": attachment.state_from_queue_status(queue_status) if queue_status else "none", 51 def _build_row(self, attachment): 53 "bug_id": attachment.bug_id(), 54 "attachment_id": attachment.id, 55 "bubbles": [self._build_bubble(attachment, queue) for queue in self._ordered_queues], 62 "rows": [self._build_row(attachment) for attachment in Attachment.recent(limit=25)] [all...] |
statusbubble.py | 34 from model.attachment import Attachment 42 def _build_bubble(self, queue, attachment): 43 queue_status = attachment.status_for_queue(queue) 46 "attachment_id": attachment.id, 47 "queue_position": attachment.position_in_queue(queue), 48 "state": attachment.state_from_queue_status(queue_status) if queue_status else "none", 54 attachment = Attachment(int(attachment_id)) 55 bubbles = [self._build_bubble(queue, attachment) for queue in self._queues_to_display [all...] |
submittoews.py | 33 from model.attachment import Attachment 41 def _should_add_to_ews_queue(self, queue, attachment): 46 latest_status = attachment.status_for_queue(queue) 56 def _add_attachment_to_ews_queues(self, attachment): 58 if self._should_add_to_ews_queue(queue, attachment): 59 queue.work_items().add_work_item(attachment.id) 63 attachment = Attachment(attachment_id) 64 self._add_attachment_to_ews_queues(attachment) [all...] |
updatestatus.py | 34 from model.attachment import Attachment 65 Attachment.dirty(queue_status.active_patch_id)
|
/packages/apps/Email/src/com/android/email/ |
AttachmentInfo.java | 20 import com.android.emailcommon.provider.EmailContent.Attachment; 37 * Encapsulates commonly used attachment information related to suitability for viewing and saving, 38 * based on the attachment's filename and mime type. 42 public static final String[] PROJECTION = new String[] {Attachment.RECORD_ID, Attachment.SIZE, 43 Attachment.FILENAME, Attachment.MIME_TYPE, Attachment.ACCOUNT_KEY, Attachment.FLAGS}; 52 /** Attachment not denied * [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
AttachmentDownloadServiceTests.java | 29 import com.android.emailcommon.provider.EmailContent.Attachment; 97 Attachment att1 = ProviderTestUtils.setupAttachment(message.mId, "filename1", 1000, 98 Attachment.FLAG_DOWNLOAD_USER_REQUEST, true, mMockContext); 99 Attachment att2 = ProviderTestUtils.setupAttachment(message.mId, "filename2", 1000, 100 Attachment.FLAG_DOWNLOAD_FORWARD, true, mMockContext); 101 Attachment att3 = ProviderTestUtils.setupAttachment(message.mId, "filename3", 1000, 102 Attachment.FLAG_DOWNLOAD_FORWARD, true, mMockContext); 103 Attachment att4 = ProviderTestUtils.setupAttachment(message.mId, "filename4", 1000, 104 Attachment.FLAG_DOWNLOAD_USER_REQUEST, true, mMockContext); 120 // Process the queue; attachment 1 should be marked "in progress", and should be i [all...] |
/packages/apps/Email/src/com/android/email/service/ |
AttachmentDownloadService.java | 42 import com.android.emailcommon.provider.EmailContent.Attachment; 68 // Try to download an attachment in the background this many times before giving up 93 "com.android.email.AttachmentDownloadService.attachment"; 105 // A map of attachment storage used per account 110 // A map of attachment ids to the number of failed attempts to download the attachment 177 private DownloadRequest(Context context, Attachment attachment) { 178 attachmentId = attachment.mId; 179 Message msg = Message.restoreMessageWithId(context, attachment.mMessageKey) 567 Attachment attachment = Attachment.restoreAttachmentWithId(mContext, attachmentId); local 885 Attachment attachment = Attachment.restoreAttachmentWithId( local [all...] |
/external/webkit/Source/WebKit2/Shared/mac/ |
UpdateChunk.cpp | 31 #include "Attachment.h" 72 encoder->encode(CoreIPC::Attachment(m_data, size(), MACH_MSG_VIRTUAL_COPY, true)); 84 CoreIPC::Attachment attachment; local 85 if (!decoder->decode(attachment)) 88 chunk.m_size = attachment.size(); 89 chunk.m_data = reinterpret_cast<uint8_t*>(attachment.address());
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 21 import com.android.emailcommon.provider.EmailContent.Attachment; 63 private static final String WHERE_NOT_SMART_FORWARD = "(" + Attachment.FLAGS + "&" + 64 Attachment.FLAG_SMART_FORWARD + ")=0"; 219 Uri uri = ContentUris.withAppendedId(Attachment.MESSAGE_ID_URI, messageId); 221 Attachment.CONTENT_PROJECTION, WHERE_NOT_SMART_FORWARD, null, null); 236 // Move to the first attachment; this must succeed because multipart is true 239 // If we've got one attachment and it's an ics "attachment", we want to send 241 int flags = attachmentsCursor.getInt(Attachment.CONTENT_FLAGS_COLUMN); 242 if ((flags & Attachment.FLAG_ICS_ALTERNATIVE_PART) != 0) 261 Attachment attachment = local [all...] |