Home
last modified time | relevance | path

Searched refs:mAccounts (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java45 private Parcelable[] mAccounts = null; field in ChooseAccountActivity
56 mAccounts = getIntent().getParcelableArrayExtra(AccountManager.KEY_ACCOUNTS); in onCreate()
61 if (mAccounts == null) { in onCreate()
69 AccountInfo[] mAccountInfos = new AccountInfo[mAccounts.length]; in onCreate()
70 for (int i = 0; i < mAccounts.length; i++) { in onCreate()
71 mAccountInfos[i] = new AccountInfo(((Account) mAccounts[i]).name, in onCreate()
72 getDrawableForType(((Account) mAccounts[i]).type)); in onCreate()
120 Account account = (Account) mAccounts[position]; in onListItemClick()
DChooseTypeAndAccountActivity.java123 private ArrayList<Account> mAccounts; field in ChooseTypeAndAccountActivity
172 mAccounts = savedInstanceState.getParcelableArrayList(KEY_INSTANCE_STATE_ACCOUNT_LIST); in onCreate()
193 mAccounts = getAcceptableAccountChoices(AccountManager.get(this)); in onCreate()
194 if (mAccounts.isEmpty() in onCreate()
213 if (mAccounts.isEmpty()) { in onCreate()
223 String[] listItems = getListOfDisplayableOptions(mAccounts); in onCreate()
225 mAccounts, mSelectedAccountName, mSelectedAddNewAccount); in onCreate()
253 if (mSelectedItemIndex == mAccounts.size()) { in onSaveInstanceState()
258 mAccounts.get(mSelectedItemIndex).name); in onSaveInstanceState()
261 outState.putParcelableArrayList(KEY_INSTANCE_STATE_ACCOUNT_LIST, mAccounts); in onSaveInstanceState()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java435 private final HashMap<AccountAndUser, AccountInfo> mAccounts field in SyncStorageEngine
847 for (AccountInfo accountInfo : mAccounts.values()) { in setBackoffLocked()
872 for (AccountInfo accountInfo : mAccounts.values()) { in clearAllBackoffsLocked()
1208 Iterator<AccountInfo> accIt = mAccounts.values().iterator(); in doDatabaseCleanup()
1646 AccountInfo accountInfo = mAccounts.get(au); in getAuthorityLocked()
1693 AccountInfo account = mAccounts.get(au); in getOrCreateAuthorityLocked()
1696 mAccounts.put(au, account); in getOrCreateAuthorityLocked()
1750 AccountInfo accountInfo = mAccounts.get(new AccountAndUser(account, userId)); in removeAuthorityLocked()
1816 mAccounts.clear(); in clearAndReadState()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1345 removeAccountInternal(mAccounts, mAccount); in onResult()
1981 mAccounts, in getAuthToken()
1991 mAccounts, in getAuthToken()
2003 doNotification(mAccounts, in getAuthToken()
2429 synchronized (mAccounts.cacheLock) { in run()
2430 mAccountsOfType = getAccountsFromCacheLocked(mAccounts, mAccountType, mCallingUid, in run()
2900 protected final UserAccounts mAccounts; field in AccountManagerService.Session
2915 mAccounts = accounts; in Session()
3074 mAccounts.openHelper.getReadableDatabase(), in onResult()
3100 ResolveInfo resolveInfo = pm.resolveActivityAsUser(intent, 0, mAccounts.userId); in onResult()
[all …]