Home
last modified time | relevance | path

Searched refs:accountWithDataSet (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java231 public void setDefaultAccount(@NonNull AccountWithDataSet accountWithDataSet) { in setDefaultAccount() argument
232 if (accountWithDataSet == null) { in setDefaultAccount()
236 mDefaultAccount = accountWithDataSet; in setDefaultAccount()
237 mPreferences.edit().putString(mDefaultAccountKey, accountWithDataSet.stringify()).commit(); in setDefaultAccount()
389 final AccountWithDataSet accountWithDataSet = AccountWithDataSet.unstringify( in maybeMigrateSystemSettings() local
391 setDefaultAccount(accountWithDataSet); in maybeMigrateSystemSettings()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContact.java298 public void setAccount(AccountWithDataSet accountWithDataSet) { in setAccount() argument
299 if (accountWithDataSet != null) { in setAccount()
300 setAccount(accountWithDataSet.name, accountWithDataSet.type, in setAccount()
301 accountWithDataSet.dataSet); in setAccount()
DAccountTypeManager.java262 final AccountWithDataSet accountWithDataSet = defaultAccount == null ? null :
266 if (accountWithDataSet != null) {
268 if (TextUtils.equals(accountWithDataSet.name, accounts[i].name)
269 && TextUtils.equals(accountWithDataSet.type, accounts[i].type)) {
661 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet(
663 final AccountType type = mTypeProvider.getTypeForAccount(accountWithDataSet);
666 result.add(type.wrapAccount(mContext, accountWithDataSet));
/packages/apps/Dialer/java/com/android/contacts/common/model/
DRawContact.java211 public void setAccount(AccountWithDataSet accountWithDataSet) { in setAccount() argument
212 if (accountWithDataSet != null) { in setAccount()
213 setAccount(accountWithDataSet.name, accountWithDataSet.type, accountWithDataSet.dataSet); in setAccount()
DAccountTypeManager.java528 AccountWithDataSet accountWithDataSet = in loadAccountsInBackground() local
530 allAccounts.add(accountWithDataSet); in loadAccountsInBackground()
532 contactWritableAccounts.add(accountWithDataSet); in loadAccountsInBackground()
535 groupWritableAccounts.add(accountWithDataSet); in loadAccountsInBackground()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java333 AccountWithDataSet accountWithDataSet, int memberCount) { in bindListHeader() argument
343 accountWithDataSet.type, accountWithDataSet.dataSet); in bindListHeader()
351 memberCount, accountWithDataSet.name) in bindListHeader()
DContactsRequest.java210 public void setAccountWithDataSet(AccountWithDataSet accountWithDataSet) { in setAccountWithDataSet() argument
211 mAccountWithDataSet = accountWithDataSet; in setAccountWithDataSet()
DGroupMemberPickerFragment.java236 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet(mAccountName, in onLoadFinished() local
239 accountWithDataSet, cursorWrapper.getCount()); in onLoadFinished() local
DDefaultContactBrowseListFragment.java328 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( in bindListHeader() local
331 accountWithDataSet, numberOfContacts); in bindListHeader() local
/packages/apps/Contacts/src/com/android/contacts/util/
DSyncUtil.java57 for (AccountWithDataSet accountWithDataSet : accounts) { in isAnySyncing()
58 if (isSyncStatusPendingOrActive(accountWithDataSet.getAccountOrNull())) { in isAnySyncing()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3946 public Long getAccountIdOrNull(AccountWithDataSet accountWithDataSet) { in getAccountIdOrNull() argument
3947 if (accountWithDataSet == null) { in getAccountIdOrNull()
3948 accountWithDataSet = AccountWithDataSet.LOCAL; in getAccountIdOrNull()
3961 DatabaseUtils.bindObjectToProgram(select, 1, accountWithDataSet.getAccountName()); in getAccountIdOrNull()
3962 DatabaseUtils.bindObjectToProgram(select, 2, accountWithDataSet.getAccountType()); in getAccountIdOrNull()
3963 DatabaseUtils.bindObjectToProgram(select, 3, accountWithDataSet.getDataSet()); in getAccountIdOrNull()
3980 public long getOrCreateAccountIdInTransaction(AccountWithDataSet accountWithDataSet) { in getOrCreateAccountIdInTransaction() argument
3981 if (accountWithDataSet == null) { in getOrCreateAccountIdInTransaction()
3982 accountWithDataSet = AccountWithDataSet.LOCAL; in getOrCreateAccountIdInTransaction()
3984 Long id = getAccountIdOrNull(accountWithDataSet); in getOrCreateAccountIdInTransaction()
[all …]
DContactsProvider2.java2881 AccountWithDataSet accountWithDataSet = null; in resolveAccountWithDataSet() local
2889 accountWithDataSet = AccountWithDataSet.get(account.name, account.type, dataSet); in resolveAccountWithDataSet()
2891 return accountWithDataSet; in resolveAccountWithDataSet()
5182 for (AccountWithDataSet accountWithDataSet : accountsWithDataSetsToDelete) { in updateAccountsInBackground()
5183 final Long accountIdOrNull = dbHelper.getAccountIdOrNull(accountWithDataSet); in updateAccountsInBackground()
5389 final AccountWithDataSet accountWithDataSet = AccountWithDataSet.get( in removeStaleAccountRows() local
5391 if (accountWithDataSet.isLocalAccount() in removeStaleAccountRows()
5392 || accountWithDataSet.inSystemAccounts(systemAccounts)) { in removeStaleAccountRows()
5400 new String[] {accountWithDataSet.getAccountName(), in removeStaleAccountRows()
5401 accountWithDataSet.getAccountType()}); in removeStaleAccountRows()
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java696 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( in bindMembersCount() local
699 accountWithDataSet, memberCount); in bindMembersCount() local
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java1120 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( in onCreateGroupMenuItemClicked() local
1122 onAccountChosen(accountWithDataSet, /* extraArgs */ null); in onCreateGroupMenuItemClicked()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1428 String accountWithDataSet = (!TextUtils.isEmpty(dataSet)) in computeAggregateData() local
1437 mContactsProvider.isWritableAccountWithDataSet(accountWithDataSet), in computeAggregateData()
1477 accountWithDataSet, in computeAggregateData()