HomeSort by relevance Sort by last modified time
    Searched refs:accountManager (Results 1 - 19 of 19) sorted by null

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
AccountManagerTest.java 17 import android.accounts.AccountManager;
27 private AccountManager accountManager;
36 accountManager = AccountManager.get(activity);
37 accountManager.invalidateAuthToken(null, null);
46 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null);
56 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null);
66 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null);
76 accountManager.invalidateAuthToken(accountType, null)
    [all...]
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
SyncUtils.java 20 import android.accounts.AccountManager;
37 AccountManager accountManager =
38 (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE);
39 if (!accountManager.addAccountExplicitly(account, null, null)) {
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncUtils.java 20 import android.accounts.AccountManager;
54 AccountManager accountManager =
55 (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE);
56 if (accountManager.addAccountExplicitly(account, null, null)) {
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncUtils.java 20 import android.accounts.AccountManager;
54 AccountManager accountManager =
55 (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE);
56 if (accountManager.addAccountExplicitly(account, null, null)) {
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
SyncUtils.java 20 import android.accounts.AccountManager;
54 AccountManager accountManager =
55 (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE);
56 if (accountManager.addAccountExplicitly(account, null, null)) {
  /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,
SipStackImpl.java 33 import gov.nist.javax.sip.clientauthutils.AccountManager;
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
AndroidAuthenticator.java 22 import android.accounts.AccountManager;
29 * An Authenticator that uses {@link AccountManager} to get auth
33 private final AccountManager mAccountManager;
40 * @param context Context for accessing AccountManager
42 * @param authTokenType Auth token type passed to AccountManager
50 * @param context Context for accessing AccountManager
52 * @param authTokenType Auth token type passed to AccountManager
57 this(AccountManager.get(context), account, authTokenType, notifyAuthFailure);
60 // Visible for testing. Allows injection of a mock AccountManager.
61 AndroidAuthenticator(AccountManager accountManager, Account account
    [all...]
  /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...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
SelectAccountDialogFragment.java 20 import android.accounts.AccountManager;
46 AccountManager accountManager = AccountManager.get(getActivity());
47 Account[] accounts = accountManager.getAccounts();
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
Utils.java 29 import android.accounts.AccountManager;
501 AccountManager accountManager =
502 (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE);
503 AccountManagerFuture<Bundle> bundle = accountManager.removeAccount(account,
506 if (bundle.getResult().getBoolean(AccountManager.KEY_BOOLEAN_RESULT, false)) {
510 AccountManager.KEY_INTENT);
548 AccountManager accountManager =
549 (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE)
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
SuggestionParser.java 30 import android.accounts.AccountManager;
161 AccountManager accountManager = AccountManager.get(mContext);
162 Account[] accounts = accountManager.getAccountsByType(requiredAccountType);
  /frameworks/base/core/java/android/accounts/
ChooseTypeAndAccountActivity.java 67 * This is passed as the addAccountOptions parameter in AccountManager.addAccount()
73 * This is passed as the requiredFeatures parameter in AccountManager.addAccount()
80 * This is passed as the authTokenType string in AccountManager.addAccount()
193 mAccounts = getAcceptableAccountChoices(AccountManager.get(this));
306 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
319 accountName = data.getStringExtra(AccountManager.KEY_ACCOUNT_NAME);
320 accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
324 Account[] currentAccounts = AccountManager.get(this).getAccountsForPackage(
364 AccountManager.get(this).addAccount(type, authTokenType, requiredFeatures,
373 AccountManager.KEY_INTENT)
    [all...]
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipHelper.java 20 import gov.nist.javax.sip.clientauthutils.AccountManager;
256 AccountManager accountManager) throws SipException {
259 accountManager, mHeaderFactory);
  /packages/apps/Email/provider_src/com/android/email/provider/
DBHelper.java 19 import android.accounts.AccountManager;
115 // Version 4: Database wipe required; changing AccountManager interface w/Exchange
116 // Version 5: Database wipe required; changing AccountManager interface w/Exchange
136 // Version 22: Upgrade path for IMAP/POP accounts to integrate with AccountManager
192 // Version 4: Database wipe required; changing AccountManager interface w/Exchange
193 // Version 5: Database wipe required; changing AccountManager interface w/Exchange
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java 21 import android.accounts.AccountManager;
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 
android-all-4.1.2_r1-robolectric-0.jar 

Completed in 384 milliseconds