HomeSort by relevance Sort by last modified time
    Searched refs:account (Results 101 - 125 of 312) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupIncomingFragment.java 42 import com.android.emailcommon.provider.Account;
47 * Provides UI for IMAP/POP account settings.
139 new SpinnerOption(Account.DELETE_POLICY_NEVER,
141 new SpinnerOption(Account.DELETE_POLICY_ON_DELETE,
180 // We're editing an existing account; don't allow modification of the user name
288 * Configure the editor for the account type
292 Account account = SetupData.getAccount();
293 if (account == null || account.mHostAuthRecv == null)
418 Account account = SetupData.getAccount(); local
430 Account account = SetupData.getAccount(); local
447 Account account = SetupData.getAccount(); local
    [all...]
AccountSecurity.java 36 import com.android.emailcommon.provider.Account;
44 * 1. Confirm the account of interest has any security policies defined - exit early if not
66 private Account mAccount;
73 * @param accountId The account of interest
76 * is not clear (e.g. any time after the account has been set up).
77 * @return an Intent which can be used to view that account
117 mAccount = Account.restoreAccountWithId(AccountSecurity.this, accountId);
135 // This account wants to control security
164 * the requisite security settings for the given account.
175 private void tryAdvanceSecurity(Account account)
    [all...]
AccountSettingsFragment.java 51 import com.android.emailcommon.provider.Account;
57 * Fragment containing the main logic for account settings. This also calls out to other
61 * TODO: Can we defer calling addPreferencesFromResource() until after we load the account? This
111 private Account mAccount;
119 /** The e-mail of the account being edited. */
129 public void onSettingsChanged(Account account, String preference, Object value);
130 public void onEditQuickResponses(Account account);
131 public void onIncomingSettings(Account account)
322 Account account = Account.restoreAccountWithId(mContext, accountId); local
339 Account account = (Account) results[0]; local
    [all...]
AccountSetupIncoming.java 22 import com.android.emailcommon.provider.Account;
36 * the settings as entered. If the account is OK, proceeds to AccountSetupOutgoing.
45 public static void actionIncomingSettings(Activity fromActivity, int mode, Account account) {
47 SetupData.setAccount(account);
86 * Launches the account checker. Positive results are reported to onCheckSettingsOk().
AccountSetupOutgoing.java 22 import com.android.emailcommon.provider.Account;
36 * the settings as entered. If the account is OK, proceeds to AccountSetupOptions.
45 public static void actionOutgoingSettings(Activity fromActivity, int mode, Account account) {
47 SetupData.setAccount(account);
86 * Launches the account checker. Positive results are reported to onCheckSettingsOk().
MailboxSettings.java 40 import com.android.emailcommon.provider.Account;
53 * the target mailbox is Inbox, in which case it updates Account settings instead.
61 private static final String BUNDLE_ACCOUNT = "MailboxSettings.account";
70 // Account and Mailbox -- directly loaded by LoadMailboxTask
71 private Account mAccount;
167 mAccount = Account.restoreAccountWithId(c, mMailbox.mAccountKey);
175 finish(); // Account or mailbox removed.
186 * @param account the Account (or owner of a Mailbox) whose preference is being set
189 Account account)
344 final Account account = mAccount; local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 20 import com.android.emailcommon.provider.Account;
48 * Create an account for test purposes
50 public static Account setupAccount(String name, boolean saveIt, Context context) {
51 Account account = new Account(); local
53 account.mDisplayName = name;
54 account.mEmailAddress = name + "@android.com";
55 account.mSyncKey = "sync-key-" + name;
56 account.mSyncLookback = 1
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
EasSyncServiceTests.java 25 import com.android.emailcommon.provider.Account;
63 // The value will be "0" without an account
69 // With an account, but null security key, the header's value should be "0"
70 Account account = new Account(); local
71 account.mSecuritySyncKey = null;
72 svc.mAccount = account;
78 // With an account and security key, the header's value should be the security key
79 account.mSecuritySyncKey = "key"
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
SyncSettings.java 19 import android.accounts.Account;
136 public void onAccountsUpdated(Account[] accounts) {
141 final Account account = accounts[i]; local
142 final ArrayList<String> auths = getAuthoritiesForAccountType(account.type);
156 final Drawable icon = getDrawableForType(account.type);
158 new AccountPreference(getActivity(), account, icon, auths, true);
160 preference.setSummary(getLabelForType(account.type));
168 // Update account icons for all account preference item
    [all...]
  /frameworks/base/core/java/android/content/
ContentResolver.java 21 import android.accounts.Account;
70 * {@link #requestSync(android.accounts.Account, String, android.os.Bundle)}
73 public static final String SYNC_EXTRAS_ACCOUNT = "account";
112 * the given account/authority pair. One required initialization step is to
113 * ensure that {@link #setIsSyncable(android.accounts.Account, String, int)} has been
1325 Account account = null; local
    [all...]
ContentService.java 19 import android.accounts.Account;
300 public void requestSync(Account account, String authority, Bundle extras) {
310 syncManager.scheduleSync(account, userId, authority, extras, 0 /* no delay */,
320 * if they match the authority and account, if they are present.
321 * @param account filter the pending and active syncs to cancel using this account
324 public void cancelSync(Account account, String authority) {
333 syncManager.clearScheduledSyncOperations(account, userId, authority)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
AccountTypeManager.java 19 import android.accounts.Account;
48 import com.android.contacts.model.account.AccountType;
49 import com.android.contacts.model.account.AccountTypeWithDataSet;
50 import com.android.contacts.model.account.AccountWithDataSet;
51 import com.android.contacts.model.account.ExchangeAccountType;
52 import com.android.contacts.model.account.ExternalAccountType;
53 import com.android.contacts.model.account.FallbackAccountType;
54 import com.android.contacts.model.account.GoogleAccountType;
92 Log.e(TAG, "No account type service in context: " + context);
119 public final AccountType getAccountTypeForAccount(AccountWithDataSet account) {
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessagesAdapter.java 36 import com.android.emailcommon.provider.Account;
111 /** {@link Account} that owns the mailbox. Null for combined mailboxes. */
112 public final Account mAccount;
115 /** {@code true} if the account is an EAS account */
123 boolean found, Account account, Mailbox mailbox, boolean isEasAccount,
127 mAccount = account;
315 Account account = null local
    [all...]
UIControllerBase.java 39 import com.android.emailcommon.provider.Account;
494 * @return the currently selected account ID, *or* {@link Account#ACCOUNT_ID_COMBINED_VIEW}.
501 * @return true if an account is selected, or the current view is the combined view.
504 return getUIAccountId() != Account.NO_ACCOUNT;
508 * @return if an actual account is selected. (i.e. {@link Account#ACCOUNT_ID_COMBINED_VIEW}
512 return isAccountSelected() && (getUIAccountId() != Account.ACCOUNT_ID_COMBINED_VIEW);
516 * @return the currently selected account ID. If the current view is the combined view,
517 * it'll return {@link Account#NO_ACCOUNT}
650 Account account = Account.restoreAccountWithId(mActivity, accountId); local
708 Account account = getMessageListFragment().getAccount(); local
800 Account account = Account.restoreAccountWithId(mActivity, accountId); local
1035 Account account = Account.restoreAccountWithId(mActivity, accountId); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorUtils.java 19 import android.accounts.Account;
30 import com.android.contacts.model.account.AccountType;
31 import com.android.contacts.model.account.AccountWithDataSet;
42 * Utility methods for the "account changed" notification in the new contact creation flow.
110 * Saves all writable accounts and the default account, which can later be obtained
115 * @param defaultAccount the account used to save a newly created contact. Or pass {@code null}
124 // This should always be the case with our spec, but because we load the account list
126 // point. So if the default is null always clear the account list.
138 * @return the default account saved with {@link #saveDefaultAndAllAccounts}.
144 * Also note that the returned account may have been removed already
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DataKind.java 23 import com.android.contacts.model.account.AccountType.EditField;
24 import com.android.contacts.model.account.AccountType.EditType;
25 import com.android.contacts.model.account.AccountType.StringInflater;
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSetupIncomingTests.java 20 import com.android.emailcommon.provider.Account;
33 * Tests of the basic UI logic in the Account Setup Incoming (IMAP / POP3) screen.
185 * Create an intent with the Account in it
189 Account account = new Account(); local
191 HostAuth auth = account.getOrCreateHostAuthRecv(context);
193 SetupData.init(SetupData.FLOW_MODE_NORMAL, account);
AccountSetupOutgoingTests.java 20 import com.android.emailcommon.provider.Account;
33 * Tests of the basic UI logic in the Account Setup Outgoing (SMTP) screen.
181 * Create an intent with the Account in it
185 Account account = new Account(); local
187 HostAuth auth = account.getOrCreateHostAuthSend(context);
189 SetupData.init(SetupData.FLOW_MODE_NORMAL, account);
  /packages/apps/Settings/src/com/android/settings/
DebugIntentSender.java 46 String account = mAccountField.getText().toString();
53 intent.putExtra("account", account);
79 mAccountField = (EditText) findViewById(R.id.account);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticatorActivity.java 23 import android.accounts.Account;
84 /** Was the original caller asking for an entirely new account? */
173 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); local
174 mAccountManager.setPassword(account, mPassword);
187 * account - so we're never storing the user's actual password locally.
194 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE) local
    [all...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
SectionedAlbumDataAdapter.java 66 if (previous.isEmpty() || !previous.equals(item.account)) {
67 if (DEBUG) Log.i(TAG, "previous = " + previous +", title = " + item.account);
68 previous = item.account;
80 if (previous.isEmpty() || !previous.equals(item.account)) {
81 previous = item.account;
124 return mAlbumData.getItem(internalPosition(position+1)).account;
  /system/extras/bugmailer/src/com/android/commands/sendbug/
SendBug.java 18 import android.accounts.Account;
84 Log.w(LOG_TAG, "Cannot find account to send bugreport, local path: "
116 final Account sendToAccount = findSendToAccount();
141 private Account findSendToAccount() {
148 Account[] accounts = null;
149 Account foundAccount = null;
160 for (Account account : accounts) {
161 if (EMAIL_REGEX.matcher(account.name).matches()) {
165 if (account.name.endsWith(preferredDomain))
    [all...]
  /packages/apps/Email/src/com/android/email/service/
MailService.java 44 import com.android.emailcommon.provider.Account;
75 private static final String EXTRA_ACCOUNT = "com.android.email.intent.extra.ACCOUNT";
127 * @param accountId the account whose pending mail should be sent
165 // If we have the data, restore the last-sync-times for each account
169 // Sync a specific account if given
177 // Start sync if account is given && auto-sync is allowed
195 // Prevent runaway on the current account by pretending it updated
199 // Find next account to sync, and reschedule
221 Cursor c = mContentResolver.query(Account.CONTENT_URI, Account.ID_PROJECTION
515 Account account = Account.getContent(c, Account.class); local
674 Account account = Account.restoreAccountWithId(context, accountId); local
    [all...]
  /frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
RequestSync.java 20 import android.accounts.Account;
32 // account & authority
64 final Account account = mAccountName != null && mAccountType != null local
65 ? new Account(mAccountName, mAccountType) : null;
68 if (account != null) {
69 System.out.printf(" Account: %s (%s)\n", account.name, account.type);
71 System.out.printf(" Account: all\n")
    [all...]
  /frameworks/base/core/java/android/accounts/
GrantCredentialsPermissionActivity.java 39 public static final String EXTRAS_ACCOUNT = "account";
46 private Account mAccount;
67 // Grant 'account'/'type' to mUID
135 private String getAccountLabel(Account account) {
140 if (desc.type.equals(account.type)) {
144 return account.type;
146 return account.type;
150 return account.type;

Completed in 1272 milliseconds

1 2 3 45 6 7 8 91011>>