/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasProvision.java | 86 private String mPolicyKey; 100 mPolicyKey = null; 108 mPolicyKey = null; 198 PolicyServiceProxy.setAccountPolicy(mContext, accountId, mPolicy, mPolicyKey); 277 final Serializer s = generateRequestEntitySerializer(mContext, userAgent, mPolicyKey, 301 mPolicyKey = pp.getSecuritySyncKey(); 308 mPolicyKey = pp.getSecuritySyncKey(); 309 return (mPolicyKey != null ? RESULT_POLICY_SUPPORTED : RESULT_POLICY_UNSUPPORTED);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 81 assertTrue(account1.mPolicyKey > 0); 83 assertTrue(account2.mPolicyKey > 0); 85 account1.mPolicyKey)); 87 account2.mPolicyKey)); 94 assertEquals(0, account.mPolicyKey); 100 assertTrue(account.mPolicyKey > 0); 101 Policy dbPolicy = Policy.restorePolicyWithId(mMockContext, account.mPolicyKey); 111 assertEquals(0, account.mPolicyKey);
|
AccountBackupRestoreTests.java | 73 assertEquals(0, actual.mPolicyKey);
|
ProviderTestUtils.java | 63 account.mPolicyKey = 0; 308 assertEquals(caller + " mPolicyKey", expect.mPolicyKey, actual.mPolicyKey);
|
ProviderTests.java | [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
AccountTest.java | 92 before.mPolicyKey = 66; 116 assertEquals(0, after.mPolicyKey); // policy key is not serialized; field defaults to 0
|
/packages/apps/Email/tests/src/com/android/email/ |
SecurityPolicyTests.java | 212 long policyKey = account.mPolicyKey; 219 assertEquals(account.mPolicyKey, policy.mId); 321 assertTrue(a1a.mPolicyKey > 0); 324 assertTrue(a2a.mPolicyKey > 0); 327 assertTrue(a3a.mPolicyKey == 0);
|
/packages/apps/Email/provider_src/com/android/email/ |
SecurityPolicy.java | 502 if (account.mPolicyKey == 0) return; 503 Policy policy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); 561 if (account.mPolicyKey > 0) { 564 Policy.CONTENT_URI, account.mPolicyKey)).build()); 605 if (account.mPolicyKey > 0) { 606 oldPolicy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Account.java | 140 public long mPolicyKey; 280 mPolicyKey = cursor.getLong(CONTENT_POLICY_KEY_COLUMN); 750 values.put(AccountColumns.POLICY_KEY, mPolicyKey); [all...] |
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
AccountSecurity.java | 253 if (account == null || (account.mPolicyKey != 0 && account.mPolicy == null)) { 300 final long policyId = account.mPolicyKey; 333 if (mAccount.mPolicyKey != 0) {
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
EmailSyncParser.java | 101 if (mAccount.mPolicyKey != 0) { 102 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); 113 if (mAccount.mPolicyKey != 0) { 114 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsFragment.java | 464 Policy.restorePolicyWithId(getContext(), account.mPolicyKey, mObserver); [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailProvider.java | [all...] |