Lines Matching refs:AccountColumns
31 import com.android.mail.providers.UIProvider.AccountColumns;
211 * where the keys are from the {@link AccountColumns.SettingsColumns}, and the values are the
265 json.put(AccountColumns.NAME, displayName);
266 json.put(AccountColumns.TYPE, type);
267 json.put(AccountColumns.SENDER_NAME, senderName);
268 json.put(AccountColumns.ACCOUNT_MANAGER_NAME, accountManagerName);
269 json.put(AccountColumns.ACCOUNT_ID, accountId);
270 json.put(AccountColumns.PROVIDER_VERSION, providerVersion);
271 json.put(AccountColumns.URI, uri);
272 json.put(AccountColumns.CAPABILITIES, capabilities);
273 json.put(AccountColumns.FOLDER_LIST_URI, folderListUri);
274 json.put(AccountColumns.FULL_FOLDER_LIST_URI, fullFolderListUri);
275 json.put(AccountColumns.ALL_FOLDER_LIST_URI, allFolderListUri);
276 json.put(AccountColumns.SEARCH_URI, searchUri);
277 json.put(AccountColumns.ACCOUNT_FROM_ADDRESSES, accountFromAddresses);
278 json.put(AccountColumns.EXPUNGE_MESSAGE_URI, expungeMessageUri);
279 json.put(AccountColumns.UNDO_URI, undoUri);
280 json.put(AccountColumns.SETTINGS_INTENT_URI, settingsIntentUri);
281 json.put(AccountColumns.HELP_INTENT_URI, helpIntentUri);
282 json.put(AccountColumns.SEND_FEEDBACK_INTENT_URI, sendFeedbackIntentUri);
283 json.put(AccountColumns.REAUTHENTICATION_INTENT_URI, reauthenticationIntentUri);
284 json.put(AccountColumns.SYNC_STATUS, syncStatus);
285 json.put(AccountColumns.COMPOSE_URI, composeIntentUri);
286 json.put(AccountColumns.MIME_TYPE, mimeType);
287 json.put(AccountColumns.RECENT_FOLDER_LIST_URI, recentFolderListUri);
288 json.put(AccountColumns.COLOR, color);
289 json.put(AccountColumns.DEFAULT_RECENT_FOLDER_LIST_URI, defaultRecentFolderListUri);
290 json.put(AccountColumns.MANUAL_SYNC_URI, manualSyncUri);
291 json.put(AccountColumns.VIEW_INTENT_PROXY_URI, viewIntentProxyUri);
292 json.put(AccountColumns.ACCOUNT_COOKIE_QUERY_URI, accountCookieQueryUri);
293 json.put(AccountColumns.UPDATE_SETTINGS_URI, updateSettingsUri);
294 json.put(AccountColumns.ENABLE_MESSAGE_TRANSFORMS, enableMessageTransforms);
295 json.put(AccountColumns.SYNC_AUTHORITY, syncAuthority);
296 json.put(AccountColumns.QUICK_RESPONSE_URI, quickResponseUri);
297 json.put(AccountColumns.SETTINGS_FRAGMENT_CLASS, settingsFragmentClass);
298 json.put(AccountColumns.SECURITY_HOLD, securityHold);
299 json.put(AccountColumns.ACCOUNT_SECURITY_URI, accountSecurityUri);
379 displayName = (String) json.get(UIProvider.AccountColumns.NAME);
380 type = (String) json.get(UIProvider.AccountColumns.TYPE);
381 senderName = json.optString(AccountColumns.SENDER_NAME, null);
382 final String amName = json.optString(AccountColumns.ACCOUNT_MANAGER_NAME);
390 accountId = json.optString(UIProvider.AccountColumns.ACCOUNT_ID, accountManagerName);
391 providerVersion = json.getInt(AccountColumns.PROVIDER_VERSION);
392 uri = Uri.parse(json.optString(AccountColumns.URI));
393 capabilities = json.getInt(AccountColumns.CAPABILITIES);
395 .getValidUri(json.optString(AccountColumns.FOLDER_LIST_URI));
397 .optString(AccountColumns.FULL_FOLDER_LIST_URI));
399 .optString(AccountColumns.ALL_FOLDER_LIST_URI));
400 searchUri = Utils.getValidUri(json.optString(AccountColumns.SEARCH_URI));
401 accountFromAddresses = json.optString(AccountColumns.ACCOUNT_FROM_ADDRESSES, "");
403 .optString(AccountColumns.EXPUNGE_MESSAGE_URI));
404 undoUri = Utils.getValidUri(json.optString(AccountColumns.UNDO_URI));
406 .optString(AccountColumns.SETTINGS_INTENT_URI));
407 helpIntentUri = Utils.getValidUri(json.optString(AccountColumns.HELP_INTENT_URI));
409 .optString(AccountColumns.SEND_FEEDBACK_INTENT_URI));
411 json.optString(AccountColumns.REAUTHENTICATION_INTENT_URI));
412 syncStatus = json.optInt(AccountColumns.SYNC_STATUS);
413 composeIntentUri = Utils.getValidUri(json.optString(AccountColumns.COMPOSE_URI));
414 mimeType = json.optString(AccountColumns.MIME_TYPE);
416 .optString(AccountColumns.RECENT_FOLDER_LIST_URI));
417 color = json.optInt(AccountColumns.COLOR, 0);
419 .optString(AccountColumns.DEFAULT_RECENT_FOLDER_LIST_URI));
421 .getValidUri(json.optString(AccountColumns.MANUAL_SYNC_URI));
423 .getValidUri(json.optString(AccountColumns.VIEW_INTENT_PROXY_URI));
425 json.optString(AccountColumns.ACCOUNT_COOKIE_QUERY_URI));
427 json.optString(AccountColumns.UPDATE_SETTINGS_URI));
428 enableMessageTransforms = json.optInt(AccountColumns.ENABLE_MESSAGE_TRANSFORMS);
429 syncAuthority = json.optString(AccountColumns.SYNC_AUTHORITY);
430 quickResponseUri = Utils.getValidUri(json.optString(AccountColumns.QUICK_RESPONSE_URI));
431 settingsFragmentClass = json.optString(AccountColumns.SETTINGS_FRAGMENT_CLASS, "");
432 securityHold = json.optInt(AccountColumns.SECURITY_HOLD);
433 accountSecurityUri = json.optString(AccountColumns.ACCOUNT_SECURITY_URI);
446 displayName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.NAME));
447 senderName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.SENDER_NAME));
448 type = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.TYPE));
450 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME));
452 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_ID));
454 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_FROM_ADDRESSES)));
457 cursor.getColumnIndex(UIProvider.AccountColumns.CAPABILITIES);
465 cursor.getInt(cursor.getColumnIndex(UIProvider.AccountColumns.PROVIDER_VERSION));
466 uri = Uri.parse(cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.URI)));
468 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.FOLDER_LIST_URI)));
470 cursor.getColumnIndex(UIProvider.AccountColumns.FULL_FOLDER_LIST_URI)));
472 cursor.getColumnIndex(UIProvider.AccountColumns.ALL_FOLDER_LIST_URI)));
474 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.SEARCH_URI)));
476 cursor.getColumnIndex(UIProvider.AccountColumns.EXPUNGE_MESSAGE_URI)));
478 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.UNDO_URI)));
480 cursor.getColumnIndex(UIProvider.AccountColumns.SETTINGS_INTENT_URI)));
482 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.HELP_INTENT_URI)));
484 cursor.getColumnIndex(UIProvider.AccountColumns.SEND_FEEDBACK_INTENT_URI)));
486 cursor.getColumnIndex(UIProvider.AccountColumns.REAUTHENTICATION_INTENT_URI)));
487 syncStatus = cursor.getInt(cursor.getColumnIndex(UIProvider.AccountColumns.SYNC_STATUS));
489 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.COMPOSE_URI)));
490 mimeType = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.MIME_TYPE));
492 cursor.getColumnIndex(UIProvider.AccountColumns.RECENT_FOLDER_LIST_URI)));
493 color = cursor.getInt(cursor.getColumnIndex(UIProvider.AccountColumns.COLOR));
495 cursor.getColumnIndex(UIProvider.AccountColumns.DEFAULT_RECENT_FOLDER_LIST_URI)));
497 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.MANUAL_SYNC_URI)));
499 cursor.getColumnIndex(UIProvider.AccountColumns.VIEW_INTENT_PROXY_URI)));
501 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_COOKIE_QUERY_URI)));
503 cursor.getColumnIndex(UIProvider.AccountColumns.UPDATE_SETTINGS_URI)));
505 cursor.getColumnIndex(AccountColumns.ENABLE_MESSAGE_TRANSFORMS));
507 cursor.getColumnIndex(AccountColumns.SYNC_AUTHORITY));
513 cursor.getColumnIndex(AccountColumns.QUICK_RESPONSE_URI)));
515 AccountColumns.SETTINGS_FRAGMENT_CLASS));
516 final int securityHoldIndex = cursor.getColumnIndex(AccountColumns.SECURITY_HOLD);
518 cursor.getInt(cursor.getColumnIndex(AccountColumns.SECURITY_HOLD)) : 0);
520 cursor.getColumnIndex(AccountColumns.ACCOUNT_SECURITY_URI);
928 map.put(AccountColumns._ID, 0);
929 map.put(AccountColumns.NAME, displayName);
930 map.put(AccountColumns.SENDER_NAME, senderName);
931 map.put(AccountColumns.TYPE, type);
932 map.put(AccountColumns.ACCOUNT_MANAGER_NAME, accountManagerName);
933 map.put(AccountColumns.ACCOUNT_ID, accountId);
934 map.put(AccountColumns.PROVIDER_VERSION, providerVersion);
935 map.put(AccountColumns.URI, uri);
936 map.put(AccountColumns.CAPABILITIES, capabilities);
937 map.put(AccountColumns.FOLDER_LIST_URI, folderListUri);
938 map.put(AccountColumns.FULL_FOLDER_LIST_URI, fullFolderListUri);
939 map.put(AccountColumns.ALL_FOLDER_LIST_URI, allFolderListUri);
940 map.put(AccountColumns.SEARCH_URI, searchUri);
941 map.put(AccountColumns.ACCOUNT_FROM_ADDRESSES, accountFromAddresses);
942 map.put(AccountColumns.EXPUNGE_MESSAGE_URI, expungeMessageUri);
943 map.put(AccountColumns.UNDO_URI, undoUri);
944 map.put(AccountColumns.SETTINGS_INTENT_URI, settingsIntentUri);
945 map.put(AccountColumns.HELP_INTENT_URI, helpIntentUri);
946 map.put(AccountColumns.SEND_FEEDBACK_INTENT_URI, sendFeedbackIntentUri);
947 map.put(AccountColumns.REAUTHENTICATION_INTENT_URI, reauthenticationIntentUri);
948 map.put(AccountColumns.SYNC_STATUS, syncStatus);
949 map.put(AccountColumns.COMPOSE_URI, composeIntentUri);
950 map.put(AccountColumns.MIME_TYPE, mimeType);
951 map.put(AccountColumns.RECENT_FOLDER_LIST_URI, recentFolderListUri);
952 map.put(AccountColumns.DEFAULT_RECENT_FOLDER_LIST_URI, defaultRecentFolderListUri);
953 map.put(AccountColumns.MANUAL_SYNC_URI, manualSyncUri);
954 map.put(AccountColumns.VIEW_INTENT_PROXY_URI, viewIntentProxyUri);
955 map.put(AccountColumns.ACCOUNT_COOKIE_QUERY_URI, accountCookieQueryUri);
956 map.put(AccountColumns.COLOR, color);
957 map.put(AccountColumns.UPDATE_SETTINGS_URI, updateSettingsUri);
958 map.put(AccountColumns.ENABLE_MESSAGE_TRANSFORMS, enableMessageTransforms);
959 map.put(AccountColumns.SYNC_AUTHORITY, syncAuthority);
960 map.put(AccountColumns.QUICK_RESPONSE_URI, quickResponseUri);
961 map.put(AccountColumns.SETTINGS_FRAGMENT_CLASS, settingsFragmentClass);
962 map.put(AccountColumns.SECURITY_HOLD, securityHold);
963 map.put(AccountColumns.ACCOUNT_SECURITY_URI, accountSecurityUri);