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

12 3 4 5 6 7 8 91011>>

  /packages/apps/Contacts/src/com/android/contacts/vcard/
SelectAccountActivity.java 27 import com.android.contacts.model.account.AccountWithDataSet;
57 // - just one account -> use the account without asking the user
58 // - no account -> use phone-local storage without asking the user
63 Log.w(LOG_TAG, "Account does not exist");
67 final AccountWithDataSet account = accountList.get(0); local
69 intent.putExtra(ACCOUNT_NAME, account.name);
70 intent.putExtra(ACCOUNT_TYPE, account.type);
71 intent.putExtra(DATA_SET, account.dataSet);
86 final AccountWithDataSet account = mAccountList.get(which)
    [all...]
  /frameworks/base/core/java/android/accounts/
AccountManagerService.java 81 * A system service that provides account, password, and authtoken management for all
165 private final HashMap<Pair<Pair<Account, String>, Integer>, Integer>
167 new HashMap<Pair<Pair<Account, String>, Integer>, Integer>();
168 private final HashMap<Account, Integer> signinRequiredNotificationIds =
169 new HashMap<Account, Integer>();
172 private final HashMap<String, Account[]> accountCache =
173 new LinkedHashMap<String, Account[]>();
175 private HashMap<Account, HashMap<String, String>> userDataCache =
176 new HashMap<Account, HashMap<String, String>>();
178 private HashMap<Account, HashMap<String, String>> authTokenCache
352 final Account account = new Account(accountName, accountType); local
738 removeAccountInternal(getUserAccountsForCaller(), account); local
1808 Account account = new Account(accountName, accountType); local
    [all...]
AbstractAccountAuthenticator.java 47 * &lt;account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
58 * corresponds to {@link Account#type} for your accounts. One user of the android:icon is the
59 * "Account & Sync" settings page and one user of the android:smallIcon is the Contact Application's
144 Account account, Bundle options) throws RemoteException {
146 Log.v(TAG, "confirmCredentials: " + account);
151 new AccountAuthenticatorResponse(response), account, options);
161 handleException(response, "confirmCredentials", account.toString(), e);
188 Account account, String authTokenType, Bundle loginOptions
    [all...]
AccountManager.java 52 * per account, granting applications access to online resources with
56 * authentication, so the account manager uses pluggable <em>authenticator</em>
57 * modules for different <em>account types</em>. Authenticators (which may be
58 * written by third parties) handle the actual details of validating account
59 * credentials and storing account information. For example, Google, Facebook,
80 * identifies the authenticator. Account <em>features</em> are used to
81 * identify particular account subtypes and capabilities. Both the account
88 * account of the appropriate type.
91 * account selection, it must make sure the account is still in the lis
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountSelectionUtil.java 35 import com.android.contacts.model.account.AccountType;
36 import com.android.contacts.model.account.AccountWithDataSet;
41 * Utility class for selectiong an Account for importing contact(s)
62 Log.e(LOG_TAG, "The size of Account list is 0.");
121 final AccountWithDataSet account = this.getItem(position);
123 account.type, account.dataSet);
126 text1.setText(account.name);
152 public static void doImport(Context context, int resId, AccountWithDataSet account) {
155 doImportFromSim(context, account);
    [all...]
AccountsListAdapter.java 30 import com.android.contacts.model.account.AccountType;
31 import com.android.contacts.model.account.AccountWithDataSet;
37 * List-Adapter for Account selection
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
59 * @param currentAccount the Account currently selected by the user, which should come
93 final AccountWithDataSet account = mAccounts.get(position); local
94 final AccountType accountType = mAccountTypes.getAccountType(account.type, account.dataSet);
100 text2.setText(account.name)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java 128 static String generateCalendarOwnerEmail(String account) {
129 return "OWNER_" + account + "@example.com";
136 * @param account The account name to create this calendar with
141 String account, int seed) {
146 values.put(Calendars.ACCOUNT_NAME, account);
151 values.put(Calendars.OWNER_ACCOUNT, generateCalendarOwnerEmail(account));
204 public static int deleteCalendarByAccount(ContentResolver resolver, String account) {
206 new String[] { account });
209 public static Cursor getCalendarsByAccount(ContentResolver resolver, String account) {
922 String account = "cc1_account"; local
938 String account = "dproj_account"; local
997 String account = "eeq_account"; local
1170 String account = "att_account"; local
1320 String account = "rem_account"; local
1485 String account = "rem_account"; local
1518 String account = "colw_account"; local
1617 String account = "cc_account"; local
1734 String account = "ec_account"; local
1854 String account = "ep_account"; local
1955 String account = "cser_account"; local
2035 String account = "cser_account"; local
2134 String account = "cu1_account"; local
2174 String account = "ss_account"; local
2222 String account = "ec1_account"; local
2264 String account = "em1_account"; local
2309 String account = "bup_account"; local
2392 String account = "re_account"; local
2429 String account = "reconv_account"; local
2471 String account = "rex_account"; local
2658 String account = "rena_account"; local
2920 String account = "refx_account"; local
3016 String account = "ref_account"; local
3072 String account = "multirule_account"; local
3098 String account = "neg_account"; local
3127 String account = "ec_account"; local
3175 String account = "ec_account"; local
3224 String account = "ec_account"; local
    [all...]
  /packages/apps/Email/src/com/android/email/service/
EasAuthenticatorService.java 25 import android.accounts.Account;
39 * with addAccount, it simply adds the account to AccountManager directly with a username and
63 // app UI; we simply create the account and return the proper bundle
66 final Account account = new Account(options.getString(OPTIONS_USERNAME), local
69 account, options.getString(OPTIONS_PASSWORD), null);
78 ContentResolver.setIsSyncable(account, ContactsContract.AUTHORITY, 1);
79 ContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY,
88 ContentResolver.setIsSyncable(account, CalendarProviderStub.AUTHORITY, 1)
    [all...]
PopImapAuthenticatorService.java 25 import android.accounts.Account;
39 * with addAccount, it simply adds the account to AccountManager directly with a username and
61 // app UI; we simply create the account and return the proper bundle
64 final Account account = new Account(options.getString(OPTIONS_USERNAME), local
67 account, options.getString(OPTIONS_PASSWORD), null);
75 ContentResolver.setIsSyncable(account, EmailContent.AUTHORITY, 1);
76 ContentResolver.setSyncAutomatically(account, EmailContent.AUTHORITY, syncEmail);
77 ContentResolver.setIsSyncable(account, ContactsContract.AUTHORITY, 0)
    [all...]
EasTestAuthenticatorService.java 20 import android.accounts.Account;
33 * Anauthenticator service for reconciliation tests; it simply adds the account to AccountManager
53 // app UI; we simply create the account and return the proper bundle
56 final Account account = new Account(options.getString(OPTIONS_USERNAME), local
59 account, options.getString(OPTIONS_PASSWORD), null);
64 // 2) The other case is that we're creating a new account from an Account manager
66 // account information..
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSetupExchangeTests.java 30 import com.android.emailcommon.provider.Account;
36 * Tests of the basic UI logic in the Account Setup Incoming (IMAP / POP3) screen.
180 Account account = local
181 ProviderTestUtils.setupAccount("account", false, mActivity.getBaseContext());
182 account.mHostAuthRecv = ProviderTestUtils.setupHostAuth(
184 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_SSL;
185 account.mHostAuthRecv.mFlags &= ~HostAuth.FLAG_TRUST_ALL;
187 boolean loadResult = mActivity.mFragment.loadSettings(account);
195 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_TRUST_ALL
231 Account account = new Account(); local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
ShortcutPicker.java 32 import com.android.emailcommon.provider.Account;
37 * This class implements a launcher shortcut for directly accessing a single account.
63 // Load the account picking fragment if we haven't created a fragment yet
80 public Integer buildFilter(Account account) {
81 if (!Account.isNormalAccount(account.mId)) {
90 public void onSelected(Account account, long mailboxId) {
92 if (Account.isNormalAccount(account.mId) &
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupNames.java 42 import com.android.emailcommon.provider.Account;
49 * Final screen of setup process. Collect account nickname and/or username.
93 Account account = SetupData.getAccount(); local
94 if (account == null) {
95 throw new IllegalStateException("unexpected null account");
97 if (account.mHostAuthRecv == null) {
104 String accountEmail = account.mEmailAddress;
111 // Remember whether we're an EAS account, since it doesn't require the user name field
112 mEasAccount = HostAuth.SCHEME_EAS.equals(account.mHostAuthRecv.mProtocol)
196 Account account = SetupData.getAccount(); local
216 Account account = SetupData.getAccount(); local
    [all...]
AccountSetupOptions.java 45 import com.android.emailcommon.provider.Account;
54 * TODO: Cleanup the manipulation of Account.FLAGS_INCOMPLETE and make sure it's never left set.
102 Account account = SetupData.getAccount(); local
103 HostAuth host = account.getOrCreateHostAuthRecv(this);
133 // Note: It is OK to use mAccount.mIsDefault here *only* because the account
134 // has not been written to the DB yet. Ordinarily, call Account.getDefaultAccountId().
135 if (account.mIsDefault || SetupData.isDefault()) {
139 (account.getFlags() & Account.FLAGS_NOTIFY_NEW_MAIL) != 0)
209 final Account account = SetupData.getAccount(); local
333 Account account = SetupData.getAccount(); local
    [all...]
AccountSetupBasics.java 52 import com.android.emailcommon.provider.Account;
65 * Prompts the user for the email address and password. Also prompts for "Use this account as
66 * default" if this is the 2nd+ account being set up.
68 * If the domain is well-known, the account is configured fully and checked immediately
72 * AccountSetupAccountType activity where the user can begin to manually configure the account.
78 * an intent which contains all necessary information to create the account. No connection
79 * checking is done, so the account may or may not actually work. Here is a sample command, for a
80 * gmail account "test_account" with a password of "test_password".
84 * -e USER "Test Account Name" \
97 * Direct access for forcing account creatio
208 Account account = SetupData.getAccount(); local
443 Account account = SetupData.getAccount(); local
489 Account account = Utility.findExistingAccount(mContext, -1, local
567 Account account = SetupData.getAccount(); local
594 Account account = SetupData.getAccount(); local
614 Account account = SetupData.getAccount(); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
SyncStorageEngineTest.java 21 import android.accounts.Account;
49 final Account account = new Account("a@example.com", "example.type"); local
59 account, 0, authority, time0, SyncStorageEngine.SOURCE_LOCAL,
70 final Account account1 = new Account("a@example.com", "example.type");
71 final Account account2 = new Account("b@example.com", "example.type.2");
95 engine.addPeriodicSync(sync1.account, 0, sync1.authority, sync1.extras, sync1.period)
219 final Account account = new Account("account1", "type1"); local
404 final Account account = new Account("acc", "type"); local
    [all...]
  /external/openssh/contrib/aix/
pam.conf 10 # Account Management
11 sshd account required /usr/lib/security/pam_aix
12 OTHER account required /usr/lib/security/pam_aix
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
TestSyncAdapter.java 18 import android.accounts.Account;
49 public void onPerformSync(Account account, Bundle extras, String authority,
51 Log.v(TestauthConstants.LOG_TAG, "TestSyncAdapter.onPerformSync() account=" + account);
56 values.put(RawContacts.ACCOUNT_NAME, account.name);
57 values.put(RawContacts.ACCOUNT_TYPE, account.type);
  /frameworks/base/core/java/android/content/
SyncOperation.java 19 import android.accounts.Account;
28 public final Account account; field in class:SyncOperation
42 public SyncOperation(Account account, int userId, int source, String authority, Bundle extras,
44 this.account = account;
79 this.account = other.account;
99 .append(account.name
    [all...]
SyncQueue.java 19 import android.accounts.Account;
61 op.account, op.userId, op.authority);
63 SyncAdapterType.newKey(op.authority, op.account.type), op.userId);
70 op.account, op.userId, op.syncSource, op.authority, op.extras, 0 /* delay */,
72 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority),
115 operation.account, operation.userId, operation.syncSource,
157 public void onBackoffChanged(Account account, int userId, String providerName, long backoff) {
158 // for each op that matches the account and provider update its
161 if (op.account.equals(account) && op.authority.equals(providerName
    [all...]
  /packages/apps/Email/src/com/android/email/mail/
Store.java 30 import com.android.emailcommon.provider.Account;
40 * Store is the legacy equivalent of the Account class
52 protected Account mAccount;
70 static Store newInstance(Account account, Context context) throws MessagingException {
72 + account.mDisplayName);
76 * Get an instance of a mail store for the given account. The account must be valid (i.e. has
79 * NOTE: The internal algorithm used to find a cached store depends upon the account's
84 * @param account The account of the store
    [all...]
  /packages/apps/Email/src/com/android/email/
Preferences.java 25 import com.android.emailcommon.provider.Account;
269 * Returns the last used account ID as set by {@link #setLastUsedAccountId}.
273 * Note that the last used account may have been deleted in the background so there is also
274 * no guarantee that the account exists.
277 return mSharedPreferences.getLong(LAST_ACCOUNT_USED, Account.NO_ACCOUNT);
281 * Sets the specified ID of the last account used. Treated as an opaque ID and does not
292 * Gets whether the require manual sync dialog has been shown for the specified account.
293 * It should only be shown once per account.
295 public boolean getHasShownRequireManualSync(Context context, Account account) {
    [all...]
SecurityPolicy.java 37 import com.android.emailcommon.provider.Account;
215 * API: Report that policies may have been updated due to rewriting values in an Account.
216 * @param accountId the account that has been updated, -1 if unknown/deleted
343 * This can be used when syncing a specific account, by passing a specific set of policies
344 * for that account. Or, it can be used at any time to compare the device
351 * will return 'false' as soon as the password expires - irrespective of which account caused
353 * based on the requirements of the account with the shortest interval.
502 Account account = Account.restoreAccountWithId(context, accountId) local
593 Account account = Account.restoreAccountWithId(mContext, accountId); local
630 Account account = Account.restoreAccountWithId(mContext, accountId); local
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 19 import com.android.emailcommon.provider.Account;
37 * Create an account for test purposes
39 public static Account setupAccount(String name, boolean saveIt, Context context) {
40 Account account = new Account(); local
42 account.mDisplayName = name;
43 account.mEmailAddress = name + "@android.com";
44 account.mProtocolVersion = "2.5" + name;
46 account.save(context)
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/provider/
EmailContentSetupUtils.java 19 import com.android.emailcommon.provider.Account;
37 * Create an account for test purposes
39 public static Account setupAccount(String name, boolean saveIt, Context context) {
40 Account account = new Account(); local
42 account.mDisplayName = name;
43 account.mEmailAddress = name + "@android.com";
44 account.mProtocolVersion = "2.5" + name;
46 account.save(context)
    [all...]

Completed in 648 milliseconds

12 3 4 5 6 7 8 91011>>