/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 67 public final String dataSet; field in ContactListFilter 71 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, in ContactListFilter() argument 76 this.dataSet = dataSet; in ContactListFilter() 85 String dataSet, Drawable icon) { in createAccountFilter() argument 87 accountName, dataSet, icon); in createAccountFilter() 91 String dataSet) { in createGroupMembersFilter() argument 93 accountName, dataSet, /* icon */ null); in createGroupMembersFilter() 104 account.type, account.name, account.dataSet, icon); in createDeviceContactsFilter() 166 return "account: " + accountType + (dataSet != null ? "/" + dataSet : "") in toString() 200 if (dataSet != null) { in hashCode() [all …]
|
D | CustomContactListFilterActivity.java | 177 if (account.dataSet != null) { in createAccountSet() 178 groupsUri.appendQueryParameter(Groups.DATA_SET, account.dataSet).build(); in createAccountSet() 200 account.dataSet, hasGroups); in createAccountSet() 255 String accountType, String dataSet, boolean accountHasGroups) { 259 if (dataSet != null) { 260 settingsUri.appendQueryParameter(Settings.DATA_SET, dataSet); 270 values.put(Settings.DATA_SET, dataSet); 380 String dataSet = this.getAsString(Settings.DATA_SET); 384 if (dataSet == null) { 389 selectionArgs = new String[] {accountName, accountType, dataSet}; [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListFilter.java | 45 String dataSet = source.readString(); 46 return new ContactListFilter(filterType, accountType, accountName, dataSet, null); 69 public final String dataSet; field in ContactListFilter 74 int filterType, String accountType, String accountName, String dataSet, Drawable icon) { in ContactListFilter() argument 78 this.dataSet = dataSet; in ContactListFilter() 87 String accountType, String accountName, String dataSet, Drawable icon) { in createAccountFilter() argument 89 ContactListFilter.FILTER_TYPE_ACCOUNT, accountType, accountName, dataSet, icon); in createAccountFilter() 106 .putString(KEY_DATA_SET, filter == null ? null : filter.dataSet) in storeToPreferences() 135 String dataSet = prefs.getString(KEY_DATA_SET, null); in restoreFromPreferences() local 136 return new ContactListFilter(filterType, accountType, accountName, dataSet, null); in restoreFromPreferences() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountWithDataSet.java | 54 public final String dataSet; field in AccountWithDataSet 65 public AccountWithDataSet(String name, String type, String dataSet) { in AccountWithDataSet() argument 68 this.dataSet = emptyToNull(dataSet); in AccountWithDataSet() 69 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); in AccountWithDataSet() 79 this.dataSet = in.readString(); in AccountWithDataSet() 80 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); in AccountWithDataSet() 84 return name == null && type == null && dataSet == null; in isNullAccount() 105 dest.writeString(dataSet); in writeToParcel() 135 if (TextUtils.isEmpty(dataSet)) { in hasData() 140 args = new String[] {type, name, dataSet}; in hasData() [all …]
|
D | AccountTypeWithDataSet.java | 43 public final String dataSet; field in AccountTypeWithDataSet 45 private AccountTypeWithDataSet(String accountType, String dataSet) { in AccountTypeWithDataSet() argument 47 this.dataSet = TextUtils.isEmpty(dataSet) ? null : dataSet; in AccountTypeWithDataSet() 50 public static AccountTypeWithDataSet get(String accountType, String dataSet) { in get() argument 51 return new AccountTypeWithDataSet(accountType, dataSet); in get() 62 if (TextUtils.isEmpty(dataSet)) { in hasData() 67 args = new String[] {accountType, dataSet}; in hasData() 86 && Objects.equal(dataSet, other.dataSet); in equals() 92 ^ (dataSet == null ? 0 : dataSet.hashCode()); in hashCode() 97 return "[" + accountType + "/" + dataSet + "]"; in toString()
|
D | AccountComparator.java | 35 && Objects.equal(a.dataSet, b.dataSet)) { in compare() 60 if (a.dataSet != null) { in compare() 61 return b.dataSet == null ? 1 : a.dataSet.compareToIgnoreCase(b.dataSet); in compare() 69 return GoogleAccountType.ACCOUNT_TYPE.equals(account.type) && account.dataSet == null; in isWritableGoogleAccount()
|
D | AccountTypeProvider.java | 107 public boolean hasTypeWithDataset(String type, String dataSet) { in hasTypeWithDataset() argument 111 if (Objects.equal(accountType.dataSet, dataSet)) { in hasTypeWithDataset() 122 public AccountType getType(String type, String dataSet) { in getType() argument 125 if (Objects.equal(accountType.dataSet, dataSet)) { in getType() 137 return getType(account.type, account.dataSet); in getTypeForAccount() 233 + accountType.accountType + ", dataSet=" + accountType.dataSet in loadTypes()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | AccountTypeWithDataSet.java | 42 public final String dataSet; field in AccountTypeWithDataSet 44 private AccountTypeWithDataSet(String accountType, String dataSet) { in AccountTypeWithDataSet() argument 46 this.dataSet = TextUtils.isEmpty(dataSet) ? null : dataSet; in AccountTypeWithDataSet() 49 public static AccountTypeWithDataSet get(String accountType, String dataSet) { in get() argument 50 return new AccountTypeWithDataSet(accountType, dataSet); in get() 61 if (TextUtils.isEmpty(dataSet)) { in hasData() 66 args = new String[] {accountType, dataSet}; in hasData() 90 return Objects.equals(accountType, other.accountType) && Objects.equals(dataSet, other.dataSet); in equals() 96 ^ (dataSet == null ? 0 : dataSet.hashCode()); in hashCode() 101 return "[" + accountType + "/" + dataSet + "]"; in toString()
|
D | AccountWithDataSet.java | 62 public final String dataSet; field in AccountWithDataSet 65 public AccountWithDataSet(String name, String type, String dataSet) { in AccountWithDataSet() argument 68 this.dataSet = emptyToNull(dataSet); in AccountWithDataSet() 69 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); in AccountWithDataSet() 75 this.dataSet = in.readString(); in AccountWithDataSet() 76 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); in AccountWithDataSet() 92 if (!TextUtils.isEmpty(account.dataSet)) { in addStringified() 93 sb.append(account.dataSet); in addStringified() 165 dest.writeString(dataSet); in writeToParcel() 181 if (TextUtils.isEmpty(dataSet)) { in hasData() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactDeltaComparator.java | 92 if (type1.dataSet != null && type2.dataSet == null) { in compare() 94 } else if (type1.dataSet == null && type2.dataSet != null) { in compare() 98 if (type1.dataSet != null && type2.dataSet != null) { in compare() 99 value = type1.dataSet.compareTo(type2.dataSet); in compare()
|
D | GroupMembershipView.java | 284 String dataSet = mGroupMetaData.getString(GroupMetaDataLoader.DATA_SET); in updateView() local 286 && Objects.equal(dataSet, mDataSet)) { in updateView() 357 String dataSet = mGroupMetaData.getString(GroupMetaDataLoader.DATA_SET); in onClick() local 359 && Objects.equal(dataSet, mDataSet)) { in onClick()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AccountWithDataSet.java | 34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { in AccountWithDataSet() argument 37 mDataSet = emptyToNull(dataSet); in AccountWithDataSet() 44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { in get() argument 45 return new AccountWithDataSet(accountName, accountType, dataSet); in get() 48 public static AccountWithDataSet get(Account account, String dataSet) { in get() argument
|
D | MetadataEntryParser.java | 101 String dataSet) { in RawContactInfo() argument 105 mDataSet = dataSet; in RawContactInfo() 255 String dataSet = null; in parseUniqueContact() local 258 dataSet = PLUS_DATA_SET_TYPE; in parseUniqueContact() 261 dataSet = uniqueContactJSON.getString(CUSTOM_DATA_SET); in parseUniqueContact() 270 backupId, accountType, accountName, dataSet); in parseUniqueContact()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | AccountTypeManager.java | 120 public final AccountType getAccountType(String accountType, String dataSet) { in getAccountType() argument 121 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet)); in getAccountType() 196 && Objects.equals(a.dataSet, b.dataSet)) { 213 if (a.dataSet != null) { 214 return b.dataSet == null ? 1 : a.dataSet.compareTo(b.dataSet); 508 + accountType.dataSet in loadAccountsInBackground() 529 new AccountWithDataSet(account.name, account.type, accountType.dataSet); in loadAccountsInBackground()
|
D | RawContact.java | 184 private void setAccount(String accountName, String accountType, String dataSet) { in setAccount() argument 187 if (accountType == null && dataSet == null) { in setAccount() 199 if (dataSet == null) { in setAccount() 202 values.put(RawContacts.DATA_SET, dataSet); in setAccount() 213 setAccount(accountWithDataSet.name, accountWithDataSet.type, accountWithDataSet.dataSet); in setAccount()
|
D | ContactLoader.java | 601 final String dataSet = rawContact.getDataSet(); in loadGroupMetaData() local 602 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData() 612 if (dataSet != null) { in loadGroupMetaData() 614 selectionArgs.add(dataSet); in loadGroupMetaData() 637 final String dataSet = cursor.getString(GroupQuery.DATA_SET); in loadGroupMetaData() local 647 accountName, accountType, dataSet, groupId, title, defaultGroup, favorites)); in loadGroupMetaData() 977 public AccountKey(String accountName, String accountType, String dataSet) { in AccountKey() argument 980 mDataSet = dataSet; in AccountKey()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMetaData.java | 50 public final String dataSet; field in GroupMetaData 75 this.dataSet = cursor.getString(GroupMetaDataLoader.DATA_SET); in GroupMetaData() 92 dataSet = source.readString(); in GroupMetaData() 106 dest.writeString(dataSet); in writeToParcel() 133 .add("dataSet", dataSet) in toString()
|
D | GroupUtil.java | 79 String dataSet = cursor.getString(GroupListLoader.DATA_SET); in getGroupListItem() local 98 && TextUtils.equals(dataSet, previousGroupDataSet)) { in getGroupListItem() 103 return new GroupListItem(accountName, accountType, dataSet, groupId, title, in getGroupListItem() 175 intent.putExtra(UiIntentActions.GROUP_ACCOUNT_DATA_SET, groupMetaData.dataSet); in createPickMemberIntent() 302 public final int dataSet; field in GroupUtil.GroupsProjection 315 dataSet = cursor.getColumnIndex(Groups.DATA_SET); in GroupsProjection() 330 dataSet = list.indexOf(Groups.DATA_SET); in GroupsProjection()
|
D | GroupNameEditDialogFragment.java | 359 if (mAccount.dataSet != null) { in getSelection() 366 final int len = mAccount.dataSet == null ? 3 : 4; in getSelectionArgs() 371 if (mAccount.dataSet != null) { in getSelectionArgs() 372 args[3] = mAccount.dataSet; in getSelectionArgs()
|
D | GroupListItem.java | 33 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, in GroupListItem() argument 38 mDataSet = dataSet; in GroupListItem()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactMetadataProviderTest.java | 549 private long insertMetadata(String accountName, String accountType, String dataSet, in insertMetadata() argument 552 accountName, accountType, dataSet, backupId, data, deleted)); in insertMetadata() 556 String dataSet, String backupId, String data, int deleted) { in getMetadataContentValues() argument 560 values.put(MetadataSync.DATA_SET, dataSet); in getMetadataContentValues() 572 String dataSet, byte[] state) { in insertMetadataSyncState() argument 574 getSyncStateValues(accountName, accountType, dataSet, state))); in insertMetadataSyncState() 578 String dataSet, byte[] state) { in getSyncStateValues() argument 582 values.put(MetadataSyncState.DATA_SET, dataSet); in getSyncStateValues()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContact.java | 271 private void setAccount(String accountName, String accountType, String dataSet) { in setAccount() argument 274 if (accountType == null && dataSet == null) { in setAccount() 286 if (dataSet == null) { in setAccount() 289 values.put(RawContacts.DATA_SET, dataSet); in setAccount() 301 accountWithDataSet.dataSet); in setAccount()
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | ContactEditorUtilsTest.java | 235 public MockAccountType(String accountType, String dataSet, boolean areContactsWritable) { in MockAccountType() argument 237 this.dataSet = dataSet; in MockAccountType()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | AccountSelectionUtil.java | 124 account.type, account.dataSet); in getSelectAccountDialog() 173 importIntent.putExtra("data_set", account.dataSet); in doImportFromSim() 185 importIntent.putExtra("data_set", account.dataSet); in doImportFromVcfFile()
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | GroupMetaData.java | 35 String dataSet, in GroupMetaData() argument 42 this.mDataSet = dataSet; in GroupMetaData()
|