/packages/apps/Exchange/src/com/android/exchange/eas/ |
D | EasProvision.java | 86 private String mPolicyKey; field in EasProvision 100 mPolicyKey = null; in EasProvision() 108 mPolicyKey = null; in EasProvision() 196 PolicyServiceProxy.setAccountPolicy(mContext, accountId, mPolicy, mPolicyKey); in provision() 275 final Serializer s = generateRequestEntitySerializer(mContext, userAgent, mPolicyKey, in getRequestEntity() 299 mPolicyKey = pp.getSecuritySyncKey(); in handleResponse() 306 mPolicyKey = pp.getSecuritySyncKey(); in handleResponse() 307 return (mPolicyKey != null ? RESULT_POLICY_SUPPORTED : RESULT_POLICY_UNSUPPORTED); in handleResponse()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | PolicyTests.java | 81 assertTrue(account1.mPolicyKey > 0); in testGetAccountIdWithPolicyKey() 83 assertTrue(account2.mPolicyKey > 0); in testGetAccountIdWithPolicyKey() 85 account1.mPolicyKey)); in testGetAccountIdWithPolicyKey() 87 account2.mPolicyKey)); in testGetAccountIdWithPolicyKey() 94 assertEquals(0, account.mPolicyKey); in testSetAndClearAccountPolicy() 100 assertTrue(account.mPolicyKey > 0); in testSetAndClearAccountPolicy() 101 Policy dbPolicy = Policy.restorePolicyWithId(mMockContext, account.mPolicyKey); in testSetAndClearAccountPolicy() 111 assertEquals(0, account.mPolicyKey); in testSetAndClearAccountPolicy()
|
D | ProviderTestUtils.java | 65 account.mPolicyKey = 0; in setupAccount() 317 assertEquals(caller + " mPolicyKey", expect.mPolicyKey, actual.mPolicyKey); in assertAccountEqual()
|
D | AccountBackupRestoreTests.java | 75 assertEquals(0, actual.mPolicyKey); in assertRestoredAccountEqual()
|
D | ProviderTests.java | 2461 assertNotNull(Policy.restorePolicyWithId(mMockContext, a.mPolicyKey)); in testCleanupOrphans()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Account.java | 143 public long mPolicyKey; field in Account 276 mPolicyKey = cursor.getLong(CONTENT_POLICY_KEY_COLUMN); in restore() 708 long policyKey = account.mPolicyKey; in isAutomaticSyncDisabledByRoaming() 824 values.put(AccountColumns.POLICY_KEY, mPolicyKey); in toContentValues() 875 dest.writeLong(mPolicyKey); in writeToParcel() 913 mPolicyKey = in.readLong(); in Account()
|
/packages/apps/Email/src/com/android/email/ |
D | SecurityPolicy.java | 491 if (account.mPolicyKey == 0) return; in policiesRequired() 492 Policy policy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); in policiesRequired() 549 if (account.mPolicyKey > 0) { in setAccountPolicy() 552 Policy.CONTENT_URI, account.mPolicyKey)).build()); in setAccountPolicy() 588 if (account.mPolicyKey > 0) { in setAccountPolicy() 589 oldPolicy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); in setAccountPolicy()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | SecurityPolicyTests.java | 212 long policyKey = account.mPolicyKey; in assertAccountPolicyConsistent() 219 assertEquals(account.mPolicyKey, policy.mId); in assertAccountPolicyConsistent() 321 assertTrue(a1a.mPolicyKey > 0); in testDisableAdmin() 324 assertTrue(a2a.mPolicyKey > 0); in testDisableAdmin() 327 assertTrue(a3a.mPolicyKey == 0); in testDisableAdmin()
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
D | EmailSyncAdapter.java | 305 if (mAccount.mPolicyKey > 0) { in getAutomaticLookback() 306 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in getAutomaticLookback() 482 if (mAccount.mPolicyKey != 0) { 483 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); 494 if (mAccount.mPolicyKey != 0) { 495 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); 504 if (mAccount.mPolicyKey != 0) { 505 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey);
|
D | EmailSyncParser.java | 98 if (mAccount.mPolicyKey != 0) { in EmailSyncParser() 99 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in EmailSyncParser() 110 if (mAccount.mPolicyKey != 0) { in EmailSyncParser() 111 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in EmailSyncParser()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 704 if (mAccount.mPolicyKey != 0) { in loadSettings() 707 policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in loadSettings()
|
D | AccountSecurity.java | 140 if (mAccount.mPolicyKey != 0) { in onCreate()
|
/packages/apps/Exchange/src/com/android/exchange/ |
D | EasSyncService.java | 1406 if (svc.mAccount.mPolicyKey > 0) { 1407 oldPolicy = Policy.restorePolicyWithId(context, account.mPolicyKey); 1845 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey);
|
D | EasAccountService.java | 369 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in sync()
|
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
D | SyncManager.java | 1708 long policyKey = account.mPolicyKey; in canAutoSync()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailProvider.java | 1407 account.mPolicyKey = 0; in copyAccountTables()
|