Home
last modified time | relevance | path

Searched refs:policyId (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java793 long policyId = Utility.getFirstRowLong(context, Policy.CONTENT_URI, Policy.ID_PROJECTION,
796 if (policyId < 0) return -1L;
797 return Policy.getAccountIdWithPolicyKey(context, policyId);
816 long policyId = c.getLong(Policy.ID_PROJECTION_COLUMN);
817 long accountId = Policy.getAccountIdWithPolicyKey(context, policyId);
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSecurity.java300 final long policyId = account.mPolicyKey; in loadInBackground() local
301 if (policyId != 0) { in loadInBackground()
302 account.mPolicy = Policy.restorePolicyWithId(mContext, policyId); in loadInBackground()
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java1501 long policyId = db.insert(Policy.TABLE_NAME, null, policy.toContentValues()); in convertPolicyFlagsToPolicyTable() local
1502 cv.put(AccountColumns.POLICY_KEY, policyId); in convertPolicyFlagsToPolicyTable()