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

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/content/
AbstractThreadedSyncAdapter.java 19 import android.accounts.Account;
65 * indicate which content authority and for which account types this sync adapter serves.
76 * it sync an account's data.
78 * to intialize the isSyncable state to 1 for that sync adapter for each account that is added.
97 private final HashMap<Account, SyncThread> mSyncThreads = new HashMap<Account, SyncThread>();
109 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it
122 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it
141 private Account toSyncKey(Account account)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupAccountType.java 31 import com.android.emailcommon.provider.Account;
35 * Prompts the user to select an account type. The account type, along with the
51 // If we're in account setup flow mode, for EAS, skip this screen and "click" EAS
85 Account account = SetupData.getAccount(); local
86 HostAuth hostAuth = account.mHostAuthRecv;
91 AccountSetupBasics.setFlagsForProtocol(account, HostAuth.SCHEME_POP3);
93 AccountSetupIncoming.actionIncomingSettings(this, SetupData.getFlowMode(), account);
98 * The user has selected an IMAP account type. Try to put together a URI using the entere
102 Account account = SetupData.getAccount(); local
119 Account account = SetupData.getAccount(); local
    [all...]
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...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
SelectAccountActivity.java 27 import com.android.contacts.common.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...]
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/network/sync/basicsyncadapter/
SyncUtils.java 19 import android.accounts.Account;
38 * Create an entry for this application in the system account list, if it isn't already there.
47 // Create account, if it's missing. (Either first run, or user has deleted account.)
48 Account account = GenericAccountService.GetAccount(); local
50 if (accountManager.addAccountExplicitly(account, null, null)) {
51 // Inform the system that this account supports sync
52 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1);
53 // Inform the system that this account is eligible for auto sync when the network is u
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
AccountSelectionUtil.java 35 import com.android.contacts.common.model.account.AccountType;
36 import com.android.contacts.common.model.account.AccountWithDataSet;
42 * Utility class for selectiong an Account for importing contact(s)
63 Log.e(LOG_TAG, "The size of Account list is 0.");
122 final AccountWithDataSet account = this.getItem(position);
124 account.type, account.dataSet);
127 text1.setText(account.name);
153 public static void doImport(Context context, int resId, AccountWithDataSet account) {
156 doImportFromSim(context, account);
    [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
1873 String account = "ep_account"; local
1974 String account = "cser_account"; local
2054 String account = "cser_account"; local
2153 String account = "cu1_account"; local
2193 String account = "ss_account"; local
2241 String account = "ec1_account"; local
2283 String account = "em1_account"; local
2328 String account = "bup_account"; local
2411 String account = "re_account"; local
2448 String account = "reconv_account"; local
2490 String account = "rex_account"; local
2677 String account = "rena_account"; local
2939 String account = "refx_account"; local
3035 String account = "ref_account"; local
3091 String account = "multirule_account"; local
3117 String account = "neg_account"; local
3146 String account = "ec_account"; local
3194 String account = "ec_account"; local
3243 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...]
  /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...]
  /frameworks/base/core/java/android/accounts/
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 55 * per account, granting applications access to online resources with
59 * authentication, so the account manager uses pluggable <em>authenticator</em>
60 * modules for different <em>account types</em>. Authenticators (which may be
61 * written by third parties) handle the actual details of validating account
62 * credentials and storing account information. For example, Google, Facebook,
83 * identifies the authenticator. Account <em>features</em> are used to
84 * identify particular account subtypes and capabilities. Both the account
91 * account of the appropriate type.
94 * account selection, it must make sure the account is still in the lis
    [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...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/content/
SyncStorageEngineTest.java 19 import android.accounts.Account;
54 final Account account = new Account("a@example.com", "example.type"); local
64 account, 0, SyncOperation.REASON_PERIODIC, authority, time0,
75 final Account account1 = new Account("a@example.com", "example.type");
76 final Account account2 = new Account("b@example.com", "example.type.2");
100 engine.addPeriodicSync(sync1.account, 0, sync1.authority, sync1.extras, sync1.period)
224 final Account account = new Account("account1", "type1"); local
409 final Account account = new Account("acc", "type"); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/account/
MockAccountService.java 17 package android.provider.cts.contacts.account;
24 * Account service for the authenticator
StaticAccountAuthenticator.java 17 package android.provider.cts.contacts.account;
20 import android.accounts.Account;
28 * Account authenticator with 1 hard coded account.
30 * Also adds the account to the account manager on instantiation.
36 public static final Account ACCOUNT_1 = new Account("cp account 1", TYPE);
70 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account
    [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/ContactsCommon/tests/src/com/android/contacts/common/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);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
RawContactUtil.java 19 import android.accounts.Account;
42 public static long createRawContactWithName(ContentResolver resolver, Account account,
44 Long rawContactId = insertRawContact(resolver, account);
50 Account account) {
51 Long rawContactId = insertRawContact(resolver, account);
56 public static long insertRawContact(ContentResolver resolver, Account account) {
58 values.put(ContactsContract.RawContacts.ACCOUNT_NAME, account.name)
    [all...]
  /frameworks/base/services/java/com/android/server/content/
SyncQueue.java 19 import android.accounts.Account;
66 op.account, op.userId, op.authority);
68 SyncAdapterType.newKey(op.authority, op.account.type), op.userId);
75 op.account, op.userId, op.reason, op.syncSource, op.authority, op.extras,
77 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority),
120 operation.account, operation.userId, operation.reason, operation.syncSource,
162 public void onBackoffChanged(Account account, int userId, String providerName, long backoff) {
163 // for each op that matches the account and provider update its
166 if (op.account.equals(account) && op.authority.equals(providerName
    [all...]
  /frameworks/base/services/java/com/android/server/accounts/
AccountManagerService.java 20 import android.accounts.Account;
95 * A system service that provides account, password, and authtoken management for all
182 private final HashMap<Pair<Pair<Account, String>, Integer>, Integer>
184 new HashMap<Pair<Pair<Account, String>, Integer>, Integer>();
185 private final HashMap<Account, Integer> signinRequiredNotificationIds =
186 new HashMap<Account, Integer>();
189 private final HashMap<String, Account[]> accountCache =
190 new LinkedHashMap<String, Account[]>();
192 private HashMap<Account, HashMap<String, String>> userDataCache =
193 new HashMap<Account, HashMap<String, String>>()
375 final Account account = new Account(accountName, accountType); local
906 removeAccountInternal(getUserAccountsForCaller(), account); local
2117 Account account = new Account(accountName, accountType); local
    [all...]
  /packages/apps/Email/src/com/android/email/
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
597 Account account = Account.restoreAccountWithId(mContext, accountId); local
634 Account account = Account.restoreAccountWithId(mContext, accountId); local
    [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...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAccountManager.java 3 import android.accounts.Account;
37 private Account[] accounts;
38 private HashMap<Account, HashMap<String, String>> cachedAuthTokenValues =
39 new HashMap<Account, HashMap<String, String>>();
50 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
51 //TODO: Add complete activity to perform the account intent dance.
52 final Account finalAccount = account;
99 private void addBundleResults(Bundle bundle, final Account account)
    [all...]

Completed in 981 milliseconds

12 3 4 5 6 7 8 91011>>