Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/legacy_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/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DAccountManagerCompat.java23 private AccountManagerCompat(AccountManager accountManager) { in AccountManagerCompat() argument
24 mAccountManager = accountManager; in AccountManagerCompat()
/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/Contacts/src/com/android/contacts/model/
DDeviceLocalAccountLocator.java38 public DeviceLocalAccountLocator(Context context, AccountManager accountManager) { in DeviceLocalAccountLocator() argument
40 mAccountManager = accountManager; in DeviceLocalAccountLocator()
DAccountTypeManager.java251 static Account getDefaultGoogleAccount(AccountManager accountManager,
254 final Account[] accounts = accountManager.getAccountsByType(
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientService.java227 AccountManager accountManager = AccountManager.get(this); in isAuthenticationServiceReady() local
228 int visibility = accountManager.getAccountVisibility(account, getPackageName()); in isAuthenticationServiceReady()
241 AccountManager accountManager = AccountManager.get(this); in removeUncleanAccounts() local
243 accountManager.getAccountsByType(getString(R.string.pbap_account_type)); in removeUncleanAccounts()
257 accountManager.removeAccountExplicitly(acc); in removeUncleanAccounts()
/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/Car/Settings/src/com/android/car/settings/accounts/
DAccountTypesHelper.java101 AccountManager accountManager = AccountManager.get(mContext); in updateAuthorizedAccountTypes() local
103 accountManager.getAuthenticatorTypesAsUser(mUserHandle.getIdentifier()); in updateAuthorizedAccountTypes()
DAccountSyncDetailsPreferenceController.java234 AccountManager accountManager = getContext().getSystemService(AccountManager.class); in requestAccountAccessIfNeeded() local
235 if (!accountManager.hasAccountAccess(mAccount, packageName, mUserHandle)) { in requestAccountAccessIfNeeded()
236 IntentSender intent = accountManager.createRequestAccountAccessIntentSenderAsUser( in requestAccountAccessIfNeeded()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountDetailDashboardFragment.java104 final AccountManager accountManager = context.getSystemService(AccountManager.class); in finishIfAccountMissing() local
106 for (Account account : accountManager.getAccountsAsUser(userHandle.getIdentifier())) { in finishIfAccountMissing()
DAccountDashboardFragment.java183 final AccountManager accountManager = AccountManager.get(context);
184 final Account[] accounts = accountManager.getAccounts();
DAccountSyncSettings.java339 AccountManager accountManager = getContext().getSystemService(AccountManager.class); in requestAccountAccessIfNeeded() local
340 if (!accountManager.hasAccountAccess(mAccount, packageName, mUserHandle)) { in requestAccountAccessIfNeeded()
341 IntentSender intent = accountManager.createRequestAccountAccessIntentSenderAsUser( in requestAccountAccessIfNeeded()
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-client-android-1.30.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/Settings/src/com/android/settings/privatespace/delete/
DPrivateSpaceDeleteFragment.java135 AccountManager accountManager = AccountManager.get(context); in loadPrivateProfileAccountList() local
146 accountManager.getAccountsByTypeAsUser(accountType, mPrivateUserHandle); in loadPrivateProfileAccountList()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9978 AccountManager accountManager = AccountManager.get(getContext()); in getDefaultAccount() local
9980 Account[] accounts = accountManager.getAccountsByType(DEFAULT_ACCOUNT_TYPE); in getDefaultAccount()