Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/contacts/common/preference/
DContactsPreferences.java149 final AccountWithDataSet accountWithDataSet = AccountWithDataSet.unstringify(accountString); in getDefaultAccount() local
150 mDefaultAccount = accountWithDataSet.name; in getDefaultAccount()
156 public void setDefaultAccount(AccountWithDataSet accountWithDataSet) { in setDefaultAccount() argument
157 mDefaultAccount = accountWithDataSet == null ? null : accountWithDataSet.name; in setDefaultAccount()
162 editor.putString(mDefaultAccountKey, accountWithDataSet.stringify()); in setDefaultAccount()
258 final AccountWithDataSet accountWithDataSet = in maybeMigrateSystemSettings() local
260 setDefaultAccount(accountWithDataSet); in maybeMigrateSystemSettings()
/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()
388 final AccountWithDataSet accountWithDataSet = AccountWithDataSet.unstringify( in maybeMigrateSystemSettings() local
390 setDefaultAccount(accountWithDataSet); in maybeMigrateSystemSettings()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java255 final AccountWithDataSet accountWithDataSet = defaultAccount == null ? null :
259 if (accountWithDataSet != null) {
261 if (TextUtils.equals(accountWithDataSet.name, accounts[i].name)
262 && TextUtils.equals(accountWithDataSet.type, accounts[i].type)) {
622 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet(
624 final AccountType type = mTypeProvider.getTypeForAccount(accountWithDataSet);
627 result.add(type.wrapAccount(mContext, accountWithDataSet));
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()
/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/
DContactsProvider2.java2850 AccountWithDataSet accountWithDataSet = null; in resolveAccountWithDataSet() local
2858 accountWithDataSet = AccountWithDataSet.get(account.name, account.type, dataSet); in resolveAccountWithDataSet()
2860 return accountWithDataSet; in resolveAccountWithDataSet()
5269 for (AccountWithDataSet accountWithDataSet : accountsWithDataSetsToDelete) { in updateAccountsInBackground()
5270 final Long accountIdOrNull = dbHelper.getAccountIdOrNull(accountWithDataSet); in updateAccountsInBackground()
5485 final AccountWithDataSet accountWithDataSet = AccountWithDataSet.get( in removeStaleAccountRows() local
5487 if (accountWithDataSet.isLocalAccount() in removeStaleAccountRows()
5488 || accountWithDataSet.inSystemAccounts(systemAccounts)) { in removeStaleAccountRows()
5496 new String[] {accountWithDataSet.getAccountName(), in removeStaleAccountRows()
5497 accountWithDataSet.getAccountType()}); in removeStaleAccountRows()
[all …]
DContactsDatabaseHelper.java3976 public Long getAccountIdOrNull(AccountWithDataSet accountWithDataSet) { in getAccountIdOrNull() argument
3977 if (accountWithDataSet == null) { in getAccountIdOrNull()
3978 accountWithDataSet = AccountWithDataSet.LOCAL; in getAccountIdOrNull()
3991 DatabaseUtils.bindObjectToProgram(select, 1, accountWithDataSet.getAccountName()); in getAccountIdOrNull()
3992 DatabaseUtils.bindObjectToProgram(select, 2, accountWithDataSet.getAccountType()); in getAccountIdOrNull()
3993 DatabaseUtils.bindObjectToProgram(select, 3, accountWithDataSet.getDataSet()); in getAccountIdOrNull()
4010 public long getOrCreateAccountIdInTransaction(AccountWithDataSet accountWithDataSet) { in getOrCreateAccountIdInTransaction() argument
4011 if (accountWithDataSet == null) { in getOrCreateAccountIdInTransaction()
4012 accountWithDataSet = AccountWithDataSet.LOCAL; in getOrCreateAccountIdInTransaction()
4014 Long id = getAccountIdOrNull(accountWithDataSet); in getOrCreateAccountIdInTransaction()
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java704 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( in bindMembersCount() local
707 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.java1421 String accountWithDataSet = (!TextUtils.isEmpty(dataSet)) in computeAggregateData() local
1430 mContactsProvider.isWritableAccountWithDataSet(accountWithDataSet), in computeAggregateData()
1470 accountWithDataSet, in computeAggregateData()