Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java69 public boolean mRequireEncryption; field in Policy
254 if (mRequireEncryption != otherPolicy.mRequireEncryption) return false; in equals()
293 int code = mRequireEncryption ? 1 : 0; in hashCode()
319 mRequireEncryption = cursor.getInt(CONTENT_REQUIRE_ENCRYPTION_COLUMN) == 1; in restore()
349 values.put(PolicyColumns.REQUIRE_ENCRYPTION, mRequireEncryption); in toContentValues()
422 if (mRequireEncryption) { in toString()
483 dest.writeInt(mRequireEncryption ? 1 : 0); in writeToParcel()
513 mRequireEncryption = in.readInt() == 1; in Policy()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java121 policy.mRequireEncryption = requireEncryption; in setupPolicy()
180 assertFalse(p4out.mRequireEncryption); in testAggregator()
490 if (ps.mRequireEncryption != policy.mRequireEncryption) return false; in policySetEqualsPolicy()
525 private final boolean mRequireEncryption; field in SecurityPolicyTests.PolicySet
547 mRequireEncryption = 0 != (flags & LegacyPolicySet.REQUIRE_ENCRYPTION); in PolicySet()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java131 aggregate.mRequireEncryption = false; in computeAggregatePolicy()
171 aggregate.mRequireEncryption |= policy.mRequireEncryption; in computeAggregatePolicy()
377 if (policy.mRequireEncryption) { in getInactiveReasons()
451 dpm.setStorageEncryption(mAdminName, aggregatePolicy.mRequireEncryption); in setActivePolicies()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java82 policy.mRequireEncryption = 0 != (flags & REQUIRE_ENCRYPTION); in flagsToPolicy()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java200 policy.mRequireEncryption = true; in testParcel()