Searched refs:restorePolicyWithId (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Policy.java | 138 public static Policy restorePolicyWithId(Context context, long id) { in restorePolicyWithId() method in Policy 139 return restorePolicyWithId(context, id, null); in restorePolicyWithId() 142 public static Policy restorePolicyWithId(Context context, long id, ContentObserver observer) { in restorePolicyWithId() method in Policy
|
/packages/apps/Email/tests/src/com/android/email/ |
D | SecurityPolicyTests.java | 217 Policy policy = Policy.restorePolicyWithId(mMockContext, policyKey); in assertAccountPolicyConsistent() 227 Policy.restorePolicyWithId(mMockContext, oldKey)); in assertAccountPolicyConsistent() 252 Policy.restorePolicyWithId(mMockContext, oldKey)); in testSettingAccountPolicy()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | SecurityPolicy.java | 503 Policy policy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); in policiesRequired() 606 oldPolicy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); in setAccountPolicy()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | PolicyTests.java | 101 Policy dbPolicy = Policy.restorePolicyWithId(mMockContext, account.mPolicyKey); in testSetAndClearAccountPolicy()
|
D | ProviderTests.java | 2309 assertNull(Policy.restorePolicyWithId(mMockContext, p1.mId)); in testCleanupOrphans() 2310 assertNull(Policy.restorePolicyWithId(mMockContext, p2.mId)); in testCleanupOrphans() 2312 assertNotNull(Policy.restorePolicyWithId(mMockContext, a.mPolicyKey)); in testCleanupOrphans()
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 302 account.mPolicy = Policy.restorePolicyWithId(mContext, policyId); in loadInBackground()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 464 Policy.restorePolicyWithId(getContext(), account.mPolicyKey, mObserver); in loadInBackground()
|