Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainSettings.java45 private AccountManager mAccountManager; field in MainSettings
58 mAccountManager = AccountManager.get(this); in onCreate()
68 mAccountManager.addOnAccountsUpdatedListener(this, null, true); in onStart()
94 mAccountManager.removeOnAccountsUpdatedListener(this); in onStop()
102 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.java194 private AccountManager mAccountManager; field in AccountTypeManagerImpl
292 mAccountManager = AccountManager.get(mContext); in AccountTypeManagerImpl()
328 mAccountManager.addOnAccountsUpdatedListener(this, mListenerHandler, false); in AccountTypeManagerImpl()
395 final AccountManager am = mAccountManager; in loadAccountsInBackground()
478 Account[] accounts = mAccountManager.getAccounts(); in loadAccountsInBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncSettings.java65 private AccountManager mAccountManager; field in AccountSyncSettings
94 mAccountManager = AccountManager.get(this); in onCreate()
99 for (Account account : mAccountManager.getAccounts()) { in onCreate()
110 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/
DProfileOwnerProvisioningActivity.java86 private AccountManager mAccountManager; field in ProfileOwnerProvisioningActivity
92 mAccountManager = (AccountManager) getSystemService(Context.ACCOUNT_SERVICE); in onCreate()
304 AccountManagerFuture<Bundle> bundle = mAccountManager.removeAccount(account, in removeAccount()
DProfileOwnerProvisioningService.java96 private AccountManager mAccountManager; field in ProfileOwnerProvisioningService
122 mAccountManager = (AccountManager) getSystemService(Context.ACCOUNT_SERVICE); in onCreate()
311 if (mAccountManager.copyAccountToUser(account, mManagedProfileUserInfo.getUserHandle(), in copyAccount()
/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()