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

  /external/robolectric/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/gradle/BasicSyncAdapter/BasicSyncAdapterSample/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/BasicSyncAdapterSample/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/com/android/volley/toolbox/
AndroidAuthenticator.java 22 import android.accounts.AccountManager;
29 * An Authenticator that uses {@link AccountManager} to get auth
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
72 final AccountManager accountManager = AccountManager.get(mContext);
73 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount
    [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();
  /external/smack/src/org/jivesoftware/smack/
Connection.java.orig 166 * The AccountManager allows creation and management of accounts on an XMPP server.
168 private AccountManager accountManager = null;
426 public AccountManager getAccountManager() {
427 if (accountManager == null) {
428 accountManager = new AccountManager(this);
430 return accountManager;
    [all...]
Connection.java 166 * The AccountManager allows creation and management of accounts on an XMPP server.
168 private AccountManager accountManager = null;
426 public AccountManager getAccountManager() {
427 if (accountManager == null) {
428 accountManager = new AccountManager(this);
430 return accountManager;
    [all...]
  /external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
AccountManagerHelper.java 9 import android.accounts.AccountManager;
35 * AccountManagerHelper wraps our access of AccountManager in Android.
57 * Invoked on the UI thread once a token has been provided by the AccountManager.
66 * @param accountManager the account manager to use as a backend service
69 AccountManagerDelegate accountManager) {
71 mAccountManager = accountManager;
77 * It is possible to override the AccountManager to use in tests for the instance of the
96 AccountManagerDelegate accountManager) {
98 sAccountManagerHelper = new AccountManagerHelper(context, accountManager);
223 if (result.containsKey(AccountManager.KEY_INTENT))
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardPatternView.java 19 import android.accounts.AccountManager;
294 AccountAnalyzer accountAnalyzer = new AccountAnalyzer(AccountManager.get(context));
299 private final AccountManager mAccountManager;
303 private AccountAnalyzer(AccountManager accountManager) {
304 mAccountManager = accountManager;
305 mAccounts = accountManager.getAccountsByTypeAsUser("com.google",
330 if (result.getParcelable(AccountManager.KEY_INTENT) != null) {
  /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()
196 mAccounts = getAcceptableAccountChoices(AccountManager.get(this));
211 final AccountManager accountManager = AccountManager.get(this);
213 mAccounts = getAcceptableAccountChoices(accountManager);
323 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
336 accountName = data.getStringExtra(AccountManager.KEY_ACCOUNT_NAME)
    [all...]
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/
SyncTestUtil.java 290 public static Account setupTestAccount(MockAccountManager accountManager, String accountName,
301 accountManager.addAccountHolderExplicitly(accountHolder.build());
  /frameworks/base/services/java/com/android/server/
SystemServer.java 128 AccountManagerService accountManager = null;
260 // The AccountManager must come before the ContentService
264 accountManager = new AccountManagerService(context);
265 ServiceManager.addService(Context.ACCOUNT_SERVICE, accountManager);
557 if (accountManager != null)
558 accountManager.systemReady();
    [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/src/com/android/email/provider/
DBHelper.java 19 import android.accounts.AccountManager;
99 // Version 4: Database wipe required; changing AccountManager interface w/Exchange
100 // Version 5: Database wipe required; changing AccountManager interface w/Exchange
120 // Version 22: Upgrade path for IMAP/POP accounts to integrate with AccountManager
172 // Version 4: Database wipe required; changing AccountManager interface w/Exchange
173 // Version 5: Database wipe required; changing AccountManager interface w/Exchange
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java 20 import android.accounts.AccountManager;
    [all...]

Completed in 1166 milliseconds