Home
last modified time | relevance | path

Searched refs:accountManager (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DDeviceLocalAccountLocator.java62 final AccountManager accountManager = in create() local
65 for (Account account : accountManager.getAccounts()) { in create()
72 return new NexusDeviceAccountLocator(accountManager); in create()
88 public NexusDeviceAccountLocator(AccountManager accountManager) { in NexusDeviceAccountLocator() argument
89 mAccountManager = accountManager; in NexusDeviceAccountLocator()
DAccountTypeManager.java245 static Account getDefaultGoogleAccount(AccountManager accountManager,
248 final Account[] accounts = accountManager.getAccountsByType(
/packages/apps/Settings/tests/unit/src/com/android/settings/accounts/
DAccountsSettingsTest.java62 final AccountManager accountManager = AccountManager.get(mContext); in testExternalAccountInfoExists() local
64 accountManager.addAccountExplicitly(account, null /* password */, null /* userdata */); in testExternalAccountInfoExists()
72 accountManager.removeAccountExplicitly(account); in testExternalAccountInfoExists()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DAccountsTestHelper.java128 final AccountManager accountManager = in removeAccountsWithPrefix() local
130 final Account[] accounts = accountManager.getAccountsByType(TEST_ACCOUNT_TYPE); in removeAccountsWithPrefix()
133 accountManager.removeAccountExplicitly(account); in removeAccountsWithPrefix()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java220 public void trimReadOnly(AccountTypeManager accountManager) { in trimReadOnly() argument
223 final AccountType account = accountManager.getAccountType( in trimReadOnly()
234 public int getIndexOfFirstWritableAccount(AccountTypeManager accountManager) { in getIndexOfFirstWritableAccount() argument
237 final AccountType account = accountManager.getAccountType( in getIndexOfFirstWritableAccount()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DAccountEligibilityChecker.java40 AccountManager accountManager = AccountManager.get(context); in isEligible() local
41 Account[] accounts = accountManager.getAccountsByType(requiredAccountType); in isEligible()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceController.java237 AccountManager accountManager = getContext().getSystemService(AccountManager.class); in requestAccountAccessIfNeeded() local
238 if (!accountManager.hasAccountAccess(mAccount, packageName, mUserHandle)) { in requestAccountAccessIfNeeded()
239 IntentSender intent = accountManager.createRequestAccountAccessIntentSenderAsUser( in requestAccountAccessIfNeeded()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DSelectAccountDialogFragment.java46 AccountManager accountManager = AccountManager.get(getActivity()); in onCreateDialog() local
47 Account[] accounts = accountManager.getAccounts(); in onCreateDialog()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCopyAccountToUserTask.java120 AccountManager accountManager = (AccountManager) in maybeCopyAccount() local
122 boolean copySucceeded = accountManager.copyAccountToUser( in maybeCopyAccount()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java128 AccountManager accountManager = AccountManager.get(this); in removeUncleanAccounts() local
130 accountManager.getAccountsByType(getString(R.string.pbap_account_type)); in removeUncleanAccounts()
141 accountManager.removeAccountExplicitly(acc); in removeUncleanAccounts()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountDetailDashboardFragment.java102 final AccountManager accountManager = context.getSystemService(AccountManager.class); in finishIfAccountMissing() local
104 for (Account account : accountManager.getAccountsAsUser(userHandle.getIdentifier())) { in finishIfAccountMissing()
DAccountSyncSettings.java311 AccountManager accountManager = getContext().getSystemService(AccountManager.class); in requestAccountAccessIfNeeded() local
312 if (!accountManager.hasAccountAccess(mAccount, packageName, mUserHandle)) { in requestAccountAccessIfNeeded()
313 IntentSender intent = accountManager.createRequestAccountAccessIntentSenderAsUser( in requestAccountAccessIfNeeded()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountDetailDashboardFragment.java102 final AccountManager accountManager = context.getSystemService(AccountManager.class); in finishIfAccountMissing() local
104 for (Account account : accountManager.getAccountsAsUser(userHandle.getIdentifier())) { in finishIfAccountMissing()
DAccountSyncSettings.java311 AccountManager accountManager = getContext().getSystemService(AccountManager.class); in requestAccountAccessIfNeeded() local
312 if (!accountManager.hasAccountAccess(mAccount, packageName, mUserHandle)) { in requestAccountAccessIfNeeded()
313 IntentSender intent = accountManager.createRequestAccountAccessIntentSenderAsUser( in requestAccountAccessIfNeeded()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java427 final AccountManager accountManager = in removeAccount() local
429 final AccountManagerFuture<Bundle> bundle = accountManager.removeAccount(account, in removeAccount()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9456 AccountManager accountManager = AccountManager.get(getContext()); in getDefaultAccount() local
9458 Account[] accounts = accountManager.getAccountsByType(DEFAULT_ACCOUNT_TYPE); in getDefaultAccount()