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

1 2

  /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/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/WebKit2/Platform/unix/
SharedMemoryUnix.cpp 81 CoreIPC::Attachment attachment; local
82 if (!decoder->decode(attachment))
85 handle.adoptFromAttachment(attachment.releaseFileDescriptor(), attachment.size());
89 CoreIPC::Attachment SharedMemory::Handle::releaseToAttachment() const
95 return CoreIPC::Attachment(temp, m_size);
  /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;
  /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...]
  /external/chromium/chrome/browser/
bug_report_util.cc 343 userfeedback::ProductSpecificBinaryData attachment; local
344 attachment.set_mime_type(kBZip2MimeType);
345 attachment.set_name(kLogsAttachmentName);
346 attachment.set_data(std::string(zipped_logs_data, zipped_logs_length));
347 *(feedback_data.add_product_specific_binary_data()) = attachment;
  /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...]
  /external/webkit/Source/WebCore/bindings/js/
JSWebGLRenderingContextCustom.cpp 257 unsigned attachment = exec->argument(1).toInt32(exec); local
263 WebGLGetInfo info = context->getFramebufferAttachmentParameter(target, attachment, pname, ec);
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8WebGLRenderingContextCustom.cpp 300 unsigned attachment = toInt32(args[1]); local
302 WebGLGetInfo info = context->getFramebufferAttachmentParameter(target, attachment, pname, ec);
  /external/webkit/Source/WebCore/rendering/style/
FillLayer.h 71 EFillAttachment attachment() const { return static_cast<EFillAttachment>(m_attachment); } function in class:WebCore::FillLayer
98 void setAttachment(EFillAttachment attachment) { m_attachment = attachment; m_attachmentSet = true; }
  /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...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
SelectionKeyTest.java 115 * @tests java.nio.channels.SelectionKey#attachment()
119 assertNull(mockSelectionKey.attachment());
122 assertSame(o, mockSelectionKey.attachment());
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 37 import com.android.emailcommon.provider.EmailContent.Attachment;
224 Uri uri = ContentUris.withAppendedId(Attachment.MESSAGE_ID_URI, localMessage.mId);
225 Cursor c = mProviderContext.getContentResolver().query(uri, Attachment.CONTENT_PROJECTION,
230 Attachment attachment = Attachment.getContent(c, Attachment.class); local
231 if ("100".equals(attachment.mLocation)) {
232 checkAttachment("attachment1Part", attachments.get(0), attachment,
234 } else if ("101".equals(attachment.mLocation))
    [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)
560 Attachment attachment = Attachment.restoreAttachmentWithId(mContext, attachmentId); local
878 Attachment attachment = Attachment.restoreAttachmentWithId( local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessageViewFragmentBase.java 71 import com.android.emailcommon.provider.EmailContent.Attachment;
166 /** Flag for {@link #mTabFlags}: Message has attachment(s) */
365 // the attachment tab as system settings may have been updated that affect which
443 // an attachment or invite before loading it). We just remember the tab here.
751 * Abort early if there's no place to save the attachment. We don't want to spend
774 Attachment attachment = Attachment.restoreAttachmentWithId(mContext, info.mId); local
775 Uri attachmentUri = AttachmentUtilities.getAttachmentUri(mAccountId, attachment.mId);
781 File file = Utility.createUniqueFile(downloads, attachment.mFileName)
1738 MessageViewAttachmentInfo attachment = (MessageViewAttachmentInfo) view.getTag(); local
1819 MessageViewAttachmentInfo attachment = findAttachmentInfo(attachmentId); local
1843 MessageViewAttachmentInfo attachment = findAttachmentInfo(attachmentId); local
    [all...]
MessageCompose.java 73 import com.android.emailcommon.provider.EmailContent.Attachment;
107 * N: add attachment
167 private final ArrayList<Attachment> mAttachments = new ArrayList<Attachment>();
177 private ArrayList<Attachment> mSourceAttachments = new ArrayList<Attachment>();
1585 Attachment attachment = new Attachment(); local
1656 final Attachment attachment = loadAttachmentInfo(uri); local
1700 Attachment attachment = (Attachment) attachmentView.getTag(); local
    [all...]
  /frameworks/base/core/java/com/google/android/mms/pdu/
PduComposer.java 852 // This contentTypeIdentifier should be used for type of attachment...
905 PositionMarker attachment = mStack.mark(); local
981 int headerLength = attachment.getLength();
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DeviceMonitor.java 638 Object attachment = key.attachment(); local
640 if (attachment instanceof Device) {
641 Device device = (Device)attachment;
    [all...]
  /frameworks/base/opengl/libs/GLES2_dbg/src/
api.cpp 1041 void Debug_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
1046 GLenum attachment; member in struct:__anon15518
1051 _c->glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
1056 caller.attachment = attachment;
1061 msg.set_arg1(attachment);
1068 void Debug_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1073 GLenum attachment; member in struct:__anon15519
1079 _c->glFramebufferTexture2D(target, attachment, textarget, texture, level);
1084 caller.attachment = attachment
1461 GLenum attachment; member in struct:__anon15534
    [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 

Completed in 3242 milliseconds

1 2