HomeSort by relevance Sort by last modified time
    Searched refs:account (Results 1 - 25 of 580) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/accounts/
AccountAndUser.java 20 * Used to store the Account and the UserId this account is associated with.
25 public Account account; field in class:AccountAndUser
28 public AccountAndUser(Account account, int userId) {
29 this.account = account;
37 return this.account.equals(other.account)
    [all...]
IAccountAuthenticator.aidl 20 import android.accounts.Account;
29 * prompts the user for account information and adds the result to the IAccountManager
35 * prompts the user for the credentials of the account
37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account,
43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account,
54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account,
63 * returns a Bundle where the boolean value BOOLEAN_RESULT_KEY is set if the account has th
    [all...]
IAccountManager.aidl 20 import android.accounts.Account;
26 * Central application service that provides account management.
30 String getPassword(in Account account);
31 String getUserData(in Account account, String key);
33 Account[] getAccounts(String accountType);
34 Account[] getAccountsForPackage(String packageName, int uid);
35 Account[] getAccountsByTypeForPackage(String type, String packageName);
36 Account[] getAccountsAsUser(String accountType, int userId)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
RecipientAdapter.java 21 import android.accounts.Account;
30 * Set the account when known. Causes the search to prioritize contacts from
31 * that account.
33 public void setAccount(Account account) {
34 if (account != null) {
35 // TODO: figure out how to infer the contacts account
36 // type from the email account
37 super.setAccount(new android.accounts.Account(account.name, "unknown"))
    [all...]
  /external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
SyncStatusHelper.java 7 import android.accounts.Account;
35 * In-memory holder of the sync configurations for a given account. On each
36 * access, updates the cache if the account has changed. This lazy-updating
37 * model is appropriate as the account changes rarely but may not be known
38 * when initially constructed. So long as we keep a single account, no
46 private Account mAccount;
57 private void ensureSettingsAreForAccount(Account account) {
58 assert account != null;
59 if (account.equals(mAccount)) return
    [all...]
SyncContentResolverDelegate.java 8 import android.accounts.Account;
26 void setSyncAutomatically(Account account, String authority, boolean sync);
28 boolean getSyncAutomatically(Account account, String authority);
30 void setIsSyncable(Account account, String authority, int syncable);
32 int getIsSyncable(Account account, String authority);
SystemSyncContentResolverDelegate.java 8 import android.accounts.Account;
35 public boolean getSyncAutomatically(Account account, String authority) {
36 return ContentResolver.getSyncAutomatically(account, authority);
40 public void setSyncAutomatically(Account account, String authority, boolean sync) {
41 ContentResolver.setSyncAutomatically(account, authority, sync);
45 public void setIsSyncable(Account account, String authority, int syncable) {
46 ContentResolver.setIsSyncable(account, authority, syncable)
    [all...]
  /frameworks/base/core/java/android/content/
IContentService.aidl 19 import android.accounts.Account;
58 void requestSync(in Account account, String authority, in Bundle extras);
64 void cancelSync(in Account account, String authority, in ComponentName cname);
65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId);
75 boolean getSyncAutomatically(in Account account, String providerName);
76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId)
    [all...]
SyncInfo.java 19 import android.accounts.Account;
31 * The {@link Account} that is currently being synced.
33 public final Account account; field in class:SyncInfo
48 public SyncInfo(int authorityId, Account account, String authority, long startTime) {
50 this.account = account;
58 this.account = new Account(other.account.name, other.account.type)
    [all...]
PeriodicSync.java 22 import android.accounts.Account;
28 /** The account to be synced. Can be null. */
29 public final Account account; field in class:PeriodicSync
45 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) {
46 this.account = account;
63 this.account = other.account;
    [all...]
ISyncAdapter.aidl 19 import android.accounts.Account;
29 * Initiate a sync for this account. SyncAdapter-specific parameters may
35 * @param account the account that should be synced
39 in Account account, in Bundle extras);
49 * Initialize the SyncAdapter for this account and authority.
51 * @param account the account that should be synced
54 void initialize(in Account account, String authority)
    [all...]
  /frameworks/opt/chips/src/com/android/ex/chips/
AccountSpecifier.java 19 import android.accounts.Account;
23 * that can take an account to retrieve information tied to
24 * a specific account.
27 public void setAccount(Account account);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
PhoneAccountUtils.java 32 * Generate account info from data in Telecomm database
44 * Generate account icon from data in Telecomm database
47 final PhoneAccount account = getAccountOrNull(context, phoneAccount); local
48 if (account == null) {
51 return account.getIcon(context);
55 * Generate account label from data in Telecomm database
58 final PhoneAccount account = getAccountOrNull(context, phoneAccount); local
59 if (account == null) {
62 return account.getLabel().toString();
66 * Retrieve the account metadata, but if the account does not exist or the device has only
73 final PhoneAccount account = telecomManager.getPhoneAccount(phoneAccount); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
RecipientAdapter.java 19 import com.android.mail.providers.Account;
24 public RecipientAdapter(Context context, Account account) {
26 setAccount(account.getAccountManagerAccount());
  /packages/apps/Email/src/com/android/email/mail/
Sender.java 25 import com.android.emailcommon.provider.Account;
40 public static Sender newInstance(Account account) throws MessagingException {
42 + account.mDisplayName);
45 private static Sender instantiateSender(Context context, String className, Account account)
52 c.getMethod("newInstance", Account.class, Context.class);
53 o = m.invoke(null, account, context);
56 "exception %s invoking method %s#newInstance(Account, Context) for %s",
57 e.toString(), className, account.mDisplayName))
    [all...]
  /external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
SystemAccountManagerDelegate.java 7 import android.accounts.Account;
23 * Android account manager.
34 public Account[] getAccountsByType(String type) {
39 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType,
41 return mAccountManager.getAuthToken(account, authTokenType, null, notifyAuthFailure,
46 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType,
49 return mAccountManager.getAuthToken(account, authTokenType, options, activity, callback,
59 public String blockingGetAuthToken(Account account, String authTokenType
    [all...]
AccountManagerDelegate.java 7 import android.accounts.Account;
20 * Wrapper around the Android account manager, to facilitate dependency injection during testing.
23 Account[] getAccountsByType(String type);
25 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType,
28 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options,
33 String blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure)
36 Account[] getAccounts()
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/
ConversationListContext.java 24 import com.android.mail.providers.Account;
48 * The account for whom we are showing a list
50 public final Account account; field in class:ConversationListContext
61 sUrlMatcher.addURI(UIProvider.AUTHORITY, "account/*/folder/*", 0);
68 // The account is created here as a new object. This is probably not the best thing to do.
69 // We should probably be reading an account instance from our controller.
70 Account account = bundle.getParcelable(Utils.EXTRA_ACCOUNT); local
72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder)
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
TestAuthenticator.java 20 import android.accounts.Account;
30 * Simple authenticator. It has no "login" dialogs/activities. When you add a new account, it'll
31 * just create a new account with a unique name.
59 * Create a new account with the name generated by {@link #newUniqueUserName()}.
67 final Account account = new Account(newUniqueUserName(), accountType); local
69 // Create an account.
70 AccountManager.get(mContext).addAccountExplicitly(account, PASSWORD, null);
73 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name)
    [all...]
  /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...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportRequest.java 18 import android.accounts.Account;
35 * Can be null (typically when there's no Account available in the system).
37 public final Account account; field in class:ImportRequest
98 public ImportRequest(Account account,
101 this.account = account;
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
InlineAttachmentViewIntentBuilderCreator.java 20 import com.android.mail.providers.Account;
29 Account account, long conversationId);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
TestUtil.java 19 import android.accounts.Account;
30 public static final Account ACCOUNT_1 = new Account("account_name_1", "account_type_1");
31 public static final Account ACCOUNT_2 = new Account("account_name_2", "account_type_2");
44 public static Uri maybeAddAccountQueryParameters(Uri uri, Account account) {
45 if (account == null) {
49 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_NAME, account.name)
50 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AccountTest.java 3 import android.accounts.Account;
18 Account account = new Account("name", "type"); local
20 assertThat(account.name, equalTo("name"));
21 assertThat(account.type, equalTo("type"));
32 Account account = new Account(p); local
33 assertThat(account.name, equalTo("name"))
61 Account account = new Account("name", "type"); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photo/
MailPhotoViewActivity.java 46 public static void startMailPhotoViewActivity(final Context context, final String account,
56 context.startActivity(wrapIntent(builder.build(), account, msg)); local
64 public static void startMailPhotoViewActivity(final Context context, final String account,
67 buildMailPhotoViewActivityIntent(context, account, msg, initialPhotoUri));
71 final Context context, final String account, final ConversationMessage msg,
80 return wrapIntent(builder.build(), account, msg);
84 final Intent intent, final String account, final ConversationMessage msg) {
86 intent.putExtra(EXTRA_ACCOUNT, account);

Completed in 1024 milliseconds

1 2 3 4 5 6 7 8 91011>>