/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | SelectAccountDialogFragment.java | 79 // We currently do not pass the dataSet argument to the listener. To do so, we would 80 // have to determine the dataSet as it is done in AccountTypeManager. 99 void onAccountChosen(Account account, String dataSet, int tag); argument
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | AccountTypeWithDataSet.java | 42 /** 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 D | AccountTypeProvider.java | 80 * a dataSet and accounts can declare extension packages in contacts.xml that provide additional 107 public boolean hasTypeWithDataset(String type, String dataSet) { argument 111 if (Objects.equal(accountType.dataSet, dataSet)) { 119 * Returns the AccountType with the matching type and dataSet or null if no account with those 122 public AccountType getType(String type, String dataSet) { argument 125 if (Objects.equal(accountType.dataSet, dataSet)) { 137 return getType(account.type, account.dataSet); 233 + accountType.accountType + ", dataSet [all...] |
H A D | AccountWithDataSet.java | 54 public final String dataSet; field in class:AccountWithDataSet 65 public AccountWithDataSet(String name, String type, String dataSet) { argument 68 this.dataSet = emptyToNull(dataSet); 69 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); 79 this.dataSet = in.readString(); 80 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); 84 return name == null && type == null && dataSet == null; 105 dest.writeString(dataSet); 135 if (TextUtils.isEmpty(dataSet)) { [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
H A D | AccountTypeWithDataSet.java | 41 /** dataSet may be null, but never be "". */ 42 public final String dataSet; field in class:AccountTypeWithDataSet 44 private AccountTypeWithDataSet(String accountType, String dataSet) { argument 46 this.dataSet = TextUtils.isEmpty(dataSet) ? null : dataSet; 49 public static AccountTypeWithDataSet get(String accountType, String dataSet) { argument 50 return new AccountTypeWithDataSet(accountType, dataSet); 61 if (TextUtils.isEmpty(dataSet)) { 66 args = new String[] {accountType, dataSet}; [all...] |
H A D | AccountWithDataSet.java | 62 public final String dataSet; field in class:AccountWithDataSet 65 public AccountWithDataSet(String name, String type, String dataSet) { argument 68 this.dataSet = emptyToNull(dataSet); 69 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); 75 this.dataSet = in.readString(); 76 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); 92 if (!TextUtils.isEmpty(account.dataSet)) { 93 sb.append(account.dataSet); 165 dest.writeString(dataSet); [all...] |
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
H A D | TestUtil.java | 55 String accountName, String accountType, String dataSet) { 62 .appendQueryParameter(RawContacts.DATA_SET, dataSet) 54 maybeAddAccountWithDataSetQueryParameters(Uri uri, String accountName, String accountType, String dataSet) argument
|
H A D | RawContactUtil.java | 87 String accountName, String accountType, String dataSet, String... extras) { 91 ContactsContract.RawContacts.CONTENT_URI, accountName, accountType, dataSet); 86 createRawContactWithAccountDataSet(ContentResolver resolver, String accountName, String accountType, String dataSet, String... extras) argument
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupMetaData.java | 50 public final String dataSet; field in class:GroupMetaData 75 this.dataSet = cursor.getString(GroupMetaDataLoader.DATA_SET); 92 dataSet = source.readString(); 106 dest.writeString(dataSet); 133 .add("dataSet", dataSet)
|
H A D | UpdateGroupMembersAsyncTask.java | 49 long groupId, String accountName, String accountType, String dataSet) { 56 mDataSet = dataSet; 48 UpdateGroupMembersAsyncTask(int type, Context context, long[] contactIds, long groupId, String accountName, String accountType, String dataSet) argument
|
H A D | GroupListItem.java | 33 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, argument 38 mDataSet = dataSet;
|
H A D | GroupUtil.java | 79 String dataSet = cursor.getString(GroupListLoader.DATA_SET); 98 && TextUtils.equals(dataSet, previousGroupDataSet)) { 103 return new GroupListItem(accountName, accountType, dataSet, groupId, title, 175 intent.putExtra(UiIntentActions.GROUP_ACCOUNT_DATA_SET, groupMetaData.dataSet); 302 public final int dataSet; field in class:GroupUtil.GroupsProjection 315 dataSet = cursor.getColumnIndex(Groups.DATA_SET); 330 dataSet = list.indexOf(Groups.DATA_SET);
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
H A D | ContactEditorUtilsTest.java | 235 public MockAccountType(String accountType, String dataSet, boolean areContactsWritable) { argument 237 this.dataSet = dataSet;
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
H A D | GroupMetaData.java | 35 String dataSet, 42 this.mDataSet = dataSet; 32 GroupMetaData( String accountName, String accountType, String dataSet, long groupId, String title, boolean defaultGroup, boolean favorites) argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | AccountWithDataSet.java | 34 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/ |
H A D | SplitAggregateView.java | 118 String dataSet; field in class:SplitAggregateView.RawContactInfo 171 info.dataSet = cursor.getString(SplitQuery.DATA_SET); 254 AccountType accountType = mAccountTypes.getAccountType(info.accountType, info.dataSet);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListFilter.java | 62 private static final String KEY_DATA_SET = "filter.dataSet"; 67 public final String dataSet; field in class:ContactListFilter 71 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, argument 76 this.dataSet = dataSet; 85 String dataSet, Drawable icon) { 87 accountName, dataSet, icon); 91 String dataSet) { 93 accountName, dataSet, /* icon */ null); 98 /* accountType= */ null, /* accountName= */ null, /* dataSet 84 createAccountFilter(String accountType, String accountName, String dataSet, Drawable icon) argument 90 createGroupMembersFilter(String accountType, String accountName, String dataSet) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | RawContact.java | 271 private void setAccount(String accountName, String accountType, String dataSet) { argument 274 if (accountType == null && dataSet == null) { 283 // This is a valid account, either with or without a dataSet. 286 if (dataSet == null) { 289 values.put(RawContacts.DATA_SET, dataSet); 301 accountWithDataSet.dataSet);
|
H A D | AccountTypeManager.java | 274 public final AccountType getAccountType(String accountType, String dataSet) { argument 275 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet)); 287 * {@link AccountType#accountType}, {@link AccountType#dataSet}, and {@link DataKind#mimeType}. 597 account.name, account.type, type.dataSet)); 626 // Accounts with a dataSet (e.g. Google plus accounts) are not writable. 656 * {@link AccountType#accountType}, {@link AccountType#dataSet}, and {@link DataKind#mimeType}. 708 accountTypeWithDataSet.accountType, accountTypeWithDataSet.dataSet);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ContactListFilter.java | 45 String dataSet = source.readString(); 46 return new ContactListFilter(filterType, accountType, accountName, dataSet, null); 65 private static final String KEY_DATA_SET = "filter.dataSet"; 69 public final String dataSet; field in class:ContactListFilter 74 int filterType, String accountType, String accountName, String dataSet, Drawable icon) { 78 this.dataSet = dataSet; 87 String accountType, String accountName, String dataSet, Drawable icon) { 89 ContactListFilter.FILTER_TYPE_ACCOUNT, accountType, accountName, dataSet, icon); 106 .putString(KEY_DATA_SET, filter == null ? null : filter.dataSet) 73 ContactListFilter( int filterType, String accountType, String accountName, String dataSet, Drawable icon) argument 86 createAccountFilter( String accountType, String accountName, String dataSet, Drawable icon) argument [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
H A D | RawContact.java | 184 private void setAccount(String accountName, String accountType, String dataSet) { argument 187 if (accountType == null && dataSet == null) { 196 // This is a valid account, either with or without a dataSet. 199 if (dataSet == null) { 202 values.put(RawContacts.DATA_SET, dataSet); 213 setAccount(accountWithDataSet.name, accountWithDataSet.type, accountWithDataSet.dataSet);
|
H A D | AccountTypeManager.java | 120 public final AccountType getAccountType(String accountType, String dataSet) { argument 121 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet)); 146 * AccountType#dataSet}, and {@link DataKind#mimeType}. If no direct match found, we try searching 196 && Objects.equals(a.dataSet, b.dataSet)) { 213 if (a.dataSet != null) { 214 return b.dataSet == null ? 1 : a.dataSet.compareTo(b.dataSet); 507 + ", dataSet [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | HistoryAdapter.java | 49 public HistoryAdapter(ArrayList<HistoryItem> dataSet) { argument 50 mDataSet = dataSet; 127 public void setDataSet(ArrayList<HistoryItem> dataSet) { argument 128 mDataSet = dataSet; 173 * Gets the HistoryItem from mDataSet, lazy-filling the dataSet if necessary.
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactMetadataProviderTest.java | 549 private long insertMetadata(String accountName, String accountType, String dataSet, argument 552 accountName, accountType, dataSet, backupId, data, deleted)); 556 String dataSet, String backupId, String data, int deleted) { 560 values.put(MetadataSync.DATA_SET, dataSet); 572 String dataSet, byte[] state) { 574 getSyncStateValues(accountName, accountType, dataSet, state))); 578 String dataSet, byte[] state) { 582 values.put(MetadataSyncState.DATA_SET, dataSet); 555 getMetadataContentValues(String accountName, String accountType, String dataSet, String backupId, String data, int deleted) argument 571 insertMetadataSyncState(String accountName, String accountType, String dataSet, byte[] state) argument 577 getSyncStateValues(String accountName, String accountType, String dataSet, byte[] state) argument
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
H A D | PhoneNumberInteraction.java | 311 item.dataSet = cursor.getString(dataSetColumn); 405 String dataSet; field in class:PhoneNumberInteraction.PhoneItem 417 this.dataSet = in.readString(); 428 dest.writeString(dataSet);
|