/packages/apps/Email/src/com/android/email/ |
D | SecurityPolicy.java | 42 import com.android.emailcommon.provider.Policy; 59 private Policy mAggregatePolicy; 115 Policy computeAggregatePolicy() { in computeAggregatePolicy() 117 Policy aggregate = new Policy(); in computeAggregatePolicy() 133 Cursor c = mContext.getContentResolver().query(Policy.CONTENT_URI, in computeAggregatePolicy() 134 Policy.CONTENT_PROJECTION, null, null, null); in computeAggregatePolicy() 135 Policy policy = new Policy(); in computeAggregatePolicy() 192 return Policy.NO_POLICY; in computeAggregatePolicy() 198 public synchronized Policy getAggregatePolicy() { in getAggregatePolicy() 243 public boolean isSupported(Policy policy) { in isSupported() [all …]
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
D | ProvisionParserTests.java | 19 import com.android.emailcommon.provider.Policy; 116 Policy policy = parser.getPolicy(); in testWapProvisionParser1() 121 assertEquals(Policy.PASSWORD_MODE_STRONG, policy.mPasswordMode); in testWapProvisionParser1() 129 Policy policy = parser.getPolicy(); in testWapProvisionParser2() 132 assertEquals(Policy.PASSWORD_MODE_NONE, policy.mPasswordMode); in testWapProvisionParser2() 138 Policy policy = parser.getPolicy(); in testWapProvisionParser3() 143 assertEquals(Policy.PASSWORD_MODE_SIMPLE, policy.mPasswordMode); in testWapProvisionParser3()
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
D | ProvisionParserTests.java | 19 import com.android.emailcommon.provider.Policy; 116 Policy policy = parser.getPolicy(); in testWapProvisionParser1() 121 assertEquals(Policy.PASSWORD_MODE_STRONG, policy.mPasswordMode); in testWapProvisionParser1() 129 Policy policy = parser.getPolicy(); in testWapProvisionParser2() 132 assertEquals(Policy.PASSWORD_MODE_NONE, policy.mPasswordMode); in testWapProvisionParser2() 138 Policy policy = parser.getPolicy(); in testWapProvisionParser3() 143 assertEquals(Policy.PASSWORD_MODE_SIMPLE, policy.mPasswordMode); in testWapProvisionParser3()
|
/packages/apps/Email/src/com/android/email/service/ |
D | PolicyService.java | 20 import com.android.emailcommon.provider.Policy; 34 public boolean isActive(Policy policy) { 58 public boolean isSupported(Policy policy) { 62 public Policy clearUnsupportedPolicies(Policy policy) { 66 public void setAccountPolicy(long accountId, Policy policy, String securityKey) {
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | ProvisionParser.java | 24 import com.android.emailcommon.provider.Policy; 42 private Policy mPolicy = null; 55 public Policy getPolicy() { in getPolicy() 82 sb.append(Policy.POLICY_STRING_DELIMITER); in addPolicyString() 91 private void setPolicy(Policy policy) { in setPolicy() 112 Policy policy = new Policy(); in parseProvisionDocWbxml() 123 if (policy.mPasswordMode == Policy.PASSWORD_MODE_NONE) { in parseProvisionDocWbxml() 124 policy.mPasswordMode = Policy.PASSWORD_MODE_SIMPLE; in parseProvisionDocWbxml() 133 policy.mPasswordMode = Policy.PASSWORD_MODE_STRONG; in parseProvisionDocWbxml() 362 policy.mPasswordMode = Policy.PASSWORD_MODE_NONE; in parseProvisionDocWbxml() [all …]
|
D | EmailSyncAdapter.java | 53 import com.android.emailcommon.provider.Policy; 133 private final Policy mPolicy; 139 mPolicy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in EmailSyncAdapter() 325 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in getAutomaticLookback()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Policy.java | 38 public final class Policy extends EmailContent implements EmailContent.PolicyColumns, Parcelable { class 118 public static final Policy NO_POLICY = new Policy(); 126 public Policy() { in Policy() method in Policy 134 public static Policy restorePolicyWithId(Context context, long id) { in restorePolicyWithId() 135 return EmailContent.restoreContentWithId(context, Policy.class, Policy.CONTENT_URI, in restorePolicyWithId() 136 Policy.CONTENT_PROJECTION, id); in restorePolicyWithId() 178 Policy policy) { in setAttachmentFlagsForNewPolicy() 238 if (!(other instanceof Policy)) return false; in equals() 239 Policy otherPolicy = (Policy)other; in equals() 443 public static final Parcelable.Creator<Policy> CREATOR = new Parcelable.Creator<Policy>() { [all …]
|
D | Policy.aidl | 18 parcelable Policy;
|
D | Account.java | 138 public transient Policy mPolicy; 711 Policy policy = Policy.restorePolicyWithId(context, policyKey); in isAutomaticSyncDisabledByRoaming()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | PolicyServiceProxy.java | 26 import com.android.emailcommon.provider.Policy; 52 public boolean isActive(final Policy arg0) throws RemoteException { in isActive() 70 public void setAccountPolicy(final long accountId, final Policy policy, in setAccountPolicy() 99 public static boolean isActive(Context context, Policy policies) { in isActive() 123 public static void setAccountPolicy(Context context, long accountId, Policy policy, in setAccountPolicy()
|
D | LegacyPolicySet.java | 18 import com.android.emailcommon.provider.Policy; 68 public static Policy flagsToPolicy(long flags) { in flagsToPolicy() 69 Policy policy = new Policy(); in flagsToPolicy()
|
D | IPolicyService.aidl | 18 import com.android.emailcommon.provider.Policy; 21 boolean isActive(in Policy policies); in isActive() 23 void setAccountPolicy(long accountId, in Policy policy, String securityKey); in setAccountPolicy()
|
D | EmailServiceProxy.java | 31 import com.android.emailcommon.provider.Policy; 226 bundle.setClassLoader(Policy.class.getClassLoader()); in validate()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | DBHelper.java | 50 import com.android.emailcommon.provider.Policy; 79 "; delete from " + Policy.TABLE_NAME + 362 db.execSQL("create table " + Policy.TABLE_NAME + s); in createPolicyTable() 750 db.execSQL("alter table " + Policy.TABLE_NAME in onUpgrade() 753 db.execSQL("alter table " + Policy.TABLE_NAME in onUpgrade() 755 db.execSQL("alter table " + Policy.TABLE_NAME in onUpgrade() 757 db.execSQL("alter table " + Policy.TABLE_NAME in onUpgrade() 759 db.execSQL("alter table " + Policy.TABLE_NAME in onUpgrade() 761 db.execSQL("alter table " + Policy.TABLE_NAME in onUpgrade() 764 db.execSQL("alter table " + Policy.TABLE_NAME in onUpgrade() [all …]
|
D | EmailProvider.java | 56 import com.android.emailcommon.provider.Policy; 140 new ContentCache("Policy", Policy.CONTENT_PROJECTION, MAX_CACHED_ACCOUNTS); 231 Policy.TABLE_NAME, 261 Policy.CONTENT_PROJECTION, 496 deleteUnlinked(mDatabase, Policy.TABLE_NAME, PolicyColumns.ID, AccountColumns.POLICY_KEY, in getDatabase() 571 preCacheTable(Policy.CONTENT_URI, Policy.CONTENT_PROJECTION, null); in preCacheData()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | SetupData.java | 20 import com.android.emailcommon.provider.Policy; 60 private Policy mPolicy; 134 static public Policy getPolicy() { in getPolicy() 138 static public void setPolicy(Policy policy) { in setPolicy()
|
D | MailboxSettings.java | 41 import com.android.emailcommon.provider.Policy; 198 Policy policy = Policy.restorePolicyWithId(context, account.mPolicyKey); in setupLookbackPreferenceOptions()
|
D | AccountSetupOptions.java | 47 import com.android.emailcommon.provider.Policy; 396 Policy policy = SetupData.getAccount().mPolicy; in enableEASSyncWindowSpinner()
|
D | AccountCheckSettingsFragment.java | 40 import com.android.emailcommon.provider.Policy; 477 SetupData.setPolicy((Policy)bundle.getParcelable( in doInBackground()
|
/packages/apps/Email/ |
D | proguard.flags | 189 -keepclasseswithmembers class com.android.emailcommon.provider.Policy { 192 com.android.emailcommon.provider.Policy);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasAccountService.java | 41 import com.android.emailcommon.provider.Policy; 369 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in sync()
|
D | EasSyncService.java | 50 import com.android.emailcommon.provider.Policy; 1378 Policy policy = pp.getPolicy(); in tryProvision() 1379 Policy oldPolicy = null; in tryProvision() 1382 oldPolicy = Policy.restorePolicyWithId(context, account.mPolicyKey); in tryProvision() 1426 Policy.setAttachmentFlagsForNewPolicy(context, account, policy); in tryProvision() 1825 Policy policy = Policy.restorePolicyWithId(mContext, mAccount.mPolicyKey); in setupService()
|
D | ExchangeService.java | 64 import com.android.emailcommon.provider.Policy; 2161 Policy policy = account.mPolicy; in canAutoSync() 2163 policy = Policy.restorePolicyWithId(INSTANCE, policyKey); in canAutoSync()
|
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
D | StrictModeActivity.java | 140 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in onCreate()
|