Home
last modified time | relevance | path

Searched refs:accountTypes (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java523 List<AccountType> accountTypes = accountTypesByType.get(account.type); in loadAccountsInBackground() local
524 if (accountTypes != null) { in loadAccountsInBackground()
527 for (AccountType accountType : accountTypes) { in loadAccountsInBackground()
744 final List<AccountType> accountTypes = new ArrayList<>(); in getAccountTypes() local
748 accountTypes.add(type); in getAccountTypes()
752 return accountTypes; in getAccountTypes()
808 protected void onPostExecute(Map<AccountTypeWithDataSet, AccountType> accountTypes) { in onPostExecute() argument
809 mInvitableAccountTypeCache.setCachedValue(accountTypes); in onPostExecute()
DContact.java293 /* package */ void setInvitableAccountTypes(ImmutableList<AccountType> accountTypes) { in setInvitableAccountTypes() argument
294 mInvitableAccountTypes = accountTypes; in setInvitableAccountTypes()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsFragment.java65 String[] accountTypes = activityIntent.getStringArrayExtra(Settings.EXTRA_ACCOUNT_TYPES); in onAttach() local
66 if (authorities != null || accountTypes != null) { in onAttach()
70 .setAuthorities(authorities).setAccountTypes(accountTypes); in onAttach()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactDeltaComparator.java47 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in compare() local
50 final AccountType type1 = accountTypes.getAccountType(accountType1, dataSet1); in compare()
53 final AccountType type2 = accountTypes.getAccountType(accountType2, dataSet2); in compare()
DContactEditorFragment.java974 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in hasPendingRawContactChanges() local
975 return RawContactModifier.hasChanges(mState, accountTypes, excludedMimeTypes); in hasPendingRawContactChanges()
1084 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in createContact() local
1085 final AccountType accountType = accountTypes.getAccountTypeForAccount(account); in createContact()
1382 AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in rebindEditorsForNewContact() local
1383 AccountType oldAccountType = accountTypes.getAccountTypeForAccount(oldAccount); in rebindEditorsForNewContact()
1384 AccountType newAccountType = accountTypes.getAccountTypeForAccount(newAccount); in rebindEditorsForNewContact()
DRawContactEditorView.java579 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(getContext()); in applyIntentExtras() local
580 final AccountType type = mCurrentRawContactDelta.getAccountType(accountTypes); in applyIntentExtras()
645 final AccountTypeManager accountTypes = AccountTypeManager.getInstance( in addReadOnlyRawContactEditorViews() local
647 final AccountType type = mCurrentRawContactDelta.getAccountType(accountTypes); in addReadOnlyRawContactEditorViews()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountListPreferenceController.java187 String[] accountTypes = mAuthenticatorHelper.getEnabledAccountTypes(); in getAccountPreferences() local
189 new ArrayList<>(accountTypes.length); in getAccountPreferences()
191 for (int i = 0; i < accountTypes.length; i++) { in getAccountPreferences()
192 String accountType = accountTypes[i]; in getAccountPreferences()
DAddAccountPreferenceController.java54 public AddAccountPreferenceController setAccountTypes(String[] accountTypes) { in setAccountTypes() argument
55 mAccountTypes = accountTypes; in setAccountTypes()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeProvider.java110 final List<AccountType> accountTypes = getAccountTypes(type); in hasTypeWithDataset() local
111 for (AccountType accountType : accountTypes) { in hasTypeWithDataset()
124 final List<AccountType> accountTypes = getAccountTypes(type); in getType() local
125 for (AccountType accountType : accountTypes) { in getType()
/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java221 final String[] accountTypes = in requestChooseAccount() local
227 if (accountTypes != null) { in requestChooseAccount()
228 intent.putExtra(AccountPreferenceBase.ACCOUNT_TYPES_FILTER_KEY, accountTypes); in requestChooseAccount()
DAccountPreferenceController.java498 final String[] accountTypes = helper.getEnabledAccountTypes(); in getAccountTypePreferences() local
500 new ArrayList<>(accountTypes.length); in getAccountTypePreferences()
502 for (int i = 0; i < accountTypes.length; i++) { in getAccountTypePreferences()
503 final String accountType = accountTypes[i]; in getAccountTypePreferences()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java94 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(activity); in getSelectAccountDialog() local
96 accountTypes.blockForWritableAccounts(); in getSelectAccountDialog()
123 final AccountType accountType = accountTypes.getAccountType( in getSelectAccountDialog()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DSelectAccountActivity.java63 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
64 final List<AccountWithDataSet> accountList = accountTypes.blockForWritableAccounts(); in onCreate()
DNfcImportVCardActivity.java196 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
197 final List<AccountWithDataSet> accountList = accountTypes.blockForWritableAccounts(); in onCreate()
DImportVCardActivity.java602 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
603 final List<AccountWithDataSet> accountList = accountTypes.blockForWritableAccounts(); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java96 final AccountTypeManager accountTypes = AccountTypeManager.getInstance( in markAddToDefaultGroup() local
98 final AccountType type = rawContactEntityDelta.getAccountType(accountTypes); in markAddToDefaultGroup()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilterView.java85 public void bindView(AccountTypeManager accountTypes) { in bindView() argument
130 accountTypes.getAccountType(mFilter.accountType, mFilter.dataSet); in bindView()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java556 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimInsertEmpty() local
577 RawContactModifier.trimEmpty(set, accountTypes); in testTrimInsertEmpty()
585 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimInsertInsert() local
613 RawContactModifier.trimEmpty(set, accountTypes); in testTrimInsertInsert()
621 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimUpdateRemain() local
673 RawContactModifier.trimEmpty(set, accountTypes); in testTrimUpdateRemain()
699 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimUpdateUpdate() local
745 RawContactModifier.trimEmpty(set, accountTypes); in testTrimUpdateUpdate()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java375 public static void trimEmpty(RawContactDeltaList set, AccountTypeManager accountTypes) { in trimEmpty() argument
380 final AccountType type = accountTypes.getAccountType(accountType, dataSet); in trimEmpty()
385 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes) { in hasChanges() argument
386 return hasChanges(set, accountTypes, /* excludedMimeTypes =*/ null); in hasChanges()
389 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes, in hasChanges() argument
399 final AccountType type = accountTypes.getAccountType(accountType, dataSet); in hasChanges()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactDeletionInteraction.java252 AccountTypeManager accountTypes = AccountTypeManager.getInstance(getActivity()); in onLoadFinished() local
262 AccountType type = accountTypes.getAccountType(accountType, dataSet); in onLoadFinished()
DContactMultiDeletionInteraction.java207 AccountTypeManager accountTypes = AccountTypeManager.getInstance(getActivity()); in onLoadFinished() local
224 final AccountType type = accountTypes.getAccountType(accountType, dataSet); in onLoadFinished()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java501 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in saveContact() local
502 RawContactModifier.trimEmpty(state, accountTypes); in saveContact()