Lines Matching defs:Policy
34 * The Policy class represents a set of security requirements that are associated with an Account.
38 public final class Policy extends EmailContent implements EmailContent.PolicyColumns, Parcelable {
40 public static final String TAG = "Email/Policy";
42 public static final String TABLE_NAME = "Policy";
118 public static final Policy NO_POLICY = new Policy();
126 public Policy() {
134 public static Policy restorePolicyWithId(Context context, long id) {
135 return EmailContent.restoreContentWithId(context, Policy.class, Policy.CONTENT_URI,
136 Policy.CONTENT_PROJECTION, id);
178 Policy policy) {
212 * Normalize the Policy. If the password mode is "none", zero out all password-related fields;
238 if (!(other instanceof Policy)) return false;
239 Policy otherPolicy = (Policy)other;
254 // They should eventually be removed from Policy and replaced with some opaque data
443 public static final Parcelable.Creator<Policy> CREATOR = new Parcelable.Creator<Policy>() {
444 public Policy createFromParcel(Parcel in) {
445 return new Policy(in);
448 public Policy[] newArray(int size) {
449 return new Policy[size];
487 public Policy(Parcel in) {