Home
last modified time | relevance | path

Searched refs:FLAG_POLICY_DISALLOWS_DOWNLOAD (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java47 Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD + ")!=0";
167 assertTrue((att2.mFlags & Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD) != 0); in testSetAttachmentFlagsForNewPolicy()
169 assertTrue((att3.mFlags & Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD) != 0); in testSetAttachmentFlagsForNewPolicy()
180 assertTrue((att4.mFlags & Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD) == 0); in testSetAttachmentFlagsForNewPolicy()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java205 boolean wasRestricted = (flags & Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD) != 0; in setAttachmentFlagsForNewPolicy()
209 flags |= Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD; in setAttachmentFlagsForNewPolicy()
211 flags &= ~Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD; in setAttachmentFlagsForNewPolicy()
DEmailContent.java1430 public static final int FLAG_POLICY_DISALLOWS_DOWNLOAD = 1<<9; field in EmailContent.Attachment
/packages/apps/Email/provider_src/com/android/email/
DAttachmentInfo.java144 if ((flags & Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD) != 0) { in AttachmentInfo()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java778 ((att.mFlags & Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD) != 0)) { in onChange()