Searched refs:account (Results 51 - 75 of 291) sorted by relevance

1234567891011>>

/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSyncCalendar.java64 /** Content selection for getting a calendar id for an account. */
70 /** Content selection for getting a calendar id for an account. */
128 public EasSyncCalendar(final Context context, final Account account, argument
131 mAndroidAccount = new android.accounts.Account(account.mEmailAddress,
137 account.mEmailAddress,
149 // Check if we have a calendar for this account with no server Id. If so, it was
156 account.mEmailAddress,
167 asSyncAdapter(Calendars.CONTENT_URI, account), id),
180 mCalendarId = CalendarUtilities.createCalendar(context, cr, account,
192 final double protocolVersion, final Account account, fina
191 setSyncOptions(final Context context, final Serializer s, final double protocolVersion, final Account account, final Mailbox mailbox, final boolean isInitialSync, final int numWindows) argument
204 getParser(final Context context, final Account account, final Mailbox mailbox, final InputStream is) argument
231 asSyncAdapter(final Uri uri, final Account account) argument
259 markParentsOfDirtyEvents(final Context context, final Account account, final String calendarIdString, final String[] calendarIdArgument) argument
324 sendDeclinedEmail(final Context context, final Account account, final Entity entity, final String clientId) argument
382 sendEvent(final Context context, final Account account, final Entity entity, final String clientId, final double protocolVersion, final Serializer s) argument
656 handleExceptionsToRecurrenceRules(final Serializer s, final Context context, final Account account,final Entity entity, final ContentValues entityValues, final String serverId, final String clientId, final String calendarIdString, final boolean selfOrganizer, final double protocolVersion) argument
760 updateAttendeesAndSendMail(final Context context, final Account account, final Entity entity, final ContentValues entityValues, final boolean selfOrganizer, final long eventId, final String clientId) argument
904 handleEntity(final Serializer s, final Context context, final Account account, final Entity entity, final String calendarIdString, final boolean first, final double protocolVersion) argument
1004 setUpsyncCommands(Context context, final Account account, final double protocolVersion, final Serializer s) argument
1036 cleanup(final Context context, final Account account) argument
1070 sendMessage(final Context context, final Account account, final EmailContent.Message msg) argument
[all...]
H A DEasSyncCollectionTypeBase.java40 * @param account
47 final double protocolVersion, final Account account, final Mailbox mailbox,
53 * @param account
59 public abstract AbstractSyncParser getParser(final Context context, final Account account, argument
66 * @param account
68 public void cleanup(final Context context, final Account account) {} argument
46 setSyncOptions(final Context context, final Serializer s, final double protocolVersion, final Account account, final Mailbox mailbox, final boolean isInitialSync, final int numWindows) argument
H A DEasOperation.java66 * it's not account-specific so it needs to override {@link #getRequestUri()}), but the default
83 * Note that it is not practical to avoid the race between when an operation loads its account data
95 * This class attempts to defer loading of account data as long as possible -- ideally we load
148 /** The provider id for the account this operation is on. */
164 * Constructor which defers loading of account and connection info.
173 protected EasOperation(final Context context, final Account account, argument
175 this(context, account.mId);
176 mAccount = account;
180 protected EasOperation(final Context context, final Account account, final HostAuth hostAuth) { argument
181 this(context, account, ne
184 EasOperation(final Context context, final Account account) argument
681 sendMessage(final Account account, final EmailContent.Message msg) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationUtils.java83 /** Contains a list of <(account, label), unread conversations> */
175 final Account account;
178 account = new Account(accountCursor);
200 final NotificationKey key = new NotificationKey(account, folder);
223 key.account.uri.toString(), key.folder.folderUri.fullUri.toString(),
234 * @return the title of this notification with each account and the number of unread and unseen
235 * conversations for it. Also remove any account in the map that has 0 unread.
283 * account-folder pair, pass in the account and folder that should be resent.
284 * All other account
341 validateAccountNotifications(Context context, String account) argument
400 setNewEmailIndicator(Context context, final int unreadCount, final int unseenCount, final Account account, final Folder folder, final boolean getAttention) argument
446 validateNotifications(Context context, final Folder folder, final Account account, boolean getAttention, boolean ignoreUnobtrusiveSetting, NotificationKey key) argument
676 createViewConversationIntent(final Context context, final Account account, final Folder folder, final Cursor cursor) argument
733 configureLatestEventInfoFromConversation(final Context context, final Account account, final FolderPreferences folderPreferences, final NotificationCompat.Builder notification, final Cursor conversationCursor, final PendingIntent clickIntent, final Intent notificationIntent, final int unreadCount, final int unseenCount, final Folder folder, final long when) argument
1008 getStyledSenders(final Context context, final Cursor conversationCursor, final int maxLength, final String account) argument
1252 clearFolderNotification(Context context, Account account, Folder folder, final boolean markSeen) argument
1272 clearAccountNotifications(final Context context, final android.accounts.Account account) argument
1460 getNotificationId(final android.accounts.Account account, final Folder folder) argument
1466 public final Account account; field in class:NotificationUtils.NotificationKey
1469 NotificationKey(Account account, Folder folder) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorAccountsChangedActivity.java34 import com.android.contacts.common.model.account.AccountWithDataSet;
42 * which account the contact will be saved in. There is also an option to add an account at
46 * account for this contact.
89 // which account to create a contact in.
105 // If the user has 1 writable account we will just show the user a message with 2
113 final AccountWithDataSet account = accounts.get(0);
115 account.name));
117 // This button allows the user to add a new account to the device and return to
123 // account
182 saveAccountAndReturnResult(AccountWithDataSet account) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DRecentFolderList.java55 /** The current account */
65 * We exclude the default inbox for the account and the current folder; these might be the
91 * Copy {@link RecentFolderList#mAccount} in case the account changes between when the
99 * Create a new asynchronous task to store the recent folder list. Both the account
101 * @param account the current account for this folder.
104 public StoreRecent(Account account, Folder folder) { argument
105 assert (account != null && folder != null);
106 mAccount = account;
126 * Create a Recent Folder List from the given account
151 setCurrentAccount(Account account) argument
192 touchFolder(Folder folder, Account account) argument
[all...]
H A DFolderSelectionDialog.java53 public static FolderSelectionDialog getInstance(final Context context, final Account account, argument
62 * present on the account, so we should be able to remove the check here.
64 if (isMoveTo || !account.supportsCapability(
67 context, account, updater, target, isBatch, currentFolder);
70 context, account, updater, target, isBatch, currentFolder);
85 protected FolderSelectionDialog(final Context context, final Account account, argument
94 mAccount = account;
H A DWaitFragment.java39 private static final String ACCOUNT_KEY = "account";
55 public static WaitFragment newInstance(Account account) { argument
56 return newInstance(account, false);
59 public static WaitFragment newInstance(Account account, boolean def) { argument
63 args.putParcelable(ACCOUNT_KEY, account);
108 public void updateAccount(Account account) { argument
109 mAccount = account;
138 // Tell the account to sync manually. As a side effect, updates will come into the
H A DMailboxSelectionActivity.java74 // Boolean to indicate that we are waiting for the result from an add account
105 // we should set the title to "Select account".
116 // if we display the account list
223 // No account found, show Add Account screen, for both the widget or
225 // No account found, show Add Account screen, for both the widget or
231 // No reason to display the account list
234 // Indicate that we need to handle the response from the add account action
239 // When configuring a widget, if there is only one account, automatically
240 // choose that account.
243 // No reason to display the account lis
275 selectAccount(Account account) argument
326 showWaitFragment(Account account) argument
[all...]
H A DAbstractConversationWebViewClient.java50 public AbstractConversationWebViewClient(Account account) { argument
51 mAccount = account;
54 public void setAccount(Account account) { argument
55 mAccount = account;
H A DTurnAutoSyncOnDialog.java37 private static final String ACCOUNT = "account";
59 public static TurnAutoSyncOnDialog newInstance(Account account, argument
63 args.putParcelable(ACCOUNT, account);
71 final Account account = getArguments().getParcelable(ACCOUNT);
89 // account (used for constructing this dialog) was
96 account,
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMailboxUtilities.java125 * Given an account selector, specifying the account(s) on which to work, create the parentKey
126 * and flags for each mailbox in the account(s) that is uninitialized (parentKey = 0 or null)
165 Account account = Account.restoreAccountWithId(context, accountId);
166 if (account == null) return;
169 cv.put(Account.FLAGS, start ? (account.mFlags | ACCOUNT_MAILBOX_CHANGE_FLAG) :
170 account.mFlags & ~ACCOUNT_MAILBOX_CHANGE_FLAG);
172 ContentUris.withAppendedId(Account.CONTENT_URI, account.mId), cv, null, null);
176 * Indicate that the specified account is starting the process of changing its mailbox list
178 * @param accountId the account tha
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DEmailServiceStub.java101 final Account account = Account.restoreAccountWithId(mContext, mailbox.mAccountKey);
102 if (account == null) return;
104 EmailServiceUtils.getServiceInfoForAccount(mContext, account.mId);
105 final android.accounts.Account acct = new android.accounts.Account(account.mEmailAddress,
118 account.toString(), extras.toString());
156 final Account account = Account.restoreAccountWithId(mContext, message.mAccountKey);
176 if (account == null || mailbox == null) {
177 // If the account/mailbox are gone, just report success; the UI handles this
183 TrafficFlags.getAttachmentFlags(mContext, account));
185 final Store remoteStore = Store.getInstance(account, mContex
[all...]
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountSyncSettings.java66 public static final String ACCOUNT_KEY = "account";
188 if (Log.isLoggable(TAG, Log.VERBOSE)) Log.v(TAG, "Got account: " + mAccount);
210 private void addSyncStateCheckBox(Account account, String authority) { argument
212 new SyncStateCheckBoxPreference(getActivity(), account, authority);
284 Account account = syncPref.getAccount();
285 boolean syncAutomatically = ContentResolver.getSyncAutomatically(account, authority);
287 requestOrCancelSync(account, authority, true);
293 ContentResolver.setSyncAutomatically(account, authority, syncOn);
298 requestOrCancelSync(account, authority, syncOn);
335 // invisible sync adapters' account typ
343 requestOrCancelSync(Account account, String authority, boolean flag) argument
353 isSyncing(List<SyncInfo> currentSyncs, Account account, String authority) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DAccountsListAdapter.java30 import com.android.contacts.common.model.account.AccountType;
31 import com.android.contacts.common.model.account.AccountWithDataSet;
50 ACCOUNTS_CONTACT_WRITABLE, // Only where the account type is contact writable
51 ACCOUNTS_GROUP_WRITABLE // Only accounts where the account type is group writable
93 final AccountWithDataSet account = mAccounts.get(position);
94 final AccountType accountType = mAccountTypes.getAccountType(account.type, account.dataSet);
100 text2.setText(account.name);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
H A DRawContactUtil.java89 public static long createRawContact(ContentResolver resolver, Account account, argument
93 final Uri uri = TestUtil.maybeAddAccountQueryParameters(ContactsContract.RawContacts.CONTENT_URI, account);
102 public static long createRawContactWithName(ContentResolver resolver, Account account) { argument
103 return createRawContactWithName(resolver, "John", "Doe", account);
112 String lastName, Account account) {
113 long rawContactId = createRawContact(resolver, account);
111 createRawContactWithName(ContentResolver resolver, String firstName, String lastName, Account account) argument
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockAccountTypeManager.java19 import com.android.contacts.common.model.account.AccountType;
20 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
21 import com.android.contacts.common.model.account.AccountWithDataSet;
/packages/apps/Email/tests/src/com/android/email/provider/
H A DPolicyTests.java92 Account account = ProviderTestUtils.setupAccount("acct", true, mMockContext);
94 assertEquals(0, account.mPolicyKey);
97 SecurityPolicy.setAccountPolicy(mMockContext, account, policy, securitySyncKey);
98 account.refresh(mMockContext);
100 assertTrue(account.mPolicyKey > 0);
101 Policy dbPolicy = Policy.restorePolicyWithId(mMockContext, account.mPolicyKey);
106 // The account should have the security sync key set
107 assertEquals(securitySyncKey, account.mSecuritySyncKey);
108 SecurityPolicy.clearAccountPolicy(mMockContext, account);
109 account
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAccountWithDataSet.java48 public static AccountWithDataSet get(Account account, String dataSet) { argument
49 return new AccountWithDataSet(account.name, account.type, null);
98 // null account name/type, which Account wouldn't accept. So we need to compare field by
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DSelectAccountDialogFragment.java33 * Shows a dialog asking the user which account to chose.
64 final Account account = getItem(position);
66 text1.setText("Name: " + account.name);
67 text2.setText("Type: " + account.type);
86 builder.setTitle("Choose account to send to editor");
99 void onAccountChosen(Account account, String dataSet, int tag); argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/editor/
H A DSelectAccountDialogFragment.java27 import com.android.contacts.common.model.account.AccountWithDataSet;
32 * Shows a dialog asking the user which account to chose.
52 * @param accountListFilter account filter.
109 private void onAccountSelected(AccountWithDataSet account) { argument
113 target.onAccountChosen(account, getArguments().getBundle(KEY_EXTRA_ARGS));
118 void onAccountChosen(AccountWithDataSet account, Bundle extraArgs); argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DAccountFilterActivity.java39 import com.android.contacts.common.model.account.AccountType;
40 import com.android.contacts.common.model.account.AccountWithDataSet;
47 * Shows a list of all available accounts, letting the user select under which account to view
117 for (AccountWithDataSet account : accounts) {
118 AccountType accountType = accountTypes.getAccountType(account.type, account.dataSet);
119 if (accountType.isExtension() && !account.hasData(context)) {
125 account.type, account.name, account
[all...]
/packages/apps/Email/src/com/android/email/provider/
H A DFolderPickerActivity.java58 // in an account (meaning the account requires setup)
60 String id = uri.getQueryParameter("account");
62 LogUtils.w(TAG, "No account # in Uri?");
69 LogUtils.w(TAG, "Invalid account # in Uri?");
73 // We act a bit differently if we're coming to set up the trash after account creation
83 Account account = Account.restoreAccountWithId(this, mAccountId);
84 if (account == null) {
85 LogUtils.w(TAG, "No account?");
88 mAccountName = account
[all...]
/packages/apps/Exchange/src/com/android/exchange/service/
H A DPingTask.java40 public PingTask(final Context context, final Account account, argument
44 mOperation = new EasPing(context, account, amAccount);
49 public PingTask(final Context context, final Account account, argument
53 mOperation = new EasPing(context, account, amAccount);
85 LogUtils.e(TAG, e, "Ping exception for account %d", mOperation.getAccountId());
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DAccountPreferences.java26 * Preferences relevant to one specific account.
36 * A temporary preference that can be set during account setup, if we do not know what the
47 * Number of time user has dismissed / seen the toast for account sync is off message.
49 public static final String ACCOUNT_SYNC_OFF_DISMISSES = "num-of-dismisses-account-sync-off";
61 * @param account The account email. This must never change for the account.
63 public AccountPreferences(final Context context, final String account) { argument
64 super(context, buildSharedPrefsName(account));
67 private static String buildSharedPrefsName(final String account) { argument
[all...]

Completed in 468 milliseconds

1234567891011>>