Searched refs:dataSet (Results 1 - 25 of 53) sorted by relevance

123

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DAccountTypeWithDataSet.java42 /** dataSet may be null, but never be "". */
43 public final String dataSet; field in class:AccountTypeWithDataSet
45 private AccountTypeWithDataSet(String accountType, String dataSet) { argument
47 this.dataSet = TextUtils.isEmpty(dataSet) ? null : dataSet;
50 public static AccountTypeWithDataSet get(String accountType, String dataSet) { argument
51 return new AccountTypeWithDataSet(accountType, dataSet);
62 if (TextUtils.isEmpty(dataSet)) {
67 args = new String[] {accountType, dataSet};
[all...]
H A DAccountWithDataSet.java48 public final String dataSet; field in class:AccountWithDataSet
56 public AccountWithDataSet(String name, String type, String dataSet) { argument
58 this.dataSet = dataSet;
59 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet);
64 this.dataSet = in.readString();
65 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet);
71 dest.writeString(dataSet);
98 if (TextUtils.isEmpty(dataSet)) {
103 args = new String[] {type, name, dataSet};
[all...]
H A DFallbackAccountType.java31 this.dataSet = null;
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListFilter.java52 private static final String KEY_DATA_SET = "filter.dataSet";
57 public final String dataSet; field in class:ContactListFilter
61 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, argument
66 this.dataSet = dataSet;
75 String dataSet, Drawable icon) {
77 accountName, dataSet, icon);
103 return "account: " + accountType + (dataSet != null ? "/" + dataSet : "")
131 if (dataSet !
74 createAccountFilter(String accountType, String accountName, String dataSet, Drawable icon) argument
[all...]
H A DCustomContactListFilterActivity.java139 new AccountDisplay(resolver, account.name, account.type, account.dataSet);
144 if (account.dataSet != null) {
145 groupsUri.appendQueryParameter(Groups.DATA_SET, account.dataSet).build();
163 account.dataSet, hasGroups);
253 String accountType, String dataSet, boolean accountHasGroups) {
257 if (dataSet != null) {
258 settingsUri.appendQueryParameter(Settings.DATA_SET, dataSet);
268 values.put(Settings.DATA_SET, dataSet);
377 String dataSet = this.getAsString(Settings.DATA_SET);
381 if (dataSet
252 fromSettings(ContentResolver resolver, String accountName, String accountType, String dataSet, boolean accountHasGroups) argument
464 AccountDisplay(ContentResolver resolver, String accountName, String accountType, String dataSet) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAccountWithDataSet.java34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { argument
37 mDataSet = emptyToNull(dataSet);
44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { argument
45 return new AccountWithDataSet(accountName, accountType, dataSet);
48 public static AccountWithDataSet get(Account account, String dataSet) { argument
89 return "AccountWithDataSet {name=" + mAccountName + ", type=" + mAccountType + ", dataSet="
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupListItem.java31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, argument
35 mDataSet = dataSet;
H A DGroupDetailDisplayUtils.java42 String dataSet) {
44 AccountType accountType = accountTypeManager.getAccountType(accountTypeString, dataSet);
41 bindGroupSourceView(Context context, View view, String accountTypeString, String dataSet) argument
H A DGroupDetailFragment.java78 public void onAccountTypeUpdated(String accountTypeString, String dataSet); argument
300 final String dataSet = cursor.getString(GroupMetaDataLoader.DATA_SET);
301 updateAccountType(accountTypeString, dataSet);
345 private void updateAccountType(final String accountTypeString, final String dataSet) { argument
348 manager.getAccountType(accountTypeString, dataSet);
356 mListener.onAccountTypeUpdated(accountTypeString, dataSet);
376 accountTypeString, dataSet);
H A DGroupBrowseListAdapter.java121 String dataSet = mCursor.getString(GroupListLoader.DATA_SET);
138 Objects.equal(dataSet, previousGroupDataSet)) {
143 return new GroupListItem(accountName, accountType, dataSet, groupId, title,
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DGroupMetaData.java31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument
35 this.mDataSet = dataSet;
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupCreationDialogFragment.java34 private static final String ARG_DATA_SET = "dataSet";
46 String dataSet, OnGroupCreatedListener listener) {
51 args.putString(ARG_DATA_SET, dataSet);
84 String dataSet = arguments.getString(ARG_DATA_SET);
95 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel,
44 show( FragmentManager fragmentManager, String accountType, String accountName, String dataSet, OnGroupCreatedListener listener) argument
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DContactEditorUtilsTest.java50 "a", TYPE1.accountType, TYPE1.dataSet);
52 "b", TYPE1.accountType, TYPE1.dataSet);
55 "a", TYPE2.accountType, TYPE2.dataSet);
57 "a", TYPE2EX.accountType, TYPE2EX.dataSet);
60 "c", TYPE3.accountType, TYPE3.dataSet);
302 public MockAccountType(String accountType, String dataSet, boolean areContactsWritable) { argument
304 this.dataSet = dataSet;
/packages/apps/Contacts/src/com/android/contacts/util/
H A DStreamItemEntry.java63 long timestamp, String accountType, String accountName, String dataSet,
65 return new StreamItemEntry(id, text, comments, timestamp, accountType, accountName, dataSet,
70 String accountType, String accountName, String dataSet, String resPackage,
78 mDataSet = dataSet;
62 createForTest(long id, String text, String comments, long timestamp, String accountType, String accountName, String dataSet, String resPackage, String iconRes, String labelRes) argument
69 StreamItemEntry(long id, String text, String comments, long timestamp, String accountType, String accountName, String dataSet, String resPackage, String iconRes, String labelRes) argument
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
H A DAccountTypeManagerTest.java130 return new AccountWithDataSet(name, type.accountType, type.dataSet);
177 public MockAccountType(String type, String dataSet, String inviteContactActivityClassName) { argument
179 this.dataSet = dataSet;
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockAccountTypeManager.java47 && Objects.equal(accountTypeWithDataSet.dataSet, type.dataSet)) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAggregationSuggestionView.java118 String dataSet = rawContact.dataSet;
122 AccountType type = accountTypes.getAccountType(accountType, dataSet);
H A DGroupMembershipView.java226 String dataSet = mGroupMetaData.getString(GroupMetaDataLoader.DATA_SET);
228 && Objects.equal(dataSet, mDataSet)) {
295 String dataSet = mGroupMetaData.getString(GroupMetaDataLoader.DATA_SET);
297 && Objects.equal(dataSet, mDataSet)) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DSelectAccountActivity.java71 intent.putExtra(DATA_SET, account.dataSet);
90 intent.putExtra(DATA_SET, account.dataSet);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DRawContact.java282 private void setAccount(String accountName, String accountType, String dataSet) { argument
285 if (accountType == null && dataSet == null) {
294 // This is a valid account, either with or without a dataSet.
297 if (dataSet == null) {
300 values.put(RawContacts.DATA_SET, dataSet);
310 setAccount(accountWithDataSet.name, accountWithDataSet.type, accountWithDataSet.dataSet);
H A DAccountTypeManager.java125 public final AccountType getAccountType(String accountType, String dataSet) { argument
126 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet));
150 * {@link AccountType#accountType}, {@link AccountType#dataSet}, and {@link DataKind#mimeType}.
253 aDataSet = ((AccountWithDataSet) a).dataSet;
256 bDataSet = ((AccountWithDataSet) b).dataSet;
471 + accountType.accountType + ", dataSet=" + accountType.dataSet
492 account.name, account.type, accountType.dataSet);
587 * {@link AccountType#accountType}, {@link AccountType#dataSet}, and {@link DataKind#mimeType}.
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DGroupDetailActivity.java92 public void onAccountTypeUpdated(String accountTypeString, String dataSet) {
94 mDataSet = dataSet;
H A DContactEditorActivity.java207 account.type, account.dataSet);
219 intent.putExtra(RawContacts.DATA_SET, account.dataSet);
232 account.type, account.dataSet);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DAccountSelectionUtil.java124 account.type, account.dataSet);
172 importIntent.putExtra("data_set", account.dataSet);
183 importIntent.putExtra("data_set", account.dataSet);
/packages/apps/Contacts/src/com/android/contacts/
H A DSplitAggregateView.java118 String dataSet; field in class:SplitAggregateView.RawContactInfo
168 info.dataSet = cursor.getString(SplitQuery.DATA_SET);
251 AccountType accountType = mAccountTypes.getAccountType(info.accountType, info.dataSet);

Completed in 274 milliseconds

123