Home
last modified time | relevance | path

Searched refs:mAccountManager (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
DAuthUtils.java35 private final AccountManager mAccountManager; field in AuthUtils
38 mAccountManager = AccountManager.get(context); in AuthUtils()
45 mAccountManager.invalidateAuthToken(accountType, authToken); in invalidateAuthToken()
55 return mAccountManager.getAuthToken(account, authTokenType, options, notifyAuthFailure, in getAuthToken()
65 return mAccountManager.blockingGetAuthToken(account, authTokenType, notifyAuthFailure); in blockingGetAuthToken()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainSettings.java39 private AccountManager mAccountManager; field in MainSettings
52 mAccountManager = AccountManager.get(this); in onCreate()
62 mAccountManager.addOnAccountsUpdatedListener(this, null, true); in onStart()
89 mAccountManager.removeOnAccountsUpdatedListener(this); in onStop()
97 mAccountManager.removeOnAccountsUpdatedListener(this); in onDestroy()
/packages/apps/Browser/src/com/android/browser/
DDeviceAccountLogin.java34 private final AccountManager mAccountManager; field in DeviceAccountLogin
56 mAccountManager = AccountManager.get(activity); in DeviceAccountLogin()
60 mAccounts = mAccountManager.getAccountsByType(realm); in handleLogin()
73 mAccountManager.getAuthToken(a, mAuthToken, null, in handleLogin()
131 mAccountManager.getAuthToken( in login()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DSources.java56 private AccountManager mAccountManager; field in Sources
85 mAccountManager = AccountManager.get(mApplicationContext); in Sources()
108 mAccountManager.addOnAccountsUpdatedListener(this, null, false); in Sources()
189 final AccountManager am = mAccountManager; in queryAccounts()
250 final AccountManager am = mAccountManager; in getAccounts()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java198 private AccountManager mAccountManager; field in AccountTypeManagerImpl
288 mAccountManager = AccountManager.get(mContext); in AccountTypeManagerImpl()
324 mAccountManager.addOnAccountsUpdatedListener(this, mListenerHandler, false); in AccountTypeManagerImpl()
391 final AccountManager am = mAccountManager; in loadAccountsInBackground()
477 Account[] accounts = mAccountManager.getAccounts(); in loadAccountsInBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncSettings.java64 private AccountManager mAccountManager; field in AccountSyncSettings
93 mAccountManager = AccountManager.get(this); in onCreate()
98 for (Account account : mAccountManager.getAccounts()) { in onCreate()
109 mActionFragment = ActionFragment.newInstance(getActions(mAccountManager.getAccounts())); in onCreate()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java1387 private final AccountManager mAccountManager; field in AttachmentService.AccountManagerStub
1391 mAccountManager = AccountManager.get(context); in AccountManagerStub()
1393 mAccountManager = null; in AccountManagerStub()
1398 if (mAccountManager != null) { in getNumberOfAccounts()
1399 return mAccountManager.getAccounts().length; in getNumberOfAccounts()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DProfileOwnerProvisioningService.java105 private AccountManager mAccountManager; field in ProfileOwnerProvisioningService
153 mAccountManager = (AccountManager) getSystemService(Context.ACCOUNT_SERVICE); in onCreate()
455 boolean copySucceeded = mAccountManager.copyAccountToUser( in copyAccount()
DProfileOwnerProvisioningActivity.java86 private AccountManager mAccountManager; field in ProfileOwnerProvisioningActivity
92 mAccountManager = (AccountManager) getSystemService(Context.ACCOUNT_SERVICE); in onCreate()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarSyncTestingBase.java41 protected AccountManager mAccountManager; field in CalendarSyncTestingBase
75 mAccountManager = AccountManager.get(mTargetContext); in setUp()
352 Account[] accounts = mAccountManager.getAccountsByType("com.google"); in getAccount()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
DTestSyncAdapter.java35 private final AccountManager mAccountManager; field in TestSyncAdapter
42 mAccountManager = AccountManager.get(mContext); in TestSyncAdapter()