Home
last modified time | relevance | path

Searched refs:AccountTypeManager (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/editor/
DSelectAccountDialogFragment.java30 import com.android.contacts.model.AccountTypeManager;
53 private AccountTypeManager.AccountFilter mFilter;
65 AccountTypeManager.AccountFilter filter, Bundle extraArgs) { in show()
70 AccountTypeManager.AccountFilter filter, Bundle extraArgs, String tag) { in show()
85 mFilter = (AccountTypeManager.AccountFilter) args.getSerializable(KEY_LIST_FILTER); in onCreate()
87 mFilter = AccountTypeManager.AccountFilter.ALL; in onCreate()
DRawContactEditorView.java56 import com.android.contacts.model.AccountTypeManager;
197 private AccountTypeManager mAccountTypeManager;
249 mAccountTypeManager = AccountTypeManager.getInstance(getContext()); in onFinishInflate()
579 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(getContext()); in applyIntentExtras()
645 final AccountTypeManager accountTypes = AccountTypeManager.getInstance( in addReadOnlyRawContactEditorViews()
759 final AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(getContext()); in setAccountInfo()
DRawContactDeltaComparator.java22 import com.android.contacts.model.AccountTypeManager;
47 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in compare()
DPickRawContactDialogFragment.java27 import com.android.contacts.model.AccountTypeManager;
56 private final AccountTypeManager mAccountTypeManager;
63 mAccountTypeManager = AccountTypeManager.getInstance(context); in RawContactAccountListAdapter()
117 AccountTypeManager.getInstance(getContext()).getAccountInfoForAccount( in getView()
DContactEditorFragment.java74 import com.android.contacts.model.AccountTypeManager;
592 AccountsLoader.loadAccounts(this, LOADER_ACCOUNTS, AccountTypeManager.writableFilter()); in onActivityCreated()
965 .getAccountType(AccountTypeManager.getInstance(mContext)) in isEditingReadOnlyRawContact()
974 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in hasPendingRawContactChanges()
1084 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in createContact()
1382 AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in rebindEditorsForNewContact()
DPickRawContactLoader.java16 import com.android.contacts.model.AccountTypeManager;
220 public void trimReadOnly(AccountTypeManager accountManager) { in trimReadOnly()
234 public int getIndexOfFirstWritableAccount(AccountTypeManager accountManager) { in getIndexOfFirstWritableAccount()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java41 import com.android.contacts.model.AccountTypeManager;
115 private AccountTypeManager mAccountTypeManager;
119 super(context, new IntentFilter(AccountTypeManager.BROADCAST_ACCOUNTS_CHANGED)); in FilterLoader()
120 mAccountTypeManager = AccountTypeManager.getInstance(context); in FilterLoader()
128 AccountTypeManager.writableFilter()), in loadData()
233 final AccountInfo info = AccountTypeManager.getInstance(context)
DAccountSelectionUtil.java36 import com.android.contacts.model.AccountTypeManager;
94 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(activity); in getSelectAccountDialog()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountDisplayInfoFactory.java21 import com.android.contacts.model.AccountTypeManager;
39 private final AccountTypeManager mAccountTypeManager;
47 this(context, AccountTypeManager.getInstance(context), in AccountDisplayInfoFactory()
51 public AccountDisplayInfoFactory(Context context, AccountTypeManager accountTypeManager, in AccountDisplayInfoFactory()
DAccountsLoader.java26 import com.android.contacts.model.AccountTypeManager;
39 private final AccountTypeManager mAccountTypeManager;
47 super(context, new IntentFilter(AccountTypeManager.BROADCAST_ACCOUNTS_CHANGED)); in AccountsLoader()
48 mAccountTypeManager = AccountTypeManager.getInstance(context); in AccountsLoader()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java47 import com.android.contacts.model.AccountTypeManager;
80 private AccountTypeManager mAccountTypeManager;
102 mAccountTypeManager = AccountTypeManager.getInstance(getActivity()); in onCreate()
451 private AccountTypeManager mAccountTypeManager;
455 super(context, new IntentFilter(AccountTypeManager.BROADCAST_ACCOUNTS_CHANGED)); in SimContactLoader()
457 mAccountTypeManager = AccountTypeManager.getInstance(getContext()); in SimContactLoader()
465 .filterAccountsAsync(AccountTypeManager.writableFilter()), in loadData()
DSplitAggregateView.java38 import com.android.contacts.model.AccountTypeManager;
75 private AccountTypeManager mAccountTypes;
92 mAccountTypes = AccountTypeManager.getInstance(context); in SplitAggregateView()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java76 public abstract class AccountTypeManager { class
80 private static AccountTypeManager mAccountTypeManager;
82 public static final String BROADCAST_ACCOUNTS_CHANGED = AccountTypeManager.class.getName() +
110 public static AccountTypeManager getInstance(Context context) { in getInstance()
132 public static void setInstanceForTest(AccountTypeManager mockManager) { in setInstanceForTest()
138 private static final AccountTypeManager EMPTY = new AccountTypeManager() {
335 class AccountTypeManagerImpl extends AccountTypeManager
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactListFilterController.java21 import com.android.contacts.common.model.AccountTypeManager;
165 final AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(mAppContext); in filterAccountExists()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DSelectAccountActivity.java26 import com.android.contacts.model.AccountTypeManager;
60 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate()
DNfcImportVCardActivity.java40 import com.android.contacts.model.AccountTypeManager;
196 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(this); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilterController.java23 import com.android.contacts.model.AccountTypeManager;
194 final AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(mContext); in filterAccountExists()
DAccountFilterActivity.java33 import com.android.contacts.model.AccountTypeManager;
140 private final AccountTypeManager mAccountTypes;
149 mAccountTypes = AccountTypeManager.getInstance(context); in FilterListAdapter()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java10 import com.android.contacts.model.AccountTypeManager;
96 final AccountTypeManager accountTypes = AccountTypeManager.getInstance( in markAddToDefaultGroup()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMetaData.java28 import com.android.contacts.model.AccountTypeManager;
62 final AccountTypeManager accountTypeManager = AccountTypeManager.getInstance(context); in GroupMetaData()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DImportDialogFragment.java45 import com.android.contacts.model.AccountTypeManager;
115 mAccountsFuture = AccountTypeManager.getInstance(getActivity()).filterAccountsAsync( in onResume()
116 AccountTypeManager.writableFilter()); in onResume()
280 AccountTypeManager.AccountFilter.CONTACTS_WRITABLE, args); in handleImportRequest()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java74 public abstract class AccountTypeManager { class
79 private static AccountTypeManager mAccountTypeManager;
85 public static AccountTypeManager getInstance(Context context) { in getInstance()
102 public static void setInstanceForTest(AccountTypeManager mockManager) { in setInstanceForTest()
174 class AccountTypeManagerImpl extends AccountTypeManager
DRawContact.java63 private AccountTypeManager mAccountTypeManager;
108 public AccountTypeManager getAccountTypeManager(Context context) { in getAccountTypeManager()
110 mAccountTypeManager = AccountTypeManager.getInstance(context); in getAccountTypeManager()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java27 import com.android.contacts.model.AccountTypeManager;
155 mResult.trimReadOnly(AccountTypeManager.getInstance(this)); in maybeTrimReadOnly()
210 AccountTypeManager.getInstance(this)); in setHasWritableAccount()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockAccountTypeManager.java20 import com.android.contacts.model.AccountTypeManager;
36 public class MockAccountTypeManager extends AccountTypeManager {

123