Home
last modified time | relevance | path

Searched refs:AccountColumns (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccount.java31 import com.android.mail.providers.UIProvider.AccountColumns;
265 json.put(AccountColumns.NAME, displayName); in serialize()
266 json.put(AccountColumns.TYPE, type); in serialize()
267 json.put(AccountColumns.SENDER_NAME, senderName); in serialize()
268 json.put(AccountColumns.ACCOUNT_MANAGER_NAME, accountManagerName); in serialize()
269 json.put(AccountColumns.ACCOUNT_ID, accountId); in serialize()
270 json.put(AccountColumns.PROVIDER_VERSION, providerVersion); in serialize()
271 json.put(AccountColumns.URI, uri); in serialize()
272 json.put(AccountColumns.CAPABILITIES, capabilities); in serialize()
273 json.put(AccountColumns.FOLDER_LIST_URI, folderListUri); in serialize()
[all …]
DUIProvider.java178 .put(AccountColumns._ID, Integer.class)
179 .put(AccountColumns.NAME, String.class)
180 .put(AccountColumns.SENDER_NAME, String.class)
181 .put(AccountColumns.ACCOUNT_MANAGER_NAME, String.class)
182 .put(AccountColumns.ACCOUNT_ID, String.class)
183 .put(AccountColumns.TYPE, String.class)
184 .put(AccountColumns.PROVIDER_VERSION, Integer.class)
185 .put(AccountColumns.URI, String.class)
186 .put(AccountColumns.FOLDER_LIST_URI, String.class)
187 .put(AccountColumns.FULL_FOLDER_LIST_URI, String.class)
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java176 AttachmentColumns._ID, AccountColumns.DISPLAY_NAME,
177 AccountColumns.EMAIL_ADDRESS, AccountColumns.SYNC_KEY, AccountColumns.SYNC_LOOKBACK,
178 AccountColumns.SYNC_INTERVAL, AccountColumns.HOST_AUTH_KEY_RECV,
179 AccountColumns.HOST_AUTH_KEY_SEND, AccountColumns.FLAGS,
180 AccountColumns.SENDER_NAME,
181 AccountColumns.RINGTONE_URI, AccountColumns.PROTOCOL_VERSION,
182 AccountColumns.SECURITY_SYNC_KEY,
183 AccountColumns.SIGNATURE, AccountColumns.POLICY_KEY, AccountColumns.PING_DURATION,
184 AccountColumns.MAX_ATTACHMENT_SIZE
190 AccountColumns._ID, AccountColumns.FLAGS};
[all …]
DMailboxUtilities.java27 import com.android.emailcommon.provider.EmailContent.AccountColumns;
170 cv.put(AccountColumns.FLAGS, start ? (account.mFlags | ACCOUNT_MAILBOX_CHANGE_FLAG) : in setAccountSyncAdapterFlag()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java34 import com.android.mail.providers.UIProvider.AccountColumns;
35 import com.android.mail.providers.UIProvider.AccountColumns.SettingsColumns;
77 resultMap.put(((Uri) accountDetailsMap.get(AccountColumns.URI)).toString(), in initializeAccount()
124 resultMap.put(accountDetailsMap.get(AccountColumns.FOLDER_LIST_URI).toString(), in initializeAccount()
134 resultMap.put(accountDetailsMap.get(AccountColumns.FOLDER_LIST_URI).toString(), in initializeAccount()
305 accountMap.put(AccountColumns.NAME, "account" + accountId + "@mockuiprovider.com"); in createAccountDetailsMap()
306 accountMap.put(AccountColumns.TYPE, "com.android.mail.providers.protos.mock"); in createAccountDetailsMap()
307 accountMap.put(AccountColumns.ACCOUNT_MANAGER_NAME, in createAccountDetailsMap()
309 accountMap.put(AccountColumns.ACCOUNT_ID, in createAccountDetailsMap()
311 accountMap.put(AccountColumns.PROVIDER_VERSION, Long.valueOf(1)); in createAccountDetailsMap()
[all …]
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java40 import com.android.emailcommon.provider.EmailContent.AccountColumns;
97 " where " + BaseColumns._ID + "=old." + AccountColumns.HOST_AUTH_KEY_RECV +
99 " where " + BaseColumns._ID + "=old." + AccountColumns.HOST_AUTH_KEY_SEND +
101 " where " + BaseColumns._ID + "=old." + AccountColumns.POLICY_KEY +
286 + "=" + Account.TABLE_NAME + "." + AccountColumns._ID in createDeleteDuplicateMessagesTrigger()
287 + " and " + Account.TABLE_NAME + "." + AccountColumns.HOST_AUTH_KEY_RECV in createDeleteDuplicateMessagesTrigger()
461 + " where " + MessageChangeLogTable.ACCOUNT_KEY + "=old." + AccountColumns._ID in createMessageChangeLogTableTriggers()
499 String s = " (" + AccountColumns._ID + " integer primary key autoincrement, " in createAccountTable()
500 + AccountColumns.DISPLAY_NAME + " text, " in createAccountTable()
501 + AccountColumns.EMAIL_ADDRESS + " text, " in createAccountTable()
[all …]
DEmailProvider.java83 import com.android.emailcommon.provider.EmailContent.AccountColumns;
119 import com.android.mail.providers.UIProvider.AccountColumns.SettingsColumns;
505 AccountColumns._ID, Account.TABLE_NAME); in getDatabase()
507 AccountColumns._ID, Account.TABLE_NAME); in getDatabase()
509 AccountColumns.POLICY_KEY, Account.TABLE_NAME); in getDatabase()
1439 if (TextUtils.equals(column, AccountColumns.FLAGS)) { in query()
1440 alternateProjection[i] = AccountColumns.FLAGS + " & ~" + in query()
1442 AccountColumns.FLAGS; in query()
1820 + " a." + AccountColumns._ID
1823 + " ON m." + MessageColumns.ACCOUNT_KEY + "=a." + AccountColumns._ID
[all …]
DFolderPickerActivity.java35 import com.android.emailcommon.provider.EmailContent.AccountColumns;
206 values.put(AccountColumns.FLAGS, account.mFlags); in select()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java30 json.put(EmailContent.AccountColumns.DISPLAY_NAME, "David Hasselhoff"); in testDeserializeFromJSON()
31 json.put(EmailContent.AccountColumns.EMAIL_ADDRESS, "dhoff@example.com"); in testDeserializeFromJSON()
32 json.put(EmailContent.AccountColumns.SYNC_LOOKBACK, 42); in testDeserializeFromJSON()
33 json.put(EmailContent.AccountColumns.SYNC_INTERVAL, 99); in testDeserializeFromJSON()
36 json.put(EmailContent.AccountColumns.FLAGS, 22); in testDeserializeFromJSON()
37 json.put(EmailContent.AccountColumns.SENDER_NAME, "Friend of Kitt"); in testDeserializeFromJSON()
38 json.put(EmailContent.AccountColumns.PROTOCOL_VERSION, "protocol version 3.14"); in testDeserializeFromJSON()
39 json.put(EmailContent.AccountColumns.SIGNATURE, "David with a heart over the i"); in testDeserializeFromJSON()
40 json.put(EmailContent.AccountColumns.PING_DURATION, 77); in testDeserializeFromJSON()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
DAccountTests.java65 json.put(UIProvider.AccountColumns.NAME, "name"); in testDeserializeNullSenderNameUsingJSON()
66 json.put(UIProvider.AccountColumns.TYPE, "type"); in testDeserializeNullSenderNameUsingJSON()
67 json.put(UIProvider.AccountColumns.PROVIDER_VERSION, 1); in testDeserializeNullSenderNameUsingJSON()
68 json.put(UIProvider.AccountColumns.CAPABILITIES, 2); in testDeserializeNullSenderNameUsingJSON()
71 json.put(UIProvider.AccountColumns.SENDER_NAME, null); in testDeserializeNullSenderNameUsingJSON()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java377 public interface AccountColumns { interface in BluetoothMapContract
1120 AccountColumns._ID,
1121 AccountColumns.ACCOUNT_DISPLAY_NAME,
1122 AccountColumns.FLAG_EXPOSE,
1130 AccountColumns._ID,
1131 AccountColumns.ACCOUNT_DISPLAY_NAME,
1132 AccountColumns.FLAG_EXPOSE,
1133 AccountColumns.ACCOUNT_UCI,
1134 AccountColumns.ACCOUNT_UCI_PREFIX
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountLoader.java176 null, null, BluetoothMapContract.AccountColumns._ID+" DESC"); in parseAccounts()
179 null, null, BluetoothMapContract.AccountColumns._ID+" DESC"); in parseAccounts()
192 int idIndex = c.getColumnIndex(BluetoothMapContract.AccountColumns._ID); in parseAccounts()
194 BluetoothMapContract.AccountColumns.ACCOUNT_DISPLAY_NAME); in parseAccounts()
195 int exposeIndex = c.getColumnIndex(BluetoothMapContract.AccountColumns.FLAG_EXPOSE); in parseAccounts()
196 int uciIndex = c.getColumnIndex(BluetoothMapContract.AccountColumns.ACCOUNT_UCI); in parseAccounts()
198 BluetoothMapContract.AccountColumns.ACCOUNT_UCI_PREFIX); in parseAccounts()
DBluetoothMapSettingsAdapter.java321 values.put(BluetoothMapContract.AccountColumns.FLAG_EXPOSE, ((account.mIsChecked)?1:0)); in updateAccount()
322 values.put(BluetoothMapContract.AccountColumns._ID, account.getId()); // get title in updateAccount()
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSettingsUtils.java33 import com.android.emailcommon.provider.EmailContent.AccountColumns;
107 cv.put(AccountColumns.DISPLAY_NAME, account.getDisplayName()); in getAccountContentValues()
108 cv.put(AccountColumns.SENDER_NAME, account.getSenderName()); in getAccountContentValues()
109 cv.put(AccountColumns.SIGNATURE, account.getSignature()); in getAccountContentValues()
110 cv.put(AccountColumns.SYNC_INTERVAL, account.mSyncInterval); in getAccountContentValues()
111 cv.put(AccountColumns.FLAGS, account.mFlags); in getAccountContentValues()
112 cv.put(AccountColumns.SYNC_LOOKBACK, account.mSyncLookback); in getAccountContentValues()
113 cv.put(AccountColumns.SECURITY_SYNC_KEY, account.mSecuritySyncKey); in getAccountContentValues()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DSendersFormattingTests.java273 map.put(UIProvider.AccountColumns.NAME, "Fred Flintstone"); in createAccount()
274 map.put(UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME, "fflintstone@example.com"); in createAccount()
275 map.put(UIProvider.AccountColumns.TYPE, "IMAP"); in createAccount()
276 map.put(UIProvider.AccountColumns.PROVIDER_VERSION, 1); in createAccount()
277 map.put(UIProvider.AccountColumns.CAPABILITIES, 0); in createAccount()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailBroadcastProcessorService.java45 import com.android.emailcommon.provider.EmailContent.AccountColumns;
209 { AccountColumns.EMAIL_ADDRESS, AccountColumns.SYNC_INTERVAL };
356 cv.put(AccountColumns.FLAGS, flags); in setImapDeletePolicy()
DEmailServiceUtils.java56 import com.android.emailcommon.provider.EmailContent.AccountColumns;
332 AccountColumns.EMAIL_ADDRESS + "=?", new String[] { amAccount.name }, null); in updateAccountManagerType()
359 accountValues.put(AccountColumns.FLAGS, account.mFlags); in updateAccountManagerType()
480 accountValues.put(AccountColumns.FLAGS, oldFlags); in updateAccountManagerType()
DPopImapSyncAdapterService.java38 import com.android.emailcommon.provider.EmailContent.AccountColumns;
200 Account.CONTENT_PROJECTION, AccountColumns.EMAIL_ADDRESS + "=?", in performSync()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java57 import com.android.emailcommon.provider.EmailContent.AccountColumns;
307 cv.put(AccountColumns.DISPLAY_NAME, summary); in onPreferenceChange()
313 cv.put(AccountColumns.SENDER_NAME, summary); in onPreferenceChange()
326 cv.put(AccountColumns.SIGNATURE, signature); in onPreferenceChange()
338 cv.put(AccountColumns.SYNC_INTERVAL, Integer.parseInt(summary)); in onPreferenceChange()
356 cv.put(AccountColumns.SYNC_INTERVAL, Integer.parseInt(summary)); in onPreferenceChange()
364 cv.put(AccountColumns.SYNC_LOOKBACK, Integer.parseInt(summary)); in onPreferenceChange()
389 cv.put(AccountColumns.FLAGS, newFlags); in onPreferenceChange()
DAccountFinalizeFragment.java121 cv.put(EmailContent.AccountColumns.DISPLAY_NAME, mAccount.getDisplayName()); in loadInBackground()
122 cv.put(EmailContent.AccountColumns.SENDER_NAME, mAccount.getSenderName()); in loadInBackground()
DAccountSetupFinal.java396 new String[] {UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME, in onCreateLoader()
397 UIProvider.AccountColumns.NAME}, in onCreateLoader()
411 UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME); in onLoadFinished()
413 data.getColumnIndex(UIProvider.AccountColumns.NAME); in onLoadFinished()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java44 import com.android.emailcommon.provider.EmailContent.AccountColumns;
486 cv.put(AccountColumns.FLAGS, account.mFlags); in setAccountHoldFlag()
549 .withValueBackReference(AccountColumns.POLICY_KEY, 0) in setAccountPolicy()
550 .withValue(AccountColumns.SECURITY_SYNC_KEY, securitySyncKey) in setAccountPolicy()
555 .withValue(AccountColumns.SECURITY_SYNC_KEY, null) in setAccountPolicy()
556 .withValue(AccountColumns.POLICY_KEY, 0) in setAccountPolicy()
/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java27 import com.android.emailcommon.provider.EmailContent.AccountColumns;
75 new String[] { AccountColumns.FLAGS }, null, null, null, 0); in getAccountFlags()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapContentTest.java495 Long id = c.getLong(c.getColumnIndex(BluetoothMapContract.AccountColumns._ID)); in testAccountUpdate()
497 c.getColumnIndex(BluetoothMapContract.AccountColumns.FLAG_EXPOSE)); in testAccountUpdate()
498 String where = BluetoothMapContract.AccountColumns._ID + " = " + id; in testAccountUpdate()
501 values.put(BluetoothMapContract.AccountColumns.FLAG_EXPOSE, (int) 0); in testAccountUpdate()
503 values.put(BluetoothMapContract.AccountColumns.FLAG_EXPOSE, (int) 1); in testAccountUpdate()
507 values.getAsInteger(BluetoothMapContract.AccountColumns.FLAG_EXPOSE)); in testAccountUpdate()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java25 import com.android.emailcommon.provider.EmailContent.AccountColumns;
97 AccountColumns.EMAIL_ADDRESS + " = ?", in migrate()

12