HomeSort by relevance Sort by last modified time
    Searched refs:attachment (Results 1 - 25 of 194) sorted by null

1 2 3 4 5 6 7 8

  /libcore/luni/src/main/java/java/nio/channels/
SelectionKey.java 56 private volatile Object attachment = null; field in class:SelectionKey
66 * this discards the old attachment.
70 * attachment.
75 Object oldAttachment = attachment;
76 attachment = anObject;
86 public final Object attachment() { method in class:SelectionKey
87 return attachment;
  /external/webkit/Tools/QueueStatusServer/handlers/
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...]
releasepatch.py 33 from model.attachment import Attachment
50 attachment = Attachment(attachment_id)
51 last_status = attachment.status_for_queue(queue)
statusbubble_unittest.py 51 attachment = MockAttachment()
52 bubble_dict = bubble._build_bubble(queue, attachment)
  /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();
  /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/Email/tests/src/com/android/email/mail/transport/
SmtpSenderUnitTests.java 29 import com.android.emailcommon.provider.EmailContent.Attachment;
132 * Test: Open and send a single message with an empty attachment (no file) (sunny day)
144 // Creates an attachment with a bogus file (so we get headers only)
145 Attachment attachment = setupSimpleAttachment(mProviderContext, message.mId); local
146 attachment.save(mProviderContext);
152 expectSimpleAttachment(mockTransport, attachment);
190 * Prepare to send a simple attachment
192 private Attachment setupSimpleAttachment(Context context, long messageId) {
193 Attachment attachment = new Attachment() local
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
FramebufferData.h 45 void setAttachment(GLenum attachment,
51 GLuint getAttachment(GLenum attachment,
58 inline int attachmentPointIndex(GLenum attachment);
GLESvalidate.h 37 static bool framebufferAttachment(GLenum attachment);
  /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());
  /external/webkit/Source/WebKit/win/Interfaces/
IWebHTTPURLResponse.idl 43 HRESULT isAttachment([out, retval] BOOL* attachment);
  /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...]
  /external/webkit/Tools/Scripts/webkitpy/tool/bot/
feeders_unittest.py 41 expected_stderr = u"""Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.com)
42 Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.com)
43 MOCK setting flag 'commit-queue' to '-' on attachment '128' with comment 'Rejecting attachment 128 from commit-queue.' and additional comment 'non-committer@example.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py.
54 attachment = Mock()
55 attachment.is_rollout = lambda: is_rollout
56 attachment.attach_date = lambda: attach_date
57 return attachment
  /external/webkit/Source/WebCore/html/canvas/
WebGLFramebuffer.cpp 38 // This function is only for depth/stencil/depth_stencil attachment.
85 void WebGLFramebuffer::setAttachment(GC3Denum attachment, GC3Denum texTarget, WebGLTexture* texture, GC3Dint level)
91 switch (attachment) {
113 void WebGLFramebuffer::setAttachment(GC3Denum attachment, WebGLRenderbuffer* renderbuffer)
119 switch (attachment) {
137 WebGLObject* WebGLFramebuffer::getAttachment(GC3Denum attachment) const
141 switch (attachment) {
155 void WebGLFramebuffer::removeAttachment(WebGLObject* attachment)
159 if (attachment == m_colorAttachment.get())
161 else if (attachment == m_depthAttachment.get()
    [all...]
WebGLFramebuffer.h 45 void setAttachment(GC3Denum attachment, GC3Denum texTarget, WebGLTexture*, GC3Dint level);
46 void setAttachment(GC3Denum attachment, WebGLRenderbuffer*);
  /libcore/luni/src/main/java/java/nio/
SelectionKeyImpl.java 41 Object attachment, SelectorImpl selector) {
45 attach(attachment);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
Rfc822Output.java 30 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...]
  /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...]
  /sdk/emulator/opengl/host/libs/Translator/GLcommon/
FramebufferData.cpp 49 void FramebufferData::setAttachment(GLenum attachment,
54 int idx = attachmentPointIndex(attachment);
71 rbData->attachedPoint = attachment;
78 GLuint FramebufferData::getAttachment(GLenum attachment,
81 int idx = attachmentPointIndex(attachment);
87 int FramebufferData::attachmentPointIndex(GLenum attachment)
89 switch(attachment) {
131 // GLES does not require the framebuffer to have a color attachment.
159 // Find the existing attachment(s) dimensions
182 // Create the color attachment and attch i
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 33 import com.android.emailcommon.provider.EmailContent.Attachment;
123 * The maximum size of an attachment we're willing to download (either View or Save)
125 * so we should probably factor that in. A 5MB attachment will generally be around
130 * The maximum size of an attachment we're willing to upload (measured as stored on disk).
132 * so we should probably factor that in. A 5MB attachment will generally be around
157 * Return the filename for a given attachment. This should be used by any code that is
168 * Return the directory for a given attachment. This should be used by any code that is
204 * @return A likely mime type for the attachment
273 * Resolve attachment id to content URI. Returns the resolved content URI (from the attachment
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityMediumTests.java 23 import com.android.emailcommon.provider.EmailContent.Attachment;
97 // We return false with null attachment
104 Attachment attachment = ProviderTestUtils.setupAttachment(message.mId, "filename.ext", local
106 attachment.mContentBytes = null;
108 assertFalse(Utility.attachmentExists(mMockContext, attachment));
110 attachment.mContentBytes = new byte[0];
112 assertTrue(Utility.attachmentExists(mMockContext, attachment));
114 attachment.mContentBytes = null;
122 assertFalse(Utility.attachmentExists(mMockContext, attachment));
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/spi/
AbstractSelectableChannel.java 111 * @param attachment
128 Object attachment) throws ClosedChannelException {
150 key = ((AbstractSelector) selector).register(this, interestSet, attachment);
157 key.attach(attachment);

Completed in 1129 milliseconds

1 2 3 4 5 6 7 8