HomeSort by relevance Sort by last modified time
    Searched full:accountmanager (Results 26 - 50 of 241) sorted by null

12 3 4 5 6 7 8 910

  /packages/apps/Contacts/src/com/android/contacts/util/
AccountPromptUtils.java 19 import android.accounts.AccountManager;
48 * The following intent keys are understood by the {@link AccountManager} and should not be
63 * account type is not available from the {@link AccountManager}.
67 // {@link AccountManager} to show a similar account prompt
68 // (see {@link AccountManager#addAccount()} in {@link #launchAccountPrompt()}
71 AccountManager.get(context).getAuthenticatorTypes();
99 AccountManager.get(activity).addAccount(GoogleAccountType.ACCOUNT_TYPE, null, null, options,
  /external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
SystemAccountManagerDelegate.java 8 import android.accounts.AccountManager;
27 private final AccountManager mAccountManager;
30 mAccountManager = AccountManager.get(context);
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
TestSyncAdapter.java 19 import android.accounts.AccountManager;
35 private final AccountManager mAccountManager;
42 mAccountManager = AccountManager.get(mContext);
  /external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
AuthenticationHelperImpl.java 73 private Object accountManager = null;
89 * @param accountManager -- an implementation of the AccountManager interface.
92 public AuthenticationHelperImpl(SipStackImpl sipStack, AccountManager accountManager,
94 this.accountManager = accountManager;
106 * @param accountManager -- an implementation of the AccountManager interface.
109 public AuthenticationHelperImpl(SipStackImpl sipStack, SecureAccountManager accountManager,
    [all...]
  /frameworks/base/services/java/com/android/server/accounts/
AccountAuthenticatorCache.java 19 import android.accounts.AccountManager;
51 super(context, AccountManager.ACTION_AUTHENTICATOR_INTENT,
52 AccountManager.AUTHENTICATOR_META_DATA_NAME,
53 AccountManager.AUTHENTICATOR_ATTRIBUTES_NAME, sSerializer);
  /packages/apps/Browser/src/com/android/browser/
DeviceAccountLogin.java 20 import android.accounts.AccountManager;
34 private final AccountManager mAccountManager;
56 mAccountManager = AccountManager.get(activity);
86 AccountManager.KEY_AUTHTOKEN);
GoogleAccountLogin.java 20 import android.accounts.AccountManager;
174 AccountManager am = AccountManager.get(mActivity);
182 // AccountManager callbacks.
187 AccountManager.KEY_AUTHTOKEN);
196 AccountManager.get(mActivity).getAuthToken(
244 AccountManager.get(mActivity).getAuthToken(
249 return AccountManager.get(ctx).getAccountsByType(GOOGLE);
AccountsChangedReceiver.java 19 import android.accounts.AccountManager;
54 Account[] accounts = AccountManager.get(mContext).getAccounts();
  /packages/apps/Email/tests/src/com/android/email/
AccountTestCase.java 19 import android.accounts.AccountManager;
49 return AccountManager.get(getContext()).getAccountsByType(TEST_ACCOUNT_TYPE);
58 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null);
86 AccountManager.get(getContext()).removeAccount(account, null, null);
  /frameworks/base/docs/html/sdk/api_diff/14/changes/
android.accounts.AccountManager.html 10 android.accounts.AccountManager
74 Class android.accounts.<A HREF="../../../../reference/android/accounts/AccountManager.html" target="_top"><font size="+2"><code>AccountManager</code></font></A>
86 <A NAME="android.accounts.AccountManager.getAuthToken_added(android.accounts.Account, java.lang.String, android.os.Bundle, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler)"></A>
87 <nobr><code>AccountManagerFuture&lt;Bundle&gt;</code>&nbsp;<A HREF="../../../../reference/android/accounts/AccountManager.html#getAuthToken(android.accounts.Account, java.lang.String, android.os.Bundle, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler)" target="_top"><code>getAuthToken</code></A>(<code>Account,</nobr> String<nobr>,</nobr> Bundle<nobr>,</nobr> boolean<nobr>,</nobr> AccountManagerCallback&lt;Bundle&gt;<nobr>,</nobr> Handler<nobr><nobr></code>)</nobr>
93 <A NAME="android.accounts.AccountManager.newChooseAccountIntent_added(android.accounts.Account, java.util.ArrayList<android.accounts.Account>, java.lang.String[], boolean, java.lang.String, java.lang.String, java.lang.String[], android.os.Bundle)"></A>
94 <nobr><code>Intent</code>&nbsp;<A HREF="../../../../reference/android/accounts/AccountManager.html#newChooseAccountIntent(android.accounts.Account, java.util.ArrayList<android.accounts.Account>, java.lang.String[], boolean, java.lang.String, java.lang.String, java.lang.String[], android.os.Bundle)" target="_top"><code>newChooseAccountIntent</code></A>(<code>Account,</nobr> ArrayList&lt;Account&gt;<nobr>,</nobr> String[]<nobr>,</nobr> boolean<nobr>,</nobr> String<nobr>,</nobr> String<nobr>,</nobr> String[]<nobr>,</nobr> Bundle<nobr><nobr></code>)</nobr>
108 <A NAME="android.accounts.AccountManager.getAuthToken_changed(android.accounts.Account, java.lang.String, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler)"></A>
109 <nobr><code>AccountManagerFuture&lt;Bundle&gt;</code>&nbsp;<A HREF="../../../../reference/android/accounts/AccountManager.html#getAuthToken(android.accounts.Account, java.lang.String, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler)" target="_top"><code>getAuthToken</code></A>(<code>Account,</nobr> String<nobr>,</nobr> boolean<nobr>,</nobr> AccountManagerCallback&lt;Bundle&gt;<nobr>,</nobr> Handler<nobr><nobr></code>) </nobr>
127 <A NAME="android.accounts.AccountManager.KEY_ANDROID_PACKAGE_NAME"></A
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
AccountUtils.java 20 import android.accounts.AccountManager;
34 return AccountManager.get(context).getAccounts();
  /external/nist-sip/java/gov/nist/javax/sip/
SipStackExt.java 4 import gov.nist.javax.sip.clientauthutils.AccountManager;
58 * @param accountManager -- account manager (for fetching credentials).
66 public AuthenticationHelper getAuthenticationHelper(AccountManager accountManager,
73 * @param accountManager -- account manager (for fetching credentials).
81 public AuthenticationHelper getSecureAuthenticationHelper(SecureAccountManager accountManager,
  /frameworks/base/core/java/android/accounts/
GrantCredentialsPermissionActivity.java 114 AccountManager.get(this).getAuthTokenLabel(mAccount.type, mAuthTokenType, callback, null);
137 AccountManager.get(this).getAuthenticatorTypes();
162 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, true);
170 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, false);
182 * Sends the result or a {@link AccountManager#ERROR_CODE_CANCELED} error if a
193 response.onError(AccountManager.ERROR_CODE_CANCELED, "canceled");
AccountAuthenticatorResponse.java 26 * Object used to communicate responses back to the AccountManager
49 + AccountManager.sanitizeResult(result));
  /frameworks/base/docs/html/sdk/api_diff/18/changes/
android.accounts.AccountManager.html 10 android.accounts.AccountManager
74 Class android.accounts.<A HREF="../../../../reference/android/accounts/AccountManager.html" target="_top"><font size="+2"><code>AccountManager</code></font></A>
86 <A NAME="android.accounts.AccountManager.getAccountsByTypeForPackage_added(java.lang.String, java.lang.String)"></A>
87 <nobr><code>Account[]</code>&nbsp;<A HREF="../../../../reference/android/accounts/AccountManager.html#getAccountsByTypeForPackage(java.lang.String, java.lang.String)" target="_top"><code>getAccountsByTypeForPackage</code></A>(<code>String,</nobr> String<nobr><nobr></code>)</nobr>
102 <A NAME="android.accounts.AccountManager.ERROR_CODE_BAD_AUTHENTICATION"></A>
103 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/accounts/AccountManager.html#ERROR_CODE_BAD_AUTHENTICATION" target="_top"><code>ERROR_CODE_BAD_AUTHENTICATION</code></A></nobr>
  /packages/apps/Exchange/tests/src/com/android/exchange/
CalendarSyncEnablerTest.java 20 import android.accounts.AccountManager;
61 for (Account account : AccountManager.get(getContext()).getAccounts()) {
160 for (Account account : AccountManager.get(getContext()).getAccounts()) {
181 if (AccountManager.get(getContext()).getAccountsByType(EAT).length > 0) {
210 return AccountManager.get(getContext()).getAccountsByType(EAT);
219 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null);
251 AccountManager.get(getContext()).removeAccount(account, null, null);
  /cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java 20 import android.accounts.AccountManager;
87 private static AccountManager am;
107 am = AccountManager.get(getContext());
125 assertEquals(ACCOUNT_NAME, result.get(AccountManager.KEY_ACCOUNT_NAME));
126 assertEquals(ACCOUNT_TYPE, result.get(AccountManager.KEY_ACCOUNT_TYPE));
127 assertEquals(AUTH_TOKEN, result.get(AccountManager.KEY_AUTHTOKEN));
131 assertEquals(ACCOUNT_NAME, result.get(AccountManager.KEY_ACCOUNT_NAME));
132 assertEquals(ACCOUNT_TYPE, result.get(AccountManager.KEY_ACCOUNT_TYPE));
133 assertNull(result.get(AccountManager.KEY_AUTHTOKEN));
137 assertNull(resultBundle.get(AccountManager.KEY_ACCOUNT_NAME))
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorTest.java 3 import android.accounts.AccountManager;
39 AccountManager.get(context);
212 @Implements(AccountManager.class)
217 public static AccountManager get(Context context) {
220 return mock(AccountManager.class);
  /frameworks/base/docs/html/sdk/api_diff/8/changes/
android.accounts.AccountManager.html 10 android.accounts.AccountManager
74 Class android.accounts.<A HREF="../../../../reference/android/accounts/AccountManager.html" target="_top"><font size="+2"><code>AccountManager</code></font></A>
86 <A NAME="android.accounts.AccountManager.hasFeatures_added(android.accounts.Account, java.lang.String[], android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler)"></A>
87 <nobr><code>AccountManagerFuture&lt;Boolean&gt;</code>&nbsp;<A HREF="../../../../reference/android/accounts/AccountManager.html#hasFeatures(android.accounts.Account, java.lang.String[], android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler)" target="_top"><code>hasFeatures</code></A>(<code>Account,</nobr> String[]<nobr>,</nobr> AccountManagerCallback&lt;Boolean&gt;<nobr>,</nobr> Handler<nobr><nobr></code>)</nobr>
  /external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
MockAccountManager.java 8 import android.accounts.AccountManager;
48 * The MockAccountManager helps out if you want to mock out all calls to the Android AccountManager.
176 String password = bundle.getString(AccountManager.KEY_PASSWORD);
187 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountHolder.getAccount().name);
189 AccountManager.KEY_ACCOUNT_TYPE, AccountManagerHelper.GOOGLE_ACCOUNT_TYPE);
190 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, correctPassword);
251 result.putParcelable(AccountManager.KEY_INTENT, intent);
260 result.putString(AccountManager.KEY_AUTHTOKEN, authToken);
261 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
262 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarSettingsActivity.java 20 import android.accounts.AccountManager;
46 Account[] accounts = AccountManager.get(this).getAccounts();
124 Account[] accounts = AccountManager.get(CalendarSettingsActivity.this).getAccounts();
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
IntentHelper.java 8 import android.accounts.AccountManager;
50 Account[] accounts = AccountManager.get(context).getAccounts();
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardPatternView.java 19 import android.accounts.AccountManager;
292 AccountAnalyzer accountAnalyzer = new AccountAnalyzer(AccountManager.get(context));
297 private final AccountManager mAccountManager;
301 private AccountAnalyzer(AccountManager accountManager) {
302 mAccountManager = accountManager;
303 mAccounts = accountManager.getAccountsByTypeAsUser("com.google",
328 if (result.getParcelable(AccountManager.KEY_INTENT) != null) {
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
Chromoting.java 8 import android.accounts.AccountManager;
113 AccountManager.get(this).getAuthToken(mAccount, TOKEN_SCOPE, null, this,
121 AccountManager.get(this).getAuthTokenByFeatures(
148 Account[] usableAccounts = AccountManager.get(this).getAccountsByType(ACCOUNT_TYPE);
171 AccountManager.get(this).getAuthTokenByFeatures(
184 AccountManager.get(this).getAuthToken(mAccount, TOKEN_SCOPE, null, this,
219 String accountName = result.getString(AccountManager.KEY_ACCOUNT_NAME);
220 String accountType = result.getString(AccountManager.KEY_ACCOUNT_TYPE);
221 String authToken = result.getString(AccountManager.KEY_AUTHTOKEN);
269 AccountManager authenticator = AccountManager.get(mUi)
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AddAccountSettings.java 19 import android.accounts.AccountManager;
44 * account setup specified by AccountManager.
85 Intent intent = (Intent) bundle.get(AccountManager.KEY_INTENT);
190 AccountManager.get(this).addAccount(

Completed in 4839 milliseconds

12 3 4 5 6 7 8 910