HomeSort by relevance Sort by last modified time
    Searched refs:Account (Results 226 - 250 of 304) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 19 import android.accounts.Account;
59 private static final Account ACCOUNT_1 = new Account("account_name_1", "account_type_1");
60 private static final Account ACCOUNT_2 = new Account("account_name_2", "account_type_2");
61 private static final Account ACCOUNT_3 = new Account("account_name_3", "account_type_3");
143 Account account = new Account("accountName", "accountType") local
609 Account account = new Account("accountName", "accountType"); local
634 Account account = new Account("accountName", "accountType"); local
660 Account account = new Account("accountName", "accountType"); local
    [all...]
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/network/sync/basicsyncadapter/
EntryListFragment.java 19 import android.accounts.Account;
140 * <p>This will create a new account with the system for our application, register our
147 // Create account, if needed
333 // Create a handle to the account that was created by
336 Account account = GenericAccountService.GetAccount();
337 if (account == null) {
347 account, FeedContract.CONTENT_AUTHORITY);
349 account, FeedContract.CONTENT_AUTHORITY);
SyncAdapter.java 19 import android.accounts.Account;
132 public void onPerformSync(Account account, Bundle extras, String authority,
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java 38 import android.accounts.Account;
62 /** POST parameter name for the user's account name */
100 * @param username The server account username
101 * @param password The server account password
153 * @param account The account being synced
155 * account
161 Account account, String authtoken, long serverSyncState, List<RawContact> dirtyContacts)
178 params.add(new BasicNameValuePair(PARAM_USERNAME, account.name))
    [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;
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorUtils.java 19 import android.accounts.Account;
31 import com.android.contacts.common.model.account.AccountType;
32 import com.android.contacts.common.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/ContactsCommon/src/com/android/contacts/common/model/account/
AccountWithDataSet.java 17 package com.android.contacts.common.model.account;
19 import android.accounts.Account;
37 * Wrapper for an account that includes a data set (which may be null).
39 public class AccountWithDataSet extends Account {
90 * Return {@code true} if this account has any contacts in the database.
133 private static StringBuilder addStringified(StringBuilder sb, AccountWithDataSet account) {
134 sb.append(account.name);
136 sb.append(account.type);
138 if (!TextUtils.isEmpty(account.dataSet)) sb.append(account.dataSet)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportProcessor.java 18 import android.accounts.Account;
146 final Account account = request.account; local
153 new VCardEntryConstructor(estimatedVCardType, account, estimatedCharset);
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsEditQuickResponsesFragment.java 24 import com.android.emailcommon.provider.Account;
47 * Lists quick responses associated with the specified email account. Allows users to create,
51 * <li>Provide an Account as an argument named "account". This account's quick responses
60 private Account mAccount;
138 * Finds existing QuickResponses for the specified account and attaches the contents to
150 * Finds all QuickResponses for the given account. Creates either a standard ListView
156 * @param accountId - id of the account whose QuickResponses are to be returned
234 mAccount = args.getParcelable("account");
    [all...]
AccountSetupOutgoingFragment.java 42 import com.android.emailcommon.provider.Account;
47 * Provides UI for SMTP account settings (for IMAP/POP accounts).
331 Account account = SetupData.getAccount(); local
332 account.mHostAuthSend.update(mContext, account.mHostAuthSend.toContentValues());
349 Account account = SetupData.getAccount(); local
350 HostAuth sendAuth = account.getOrCreateHostAuthSend(mContext);
AccountCheckSettingsFragment.java 38 import com.android.emailcommon.provider.Account;
60 // If true, use a "fake" account check cycle
85 // Support for AsyncTask and account checking
107 * Callback interface for any target or activity doing account check settings
159 Account checkAccount = SetupData.getAccount();
402 * This AsyncTask does the actual account checking
411 final Account mAccount;
419 * @param checkAccount account holding values to be checked
421 public AccountCheckTask(int mode, Account checkAccount) {
505 // Some of the legacy account checkers return errors by throwing MessagingException
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
EasSyncService.java 43 import com.android.emailcommon.provider.Account;
347 Account account = service.mAccount; local
348 if (account != null) {
349 account.mProtocolVersion = ourVersion;
352 (account.mFlags & Account.FLAGS_SUPPORTS_SEARCH) == 0) {
353 if (account.isSaved()) {
355 account.mFlags |=
356 Account.FLAGS_SUPPORTS_GLOBAL_SEARCH + Account.FLAGS_SUPPORTS_SEARCH
1376 Account account = svc.mAccount; local
    [all...]
  /frameworks/base/services/java/com/android/server/content/
SyncManager.java 19 import android.accounts.Account;
201 cancelActiveSync(null /* any account */, UserHandle.USER_ALL,
222 scheduleSync(null /* account */, UserHandle.USER_ALL,
235 // Kick off sync for everyone, since this was a radical account change
255 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) {
259 && accounts[i].account.equals(account)) {
276 currentSyncContext.mSyncOperation.account,
278 Log.d(TAG, "canceling sync since the account is no longer running")
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Policy.java 34 * The Policy class represents a set of security requirements that are associated with an Account.
36 * a limit on the sync window for the Account)
140 return Utility.getFirstRowLong(context, Account.CONTENT_URI, Account.ID_PROJECTION,
142 Account.ID_PROJECTION_COLUMN, Account.NO_ACCOUNT);
171 * Review all attachment records for this account, and reset the "don't allow download" flag
172 * as required by the account's new security policies
174 * @param account the account whose attachments need to be reviewe
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
FolderSyncParser.java 28 import com.android.emailcommon.provider.Account;
53 * Handles the addition, deletion, and changes to folders in the user's Exchange account.
113 // If true, we only care about status (this is true when validating an account) and ignore
141 // only the account mailbox
155 // If the account hasn't been saved, this is a validation attempt, so we don't
159 (mAccount.mId == Account.NOT_SAVED)) {
170 mContentResolver.update(ContentUris.withAppendedId(Account.CONTENT_URI,
208 userLog("Leaving FolderSyncParser with Account syncKey=", mAccount.mSyncKey);
226 // Find the mailbox in this account with the given serverId
265 Account.CHECK_INTERVAL_NEVER + " OR " + Mailbox.SYNC_LOOKBACK + "!="
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
BaseContactsProvider2Test.java 22 import android.accounts.Account;
90 protected Account mAccount = new Account("account1", "account type1");
91 protected Account mAccountTwo = new Account("account2", "account type2");
95 protected final static Account NO_ACCOUNT = new Account("a", "b");
158 protected Uri setCallerIsSyncAdapter(Uri uri, Account account)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessageViewFragment.java 39 import com.android.emailcommon.provider.Account;
297 Account account = Account.restoreAccountWithId(mContext, getAccountId()); local
298 boolean supportsMove = account.supportsMoveMessages(mContext)
MailboxFragmentAdapter.java 43 import com.android.emailcommon.provider.Account;
90 /** Account "mailboxes" in the combined view */
105 * Projection for a typical mailbox or account row.
137 /** All mailboxes for the account */
140 /** All system mailboxes for an account */
228 /** Returns {@code true} if the specified row is of an account in the combined view. */
241 /** Returns {@code true} if the current row is of an account in the combined view. */
260 * Returns the ID of the given row. It may be a mailbox or account ID depending upon the
269 * Returns the account ID of the mailbox owner for the given row. If the given row is a
270 * combined mailbox, {@link Account#ACCOUNT_ID_COMBINED_VIEW} is returned. If the give
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 19 import android.accounts.Account;
348 * Returns the default account on the device.
352 Account[] accounts = mAccountManager.getAccountsByType("com.google");
356 Account account = accounts[accounts.length - 1]; local
357 Log.v(TAG, "Found " + accounts.length + " accounts; using the last one, " + account.name);
358 return account.name;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ContentResolverTest.java 18 import android.accounts.Account;
42 private Account a, b;
51 a = new Account("a", "type");
52 b = new Account("b", "type");
287 assertThat(first.account, equalTo(a));
301 bundle.putParcelable("account", a);
  /frameworks/ex/chips/src/com/android/ex/chips/
RecipientAlternatesAdapter.java 19 import android.accounts.Account;
77 Account account, RecipientMatchCallback callback) {
78 getMatchingRecipients(context, inAddresses, QUERY_TYPE_EMAIL, account, callback);
92 int addressType, Account account, RecipientMatchCallback callback) {
144 account);
165 paramsList.get(i).directoryId, account,
289 Account account, ContentResolver resolver, Query query)
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
ExchangeDirectoryProvider.java 21 import com.android.emailcommon.provider.Account;
181 * Find the record id of an Account, given its name (email address)
182 * @param accountName the name of the account
183 * @return the record id of the Account, or -1 if not found
188 accountId = Utility.getFirstRowLong(context, Account.CONTENT_URI,
210 android.accounts.Account[] accounts = AccountManager.get(getContext())
214 for (android.accounts.Account account : accounts) {
220 row[i] = account.name;
222 row[i] = account.type
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
KeyguardHostView.java 529 // Could also take into account longer timeouts for certain security views.
679 showSecurityScreen(SecurityMode.Account);
680 // don't show timeout dialog because we show account unlock screen next
712 * account unlock screen and biometric unlock to show the user's normal unlock.
749 case Account:
    [all...]
KeyguardPatternView.java 18 import android.accounts.Account;
291 // Ask the account manager if we have an account that can be used as a
299 private final Account[] mAccounts;
315 // lookup the confirmCredentials intent for the current account
333 // just skip the account if we are unable to query it
335 // just skip the account if we are unable to query it
337 // just skip the account if we are unable to query it
  /packages/apps/Email/tests/src/com/android/email/provider/
ContentCacheTests.java 22 import com.android.emailcommon.provider.Account;
136 // Create account and two mailboxes
137 Account acct = ProviderTestUtils.setupAccount("account", true, context);

Completed in 827 milliseconds

1 2 3 4 5 6 7 8 91011>>