Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java130 final String[] accountTypes = in onCreate() local
136 if (accountTypes != null) { in onCreate()
137 intent.putExtra(AccountPreferenceBase.ACCOUNT_TYPES_FILTER_KEY, accountTypes); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorActivity.java204 final AccountTypeManager accountTypes =
206 final AccountType accountType = accountTypes.getAccountType(
229 final AccountTypeManager accountTypes =
231 final AccountType accountType = accountTypes.getAccountType(
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java486 List<AccountType> accountTypes = accountTypesByType.get(account.type); in loadAccountsInBackground() local
487 if (accountTypes != null) { in loadAccountsInBackground()
490 for (AccountType accountType : accountTypes) { in loadAccountsInBackground()
746 final List<AccountType> accountTypes = Lists.newArrayList(); in getAccountTypes() local
750 accountTypes.add(type); in getAccountTypes()
754 return accountTypes; in getAccountTypes()
772 protected void onPostExecute(Map<AccountTypeWithDataSet, AccountType> accountTypes) { in onPostExecute() argument
773 mInvitableAccountTypeCache.setCachedValue(accountTypes); in onPostExecute()
DContact.java484 /* package */ void setInvitableAccountTypes(ImmutableList<AccountType> accountTypes) { in setInvitableAccountTypes() argument
485 mInvitableAccountTypes = accountTypes; in setInvitableAccountTypes()
DRawContactModifier.java391 public static void trimEmpty(RawContactDeltaList set, AccountTypeManager accountTypes) { in trimEmpty() argument
396 final AccountType type = accountTypes.getAccountType(accountType, dataSet); in trimEmpty()
401 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes) { in hasChanges() argument
410 final AccountType type = accountTypes.getAccountType(accountType, dataSet); in hasChanges()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java91 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(context); in getSelectAccountDialog() local
92 final List<AccountWithDataSet> writableAccountList = accountTypes.getAccounts(true); in getSelectAccountDialog()
122 final AccountType accountType = accountTypes.getAccountType( in getSelectAccountDialog()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java546 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in setIntentExtras() local
548 final AccountType type = state.getAccountType(accountTypes); in setIntentExtras()
607 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in createContact() local
609 accountTypes.getAccountType(account != null ? account.type : null, in createContact()
632 AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in rebindEditorsForNewContact() local
633 AccountType oldAccountType = accountTypes.getAccountType( in rebindEditorsForNewContact()
635 AccountType newAccountType = accountTypes.getAccountType( in rebindEditorsForNewContact()
717 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in bindEditors() local
724 final AccountType type = rawContactDelta.getAccountType(accountTypes); in bindEditors()
1030 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in hasPendingChanges() local
[all …]
DAggregationSuggestionView.java115 AccountTypeManager accountTypes = AccountTypeManager.getInstance(getContext()); in canEditSuggestedContact() local
122 AccountType type = accountTypes.getAccountType(accountType, dataSet); in canEditSuggestedContact()
DContactEditorUtils.java65 ContactEditorUtils(Context context, AccountTypeManager accountTypes) { in ContactEditorUtils() argument
68 mAccountTypes = accountTypes; in ContactEditorUtils()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DSelectAccountActivity.java60 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
61 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in onCreate()
DNfcImportVCardActivity.java171 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
172 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in onCreate()
DImportVCardActivity.java846 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate() local
847 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/list/
DAccountFilterActivity.java117 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(context); in loadAccountFilters() local
118 List<AccountWithDataSet> accounts = accountTypes.getAccounts(false); in loadAccountFilters()
120 AccountType accountType = accountTypes.getAccountType(account.type, account.dataSet); in loadAccountFilters()
DContactListFilterView.java79 public void bindView(AccountTypeManager accountTypes) { in bindView() argument
124 accountTypes.getAccountType(mFilter.accountType, mFilter.dataSet); in bindView()
DCustomContactListFilterActivity.java128 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(context); in loadInBackground() local
132 for (AccountWithDataSet account : accountTypes.getAccounts(false)) { in loadInBackground()
133 final AccountType accountType = accountTypes.getAccountTypeForAccount(account); in loadInBackground()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DImportExportDialogFragment.java198 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(getActivity()); in handleImportRequest() local
199 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in handleImportRequest()
DContactDeletionInteraction.java233 AccountTypeManager accountTypes = AccountTypeManager.getInstance(getActivity()); in onLoadFinished() local
241 AccountType type = accountTypes.getAccountType(accountType, dataSet); in onLoadFinished()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRawContactModifierTests.java521 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimInsertEmpty() local
540 RawContactModifier.trimEmpty(set, accountTypes); in testTrimInsertEmpty()
548 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimInsertInsert() local
573 RawContactModifier.trimEmpty(set, accountTypes); in testTrimInsertInsert()
581 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimUpdateRemain() local
629 RawContactModifier.trimEmpty(set, accountTypes); in testTrimUpdateRemain()
652 final AccountTypeManager accountTypes = getAccountTypes(accountType); in testTrimUpdateUpdate() local
694 RawContactModifier.trimEmpty(set, accountTypes); in testTrimUpdateUpdate()
/packages/apps/Settings/src/com/android/settings/
DSettings.java487 String[] accountTypes = mAuthenticatorHelper.getEnabledAccountTypes(); in insertAccountsHeaders() local
488 List<Header> accountHeaders = new ArrayList<Header>(accountTypes.length); in insertAccountsHeaders()
489 for (String accountType : accountTypes) { in insertAccountsHeaders()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java340 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in saveContact() local
341 RawContactModifier.trimEmpty(state, accountTypes); in saveContact()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java2041 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in execute() local
2042 final AccountType type = rawContactEntityDelta.getAccountType(accountTypes); in execute()