HomeSort by relevance Sort by last modified time
    Searched refs:account (Results 51 - 75 of 541) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AccountItemView.java 31 import com.android.mail.providers.Account;
34 * The view for each account in the folder list/drawer.
64 * Sets the account name and draws the unread count. Depending on the account state (current or
68 * @param account account whose name will be displayed
69 * @param isCurrentAccount true if the account is the one in use, false otherwise
71 public void bind(final Context context, final Account account, final boolean isCurrentAccount,
73 if (!TextUtils.isEmpty(account.getSenderName()))
    [all...]
ConversationListHelper.java 24 import com.android.mail.providers.Account;
35 final Context context, final ControllableActivity activity, final Account account) {
42 conversationSyncDisabledTipView.bindAccount(account, activity);
47 conversationsInOutboxTipView.bind(account, activity.getFolderSelector());
60 nestedFolderTeaserView.bind(account, activity.getFolderSelector());
SuppressNotificationReceiver.java 20 import com.android.mail.providers.Account;
52 final Account account = controller.getCurrentAccount(); local
62 if (account != null) {
63 mMimeType = account.mimeType;
70 // If the current account is null, still register the receiver. This allows the
102 * Returns a boolean indicating whether notifications are suppressed for the specified account.
104 public boolean notificationsDisabledForAccount(Account account) {
105 return mContext != null && TextUtils.equals(account.mimeType, mMimeType)
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
AndroidAuthenticator.java 21 import android.accounts.Account;
30 * tokens of a specified type for a specified account.
34 private final Account mAccount;
41 * @param account Account to authenticate as
44 public AndroidAuthenticator(Context context, Account account, String authTokenType) {
45 this(context, account, authTokenType, false);
51 * @param account Account to authenticate a
    [all...]
  /cts/tests/tests/accounts/common/src/android/accounts/cts/common/
TestAccountAuthenticator.java 20 import android.accounts.Account;
112 Account account,
114 if (!mAccountType.equals(account.type)) {
119 new ConfirmCredentialsTx(account, options, result));
123 if (account.name.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) {
126 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
127 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
128 } else if (account.name.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) {
132 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photo/
MailPhotoViewActivity.java 47 * @param account The email address of the account.
48 * @param accountType The type of the account.
52 public static void startMailPhotoViewActivity(final Context context, final String account,
62 context.startActivity(wrapIntent(builder.build(), account, accountType, msg)); local
70 public static void startMailPhotoViewActivity(final Context context, final String account,
73 buildMailPhotoViewActivityIntent(context, account, accountType, msg,
78 final Context context, final String account, final String accountType,
87 return wrapIntent(builder.build(), account, accountType, msg);
91 final Intent intent, final String account, final String accountType
    [all...]
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
SendersFormattingTests.java 24 import com.android.mail.providers.Account;
50 final Account account = createAccount(); local
51 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); local
62 final Account account = createAccount(); local
63 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); local
75 final Account account = createAccount(); local
76 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false) local
90 final Account account = createAccount(); local
91 SendersView.format(getContext(), conv, "", 100, strings, null, null, account, false, false); local
138 final Account account = createAccount(); local
140 senderAvatarModel, account, false, false); local
158 final Account account = createAccount(); local
160 senderAvatarModel, account, false, false); local
178 final Account account = createAccount(); local
180 senderAvatarModel, account, false, false); local
198 final Account account = createAccount(); local
200 senderAvatarModel, account, false, false); local
219 final Account account = createAccount(); local
221 senderAvatarModel, account, false, false); local
238 final Account account = createAccount(); local
240 senderAvatarModel, account, false, false); local
261 final Account account = createAccount(); local
263 senderAvatarModel, account, false, false); local
    [all...]
  /frameworks/base/core/java/android/accounts/
AbstractAccountAuthenticator.java 49 * <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
60 * corresponds to {@link Account#type} for your accounts. One user of the android:icon is the
61 * "Account & Sync" settings page and one user of the android:smallIcon is the Contact Application's
122 * Bundle key used for the {@link String} account type in session bundle.
143 * Bundle key used for the {@link Account} account in session bundle. This is used
186 Account account, Bundle options) throws RemoteException {
188 Log.v(TAG, "confirmCredentials: " + account);
193 new AccountAuthenticatorResponse(response), account, options)
938 Account account = sessionBundle.getParcelable(KEY_ACCOUNT); 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...]
  /frameworks/base/telecomm/java/android/telecom/
AuthenticatorService.java 19 import android.accounts.Account;
29 * A generic stub account authenticator service often used for sync adapters that do not directly
48 * Stub account authenticator. All methods either return null or throw an exception.
70 Account account, Bundle bundle)
77 Account account, String s, Bundle bundle)
89 Account account, String s, Bundle bundle)
96 Account account, String[] strings
    [all...]
  /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);
  /packages/apps/Email/provider_src/com/android/email/mail/store/
ServiceStore.java 26 import com.android.emailcommon.provider.Account;
39 * Creates a new store for the given account.
41 public ServiceStore(Account account, Context context) throws MessagingException {
43 mHostAuth = account.getOrCreateHostAuthRecv(mContext);
49 public static Store newInstance(Account account, Context context) throws MessagingException {
50 return new ServiceStore(account, context);
61 * @throws MessagingException if we can't authenticate the account
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
AuthUtils.java 19 import android.accounts.Account;
50 * Account, String, Bundle, boolean, AccountManagerCallback, Handler)
52 public AccountManagerFuture<Bundle> getAuthToken(final Account account,
55 return mAccountManager.getAuthToken(account, authTokenType, options, notifyAuthFailure,
60 * @see AccountManager#blockingGetAuthToken(Account, String, boolean)
62 public String blockingGetAuthToken(final Account account, final String authTokenType,
65 return mAccountManager.blockingGetAuthToken(account, authTokenType, notifyAuthFailure);
  /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...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
ReplyFromAccount.java 45 public Account account; field in class:ReplyFromAccount
53 public ReplyFromAccount(Account account, Uri baseAccountUri, String address, String name,
55 this.account = account;
74 LogUtils.wtf(LOG_TAG, e, "Could not serialize account with address " + address);
79 public static ReplyFromAccount deserialize(Account account, JSONObject json) {
88 replyFromAccount = new ReplyFromAccount(account, uri, addressString, nameString
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
MailPreferenceActivity.java 31 import com.android.mail.providers.Account;
110 final Account account = Account.builder().buildFrom(mAccountsCursor); local
112 if (!account.supportsCapability(AccountCapabilities.VIRTUAL_ACCOUNT)) {
114 if (TextUtils.isEmpty(account.getDisplayName()) ||
115 TextUtils.equals(account.getDisplayName(), account.getEmailAddress())) {
117 header.title = account.getEmailAddress();
119 header.title = account.getDisplayName()
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
AccountSyncFragment.java 19 import android.accounts.Account;
53 private static final String ARG_ACCOUNT = "account";
60 private Account mAccount;
79 public static AccountSyncFragment newInstance(Account account) {
81 prepareArgs(b, account);
87 public static void prepareArgs(Bundle b, Account account) {
88 b.putParcelable(ARG_ACCOUNT, account);
100 Log.e(TAG, "Account provided does not exist: " + mAccount)
155 Account account = syncPref.getAccount(); local
293 Account account = syncPref.getAccount(); local
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/
Store.java 30 import com.android.emailcommon.provider.Account;
41 * Store is the legacy equivalent of the Account class
53 protected Account mAccount;
65 static Store newInstance(Account account) throws MessagingException {
67 + account.mDisplayName);
71 * Get an instance of a mail store for the given account. The account must be valid (i.e. has
74 * NOTE: The internal algorithm used to find a cached store depends upon the account's
79 * @param account The account of the store
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/internet/
AuthenticationCache.java 10 import com.android.emailcommon.provider.Account;
60 // Gets an access token for the given account. This may be whatever is currently cached, or
62 public String retrieveAccessToken(Context context, Account account) throws
69 entry = getEntry(context, account);
83 public String refreshAccessToken(Context context, Account account) throws
85 CacheEntry entry = getEntry(context, account);
92 private CacheEntry getEntry(Context context, Account account) {
144 final Account account = Account.restoreAccountWithId(context, entry.mAccountId); local
    [all...]
  /external/robolectric/v1/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...]
  /frameworks/base/core/java/android/content/
AbstractThreadedSyncAdapter.java 19 import android.accounts.Account;
41 * cancelled via {@link ContentResolver#cancelSync(Account, String)} or
45 * your code in {@link #onPerformSync(Account, Bundle, String, ContentProviderClient, SyncResult)}
78 * indicate which content authority and for which account types this sync adapter serves.
89 * it sync an account's data.
91 * to intialize the isSyncable state to 1 for that sync adapter for each account that is added.
110 private final HashMap<Account, SyncThread> mSyncThreads = new HashMap<Account, SyncThread>();
122 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it
135 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if i
    [all...]
  /cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
TestAuthenticator.java 19 import android.accounts.Account;
63 // Create an account whose name is:
73 Log.v(TAG, "Adding account '" + name + "' for " + accountType
81 new Account(name, accountType), "password", new Bundle());
92 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account,
98 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account,
104 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account,
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
DefaultAccountPreference.java 25 import com.android.contacts.common.model.account.AccountType;
26 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
27 import com.android.contacts.common.model.account.AccountWithDataSet;
53 for (AccountWithDataSet account : accounts) {
54 mAccountMap.put(account.name, account);
  /packages/apps/Email/provider_src/com/android/email/service/
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...]

Completed in 1109 milliseconds

1 23 4 5 6 7 8 91011>>