Searched refs:accountManager (Results 1 – 17 of 17) sorted by relevance
62 final AccountManager accountManager = AccountManager.get(mContext); in testExternalAccountInfoExists() local64 accountManager.addAccountExplicitly(account, null /* password */, null /* userdata */); in testExternalAccountInfoExists()72 accountManager.removeAccountExplicitly(account); in testExternalAccountInfoExists()
128 final AccountManager accountManager = in removeAccountsWithPrefix() local130 final Account[] accounts = accountManager.getAccountsByType(TEST_ACCOUNT_TYPE); in removeAccountsWithPrefix()133 accountManager.removeAccountExplicitly(account); in removeAccountsWithPrefix()
23 private AccountManagerCompat(AccountManager accountManager) { in AccountManagerCompat() argument24 mAccountManager = accountManager; in AccountManagerCompat()
40 AccountManager accountManager = AccountManager.get(context); in isEligible() local41 Account[] accounts = accountManager.getAccountsByType(requiredAccountType); in isEligible()
38 public DeviceLocalAccountLocator(Context context, AccountManager accountManager) { in DeviceLocalAccountLocator() argument40 mAccountManager = accountManager; in DeviceLocalAccountLocator()
251 static Account getDefaultGoogleAccount(AccountManager accountManager,254 final Account[] accounts = accountManager.getAccountsByType(
220 public void trimReadOnly(AccountTypeManager accountManager) { in trimReadOnly() argument223 final AccountType account = accountManager.getAccountType( in trimReadOnly()234 public int getIndexOfFirstWritableAccount(AccountTypeManager accountManager) { in getIndexOfFirstWritableAccount() argument237 final AccountType account = accountManager.getAccountType( in getIndexOfFirstWritableAccount()
227 AccountManager accountManager = AccountManager.get(this); in isAuthenticationServiceReady() local228 int visibility = accountManager.getAccountVisibility(account, getPackageName()); in isAuthenticationServiceReady()241 AccountManager accountManager = AccountManager.get(this); in removeUncleanAccounts() local243 accountManager.getAccountsByType(getString(R.string.pbap_account_type)); in removeUncleanAccounts()257 accountManager.removeAccountExplicitly(acc); in removeUncleanAccounts()
46 AccountManager accountManager = AccountManager.get(getActivity()); in onCreateDialog() local47 Account[] accounts = accountManager.getAccounts(); in onCreateDialog()
101 AccountManager accountManager = AccountManager.get(mContext); in updateAuthorizedAccountTypes() local103 accountManager.getAuthenticatorTypesAsUser(mUserHandle.getIdentifier()); in updateAuthorizedAccountTypes()
234 AccountManager accountManager = getContext().getSystemService(AccountManager.class); in requestAccountAccessIfNeeded() local235 if (!accountManager.hasAccountAccess(mAccount, packageName, mUserHandle)) { in requestAccountAccessIfNeeded()236 IntentSender intent = accountManager.createRequestAccountAccessIntentSenderAsUser( in requestAccountAccessIfNeeded()
104 final AccountManager accountManager = context.getSystemService(AccountManager.class); in finishIfAccountMissing() local106 for (Account account : accountManager.getAccountsAsUser(userHandle.getIdentifier())) { in finishIfAccountMissing()
183 final AccountManager accountManager = AccountManager.get(context);184 final Account[] accounts = accountManager.getAccounts();
339 AccountManager accountManager = getContext().getSystemService(AccountManager.class); in requestAccountAccessIfNeeded() local340 if (!accountManager.hasAccountAccess(mAccount, packageName, mUserHandle)) { in requestAccountAccessIfNeeded()341 IntentSender intent = accountManager.createRequestAccountAccessIntentSenderAsUser( in requestAccountAccessIfNeeded()
META-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
135 AccountManager accountManager = AccountManager.get(context); in loadPrivateProfileAccountList() local146 accountManager.getAccountsByTypeAsUser(accountType, mPrivateUserHandle); in loadPrivateProfileAccountList()
9978 AccountManager accountManager = AccountManager.get(getContext()); in getDefaultAccount() local9980 Account[] accounts = accountManager.getAccountsByType(DEFAULT_ACCOUNT_TYPE); in getDefaultAccount()