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

1 2 3 4 5 6 7 891011>>

  /packages/apps/Contacts/src/com/android/contacts/
ContactsUtils.java 27 import com.android.contacts.common.model.account.AccountWithDataSet;
ContactSaveService.java 54 import com.android.contacts.common.model.account.AccountWithDataSet;
225 ArrayList<ContentValues> values, AccountWithDataSet account,
230 if (account != null) {
231 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
232 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
233 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
556 * @param account in which the group should be created
563 public static Intent createNewGroupIntent(Context context, AccountWithDataSet account,
568 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
569 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
StreamItemAdapter.java 27 import com.android.contacts.common.model.account.AccountType;
85 // We make child views clickable in getvView() if the account type supports
108 // Only pass the photo click listener if the account type has the photo
114 // If the account type has the stream item view activity, make the stream container
ContactDetailUpdatesFragment.java 36 import com.android.contacts.common.model.account.AccountType;
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountPromptUtils.java 33 import com.android.contacts.common.model.account.GoogleAccountType;
38 * Utility class for controlling whether the standard "no account" prompt on launch is shown.
44 /** {@link SharedPreferences} key for whether or not the "no account" prompt should be shown. */
60 * Returns true if the "no account" prompt should be shown
63 * account type is not available from the {@link AccountManager}.
66 // TODO: Remove the filtering of account types once there is an API in
67 // {@link AccountManager} to show a similar account prompt
69 // for any type of account. Bug: 5375902
81 * Remember to never show the "no account" prompt again by saving this to
91 * Launch the "no account" prompt. (We assume the caller has already verified that the promp
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListFilterController.java 23 import com.android.contacts.common.model.account.AccountWithDataSet;
69 * an account is removed while the filter points to the account with
156 // The current account filter points to invalid account. Use "all" filter
165 * @return true if the Account for the current filter exists.
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
AccountTypeTest.java 17 package com.android.contacts.common.model.account;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java 41 public final class Account extends EmailContent implements AccountColumns, Parcelable {
42 public static final String TABLE_NAME = "Account";
44 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/account");
50 Uri.parse(EmailContent.CONTENT_NOTIFIER_URI + "/account");
52 Uri.parse(EmailContent.CONTENT_URI + "/account/default");
54 // Define all pseudo account IDs here to avoid conflict with one another.
56 * Pseudo account ID to represent a "combined account" that includes messages and mailboxes
63 * Pseudo account ID to represent "no account". This may be used any time the account I
481 Account account = Account.restoreAccountWithId(context, accountId); local
585 Account account = Account.restoreAccountWithId(context, accountId); local
693 Account account = Account.restoreAccountWithId(context, accountId); local
    [all...]
  /packages/apps/Email/src/com/android/email/service/
AttachmentDownloadService.java 40 import com.android.emailcommon.provider.Account;
86 // Limit on the number of simultaneous downloads per account
105 // A map of attachment storage used per account
107 // amount plus the size of any new attachments laoded). If and when we reach the per-account
123 * allows us to build a mock account manager stub in the unit tests
325 // Enforce per-account limit here
362 Account account = Account.restoreAccountWithId(mContext, accountKey); local
363 if (account == null)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
SimContacts.java 19 import android.accounts.Account;
72 private Account mAccount;
138 final Cursor cursor, final ContentResolver resolver, Account account) {
157 if (account != null) {
158 builder.withValue(RawContacts.ACCOUNT_NAME, account.name);
159 builder.withValue(RawContacts.ACCOUNT_TYPE, account.type);
227 mAccount = new Account(accountName, accountType);
  /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...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
StockSource.java 52 albumData.account = mStockPhotoName;
  /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...]
  /packages/apps/Browser/src/com/android/browser/
GoogleAccountLogin.java 19 import android.accounts.Account;
54 // Google account type
60 private final Account mAccount;
72 private GoogleAccountLogin(Activity activity, Account account,
75 mAccount = account;
222 // No account found?
223 Account[] accounts = getAccounts(activity);
248 private static Account[] getAccounts(Context ctx) {
  /packages/apps/Contacts/tests/src/com/android/contacts/editor/
ContactEditorUtilsTest.java 23 import com.android.contacts.common.model.account.AccountType;
24 import com.android.contacts.common.model.account.AccountWithDataSet;
119 // Use these account types here.
133 // 1 account
150 // account list should be empty in this case.
157 // Use these account types here.
184 // We show the notification here, and user clicked "add account"
187 // Now we open the contact editor with the new account.
189 // When closing the editor, we save the default account.
195 // User added a new writable account, ACCOUNT_1_B
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
SetupData.java 19 import com.android.emailcommon.provider.Account;
40 // either return to the caller (if we're in an account type flow) or go to the message list
55 private Account mAccount;
88 static public Account getAccount() {
92 static public void setAccount(Account mAccount) {
174 public static void init(int flowMode, Account account) {
178 data.mAccount = account;
186 mAccount = new Account();
  /packages/apps/Email/src/com/android/mail/utils/
LogUtils.java 121 // This assumes that the first path segment is the account
122 final String account = pathSegments.get(0); local
124 builder = builder.appendPath(String.valueOf(account.hashCode()));
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
ContactLoaderTest.java 34 import com.android.contacts.common.model.account.AccountType;
35 import com.android.contacts.common.model.account.AccountWithDataSet;
36 import com.android.contacts.common.model.account.BaseAccountType;
63 AccountWithDataSet account = local
68 new AccountType[]{accountType}, new AccountWithDataSet[]{account}));
  /packages/apps/Email/src/com/android/email/mail/store/
ImapStore.java 43 import com.android.emailcommon.provider.Account;
96 public static Store newInstance(Account account, Context context) throws MessagingException {
97 return new ImapStore(context, account);
101 * Creates a new store for the given account. Always use
102 * {@link #newInstance(Account, Context)} to create an IMAP store.
104 private ImapStore(Context context, Account account) throws MessagingException {
106 mAccount = account;
108 HostAuth recvAuth = account.getOrCreateHostAuthRecv(context)
    [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...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
RawContactReadOnlyEditorView.java 45 import com.android.contacts.common.model.account.AccountType;
46 import com.android.contacts.common.model.account.AccountWithDataSet;
75 void onExternalEditorRequest(AccountWithDataSet account, Uri uri);
  /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/chromium/net/tools/testserver/
chromiumsync.py 236 """Models the account state of one sync user."""
535 that actually exists (and is not deleted) in the current account state.
586 """Attempt to commit one entry to the user's account.
697 """An object to handle requests for one (and only one) Chrome Sync account.
705 # The implementation supports exactly one account; its state is here.
706 self.account = SyncDataModel()
746 response.store_birthday = self.account.store_birthday
752 # We accept any authentication token, and support only one account.
768 """Respond to a Commit request by updating the user's account state.
786 # Try to commit the change to the account
    [all...]
  /frameworks/base/test-runner/src/android/test/
IsolatedContext.java 27 import android.accounts.Account;
135 public Account[] getAccounts() {
136 return new Account[]{};
139 public AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures(
141 AccountManagerCallback<Account[]> callback, Handler handler) {
142 return new MockAccountManagerFuture<Account[]>(new Account[0]);
145 public String blockingGetAuthToken(Account account, String authTokenType,
  /packages/apps/Contacts/src/com/android/contacts/activities/
GroupDetailActivity.java 37 import com.android.contacts.common.model.account.AccountType;

Completed in 689 milliseconds

1 2 3 4 5 6 7 891011>>