/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 231 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/Dialer/java/com/android/contacts/common/model/ |
D | RawContact.java | 211 public void setAccount(AccountWithDataSet accountWithDataSet) { in setAccount() argument 212 if (accountWithDataSet != null) { in setAccount() 213 setAccount(accountWithDataSet.name, accountWithDataSet.type, accountWithDataSet.dataSet); in setAccount()
|
D | AccountTypeManager.java | 528 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/model/ |
D | RawContact.java | 298 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()
|
D | AccountTypeManager.java | 256 final AccountWithDataSet accountWithDataSet = defaultAccount == null ? null : 260 if (accountWithDataSet != null) { 262 if (TextUtils.equals(accountWithDataSet.name, accounts[i].name) 263 && TextUtils.equals(accountWithDataSet.type, accounts[i].type)) { 625 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( 627 final AccountType type = mTypeProvider.getTypeForAccount(accountWithDataSet); 630 result.add(type.wrapAccount(mContext, accountWithDataSet));
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | MultiSelectContactsListFragment.java | 333 AccountWithDataSet accountWithDataSet, int memberCount) { in bindListHeader() argument 343 accountWithDataSet.type, accountWithDataSet.dataSet); in bindListHeader() 351 memberCount, accountWithDataSet.name) in bindListHeader()
|
D | ContactsRequest.java | 210 public void setAccountWithDataSet(AccountWithDataSet accountWithDataSet) { in setAccountWithDataSet() argument 211 mAccountWithDataSet = accountWithDataSet; in setAccountWithDataSet()
|
D | GroupMemberPickerFragment.java | 236 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet(mAccountName, in onLoadFinished() local 239 accountWithDataSet, cursorWrapper.getCount()); in onLoadFinished() local
|
D | DefaultContactBrowseListFragment.java | 328 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( in bindListHeader() local 331 accountWithDataSet, numberOfContacts); in bindListHeader() local
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SyncUtil.java | 57 for (AccountWithDataSet accountWithDataSet : accounts) { in isAnySyncing() 58 if (isSyncStatusPendingOrActive(accountWithDataSet.getAccountOrNull())) { in isAnySyncing()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 2792 AccountWithDataSet accountWithDataSet = null; in resolveAccountWithDataSet() local 2800 accountWithDataSet = AccountWithDataSet.get(account.name, account.type, dataSet); in resolveAccountWithDataSet() 2802 return accountWithDataSet; in resolveAccountWithDataSet() 5196 for (AccountWithDataSet accountWithDataSet : accountsWithDataSetsToDelete) { in updateAccountsInBackground() 5197 final Long accountIdOrNull = dbHelper.getAccountIdOrNull(accountWithDataSet); in updateAccountsInBackground() 5412 final AccountWithDataSet accountWithDataSet = AccountWithDataSet.get( in removeStaleAccountRows() local 5414 if (accountWithDataSet.isLocalAccount() in removeStaleAccountRows() 5415 || accountWithDataSet.inSystemAccounts(systemAccounts)) { in removeStaleAccountRows() 5423 new String[] {accountWithDataSet.getAccountName(), in removeStaleAccountRows() 5424 accountWithDataSet.getAccountType()}); in removeStaleAccountRows() [all …]
|
D | ContactsDatabaseHelper.java | 3985 public Long getAccountIdOrNull(AccountWithDataSet accountWithDataSet) { in getAccountIdOrNull() argument 3986 if (accountWithDataSet == null) { in getAccountIdOrNull() 3987 accountWithDataSet = AccountWithDataSet.LOCAL; in getAccountIdOrNull() 4000 DatabaseUtils.bindObjectToProgram(select, 1, accountWithDataSet.getAccountName()); in getAccountIdOrNull() 4001 DatabaseUtils.bindObjectToProgram(select, 2, accountWithDataSet.getAccountType()); in getAccountIdOrNull() 4002 DatabaseUtils.bindObjectToProgram(select, 3, accountWithDataSet.getDataSet()); in getAccountIdOrNull() 4019 public long getOrCreateAccountIdInTransaction(AccountWithDataSet accountWithDataSet) { in getOrCreateAccountIdInTransaction() argument 4020 if (accountWithDataSet == null) { in getOrCreateAccountIdInTransaction() 4021 accountWithDataSet = AccountWithDataSet.LOCAL; in getOrCreateAccountIdInTransaction() 4023 Long id = getAccountIdOrNull(accountWithDataSet); in getOrCreateAccountIdInTransaction() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 696 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( in bindMembersCount() local 699 accountWithDataSet, memberCount); in bindMembersCount() local
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | PeopleActivity.java | 1120 final AccountWithDataSet accountWithDataSet = new AccountWithDataSet( in onCreateGroupMenuItemClicked() local 1122 onAccountChosen(accountWithDataSet, /* extraArgs */ null); in onCreateGroupMenuItemClicked()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 1428 String accountWithDataSet = (!TextUtils.isEmpty(dataSet)) in computeAggregateData() local 1437 mContactsProvider.isWritableAccountWithDataSet(accountWithDataSet), in computeAggregateData() 1477 accountWithDataSet, in computeAggregateData()
|