Home
last modified time | relevance | path

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

12

/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
H A DProfileDetailsFragment.java69 String[] accountTypes = activityIntent.getStringArrayExtra(Settings.EXTRA_ACCOUNT_TYPES); in onAttach() local
70 if (authorities != null || accountTypes != null) { in onAttach()
74 .setAuthorities(authorities).setAccountTypes(accountTypes); in onAttach()
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/
H A 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()
H A 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()
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/
H A 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()
H A DContact.java293 /* package */ void setInvitableAccountTypes(ImmutableList<AccountType> accountTypes) { in setInvitableAccountTypes() argument
294 mInvitableAccountTypes = accountTypes; in setInvitableAccountTypes()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
H A DAccountListPreferenceController.java208 String[] accountTypes = mAuthenticatorHelper.getEnabledAccountTypes(); in getAccountPreferences() local
210 new ArrayList<>(accountTypes.length); in getAccountPreferences()
212 for (int i = 0; i < accountTypes.length; i++) { in getAccountPreferences()
213 String accountType = accountTypes[i]; in getAccountPreferences()
H A DAddAccountPreferenceController.java58 public AddAccountPreferenceController setAccountTypes(String[] accountTypes) { in setAccountTypes() argument
59 mAccountTypes = accountTypes; in setAccountTypes()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/account/
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/accounts/
H A 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()
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountSelectionUtil.java94 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(activity); in getSelectAccountDialog() local
96 accountTypes.blockForWritableAccounts(); in getSelectAccountDialog()
123 final AccountType accountType = accountTypes.getAccountType( in getSelectAccountDialog()
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DSelectAccountActivity.java63 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
64 final List<AccountWithDataSet> accountList = accountTypes.blockForWritableAccounts(); in onCreate()
H A DNfcImportVCardActivity.java196 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
197 final List<AccountWithDataSet> accountList = accountTypes.blockForWritableAccounts(); in onCreate()
H A DImportVCardActivity.java602 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
603 final List<AccountWithDataSet> accountList = accountTypes.blockForWritableAccounts(); in onCreate()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DInvisibleContactUtil.java96 final AccountTypeManager accountTypes = AccountTypeManager.getInstance( in markAddToDefaultGroup() local
98 final AccountType type = rawContactEntityDelta.getAccountType(accountTypes); in markAddToDefaultGroup()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListFilterView.java85 public void bindView(AccountTypeManager accountTypes) { in bindView() argument
130 accountTypes.getAccountType(mFilter.accountType, mFilter.dataSet); in bindView()
/aosp12/frameworks/base/core/java/android/accounts/
H A DIAccountManager.aidl116 void registerAccountListener(in String[] accountTypes, String opPackageName); in registerAccountListener() argument
117 void unregisterAccountListener(in String[] accountTypes, String opPackageName); in unregisterAccountListener() argument
H A DAccountManager.java3018 Handler handler, boolean updateImmediately, String[] accountTypes) {
3029 if (accountTypes != null) {
3031 new HashSet<String>(Arrays.asList(accountTypes)));
3048 mService.registerAccountListener(accountTypes, mContext.getOpPackageName());
3078 Set<String> accountTypes = mAccountsUpdatedListenersTypes.get(listener);
3080 if (accountTypes != null) {
3081 accountsArray = accountTypes.toArray(new String[accountTypes.size()]);
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DContactDeletionInteraction.java252 AccountTypeManager accountTypes = AccountTypeManager.getInstance(getActivity()); in onLoadFinished() local
262 AccountType type = accountTypes.getAccountType(accountType, dataSet); in onLoadFinished()
H A DContactMultiDeletionInteraction.java207 AccountTypeManager accountTypes = AccountTypeManager.getInstance(getActivity()); in onLoadFinished() local
224 final AccountType type = accountTypes.getAccountType(accountType, dataSet); in onLoadFinished()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java527 List<String> accountTypes, Integer callingUid, UserAccounts accounts) { in getAccountsAndVisibilityForPackage() argument
534 for (String accountType : accountTypes) { in getAccountsAndVisibilityForPackage()
893 registerAccountListener(accountTypes, opPackageName, accounts); in registerAccountListener()
899 private void registerAccountListener(String[] accountTypes, String opPackageName, in registerAccountListener() argument
902 if (accountTypes == null) { in registerAccountListener()
904 accountTypes = new String[] {null}; in registerAccountListener()
906 for (String type : accountTypes) { in registerAccountListener()
926 unregisterAccountListener(accountTypes, opPackageName, accounts); in unregisterAccountListener()
935 if (accountTypes == null) { in unregisterAccountListener()
937 accountTypes = new String[] {null}; in unregisterAccountListener()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java501 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in saveContact() local
502 RawContactModifier.trimEmpty(state, accountTypes); in saveContact()

12