/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactListFilter.java | 61 private static final String KEY_ACCOUNT_TYPE = "filter.accountType"; 65 public final String accountType; 71 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, 74 this.accountType = accountType; 84 public static ContactListFilter createAccountFilter(String accountType, String accountName, 86 return new ContactListFilter(ContactListFilter.FILTER_TYPE_ACCOUNT, accountType, 90 public static ContactListFilter createGroupMembersFilter(String accountType, String accountName, 92 return new ContactListFilter(ContactListFilter.FILTER_TYPE_GROUP_MEMBERS, accountType, 98 /* accountType= */ null, /* accountName= */ null, /* dataSet= */ null, icon) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
PeopleActivityTest.java | 33 import com.android.contacts.model.account.AccountType; 85 AccountType accountType = new BaseAccountType() { 91 accountType.accountType = TEST_ACCOUNT_TYPE; 97 new AccountType[] { accountType }, new AccountWithDataSet[] { account });
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ContactListFilter.java | 44 String accountType = source.readString(); 46 return new ContactListFilter(filterType, accountType, accountName, dataSet, null); 64 private static final String KEY_ACCOUNT_TYPE = "filter.accountType"; 67 public final String accountType; 74 int filterType, String accountType, String accountName, String dataSet, Drawable icon) { 76 this.accountType = accountType; 87 String accountType, String accountName, String dataSet, Drawable icon) { 89 ContactListFilter.FILTER_TYPE_ACCOUNT, accountType, accountName, dataSet, icon); 105 .putString(KEY_ACCOUNT_TYPE, filter == null ? null : filter.accountType) [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
AccountReconciler.java | 188 accountManagerAccounts, providerAccountName, infoForAccount.accountType)) { 259 final String accountType = accountManagerAccount.type; 261 context, accountType);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
GoogleSource.java | 46 this.accountType = ACCOUNT_TYPE; 165 final String accountType = stateValues.getAsString(RawContacts.ACCOUNT_TYPE); 166 attemptMyContactsMembership(state, accountName, accountType, context, true); 180 final String accountName, final String accountType, Context context, 187 new String[] {accountName, accountType}, null); 218 newGroup.put(Groups.ACCOUNT_TYPE, accountType); 244 state, accountName, accountType, context, false);
|
Sources.java | 119 mSources.put(source.accountType, source); 204 final String accountType = sync.accountType; 205 final AuthenticatorDescription auth = findAuthenticator(auths, accountType); 208 if (GoogleSource.ACCOUNT_TYPE.equals(accountType)) { 210 } else if (ExchangeSource.ACCOUNT_TYPE.equals(accountType)) { 214 Log.d(TAG, "Creating external source for type=" + accountType 220 source.accountType = auth.type; 236 String accountType) { 238 if (accountType.equals(auth.type)) [all...] |
ContactsSource.java | 52 public String accountType = null; 126 return this.accountType;
|
/development/apps/Development/src/com/android/development/ |
SyncAdapterDriver.java | 101 names[i] = item.type.authority + " - " + item.type.accountType; 139 mActiveServiceConnection.mSyncAdapter.type.accountType); 167 mActiveServiceConnection.mSyncAdapter.type.accountType); 236 type.authority, type.accountType)); 357 final String accountType = 359 if (authority == null || accountType == null) { 374 return new SyncAdapterType(authority, accountType, userVisible, supportsUploading,
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncAdapter.java | 84 String accountType; 131 mData[p].accountType = c.getString(mAccountTypeColumn); 217 return mCache.hasColors(mData[position].accountName, mData[position].accountType);
|
SelectCalendarsSimpleAdapter.java | 91 String accountType; 206 mData[p].accountType = c.getString(mAccountTypeColumn); 331 return mCache.hasColors(mData[position].accountName, mData[position].accountType);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
PhotoSelectionHandler.java | 46 import com.android.contacts.model.account.AccountType; 224 final AccountType accountType = AccountTypeManager.getInstance(mContext).getAccountType( 228 delta, accountType, Photo.CONTENT_ITEM_TYPE);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PickRawContactLoader.java | 17 import com.android.contacts.model.account.AccountType; 118 rawContact.accountType = rawContactCursor.getString(ACCOUNT_TYPE); 223 final AccountType account = accountManager.getAccountType( 224 rawContact.accountType, rawContact.accountDataSet); 237 final AccountType account = accountManager.getAccountType( 238 rawContact.accountType, rawContact.accountDataSet); 280 public String accountType; 291 accountType = in.readString(); 307 dest.writeString(accountType);
|
AggregationSuggestionEngine.java | 393 final String accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE); 396 accountName, accountType, dataSet);
|
GroupMembershipView.java | 283 String accountType = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_TYPE); 285 if (accountName.equals(mAccountName) && accountType.equals(mAccountType) 356 String accountType = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_TYPE); 358 if (accountName.equals(mAccountName) && accountType.equals(mAccountType)
|
KindSectionView.java | 37 import com.android.contacts.model.account.AccountType; 329 private void addNameEditorViews(AccountType accountType, RawContactDelta rawContactDelta) { 330 final boolean readOnly = !accountType.areContactsWritable(); 348 .setImageDrawable(accountType.getDisplayIcon(getContext())); 350 .setText(accountType.getDisplayLabel(getContext())); 365 nameView.setValues(accountType.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_NAME), 373 final DataKind phoneticNameKind = accountType 383 accountType.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME),
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupUtil.java | 78 String accountType = cursor.getString(GroupListLoader.ACCOUNT_TYPE); 97 && TextUtils.equals(accountType, previousGroupAccountType) 103 return new GroupListItem(accountName, accountType, dataSet, groupId, title, 174 intent.putExtra(UiIntentActions.GROUP_ACCOUNT_TYPE, groupMetaData.accountType); 301 public final int accountType; 314 accountType = cursor.getColumnIndex(Groups.ACCOUNT_TYPE); 329 accountType = list.indexOf(Groups.ACCOUNT_TYPE); 354 if (accountType == -1 || isReadOnly == -1 || 358 return GoogleAccountType.ACCOUNT_TYPE.equals(cursor.getString(accountType))
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
ContactLoaderTest.java | 33 import com.android.contacts.model.account.AccountType; 69 AccountType accountType = new BaseAccountType() { 75 accountType.accountType = "mockAccountType"; 82 new AccountType[]{accountType}, new AccountWithDataSet[]{account}));
|
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
CallingAccountSelector.java | 356 Optional<String> accountType = 358 if (!accountType.isPresent() || !validAccountTypes.contains(accountType.get())) { 359 LogUtil.i("CallingAccountSelector.getDataId", "ignoring non-writable " + accountType);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ChooseAccountActivity.java | 88 ProviderEntry(CharSequence providerName, String accountType) { 90 type = accountType; 124 for (String accountType : accountTypesFilter) { 125 mAccountTypesFilter.add(accountType); 151 String accountType = mAuthDescs[i].type; 152 CharSequence providerName = getLabelForType(accountType); 156 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType); 168 && !mAccountTypesFilter.contains(accountType)) { 172 mProviderList.add(new ProviderEntry(providerName, accountType)); 238 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactMetadataProvider.java | 408 String accountType = values.getAsString(MetadataSync.ACCOUNT_TYPE); 410 final boolean partialUri = TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType); 418 accountName, accountType, dataSet);
|
/packages/services/Telephony/src/com/android/phone/ |
SimContacts.java | 238 final String accountType = intent.getStringExtra("account_type"); 239 if (!TextUtils.isEmpty(accountName) && !TextUtils.isEmpty(accountType)) { 240 mAccount = new Account(accountName, accountType);
|
/frameworks/base/core/java/com/android/server/backup/ |
AccountSyncSettingsBackupHelper.java | 140 if (!accountTypeToAuthorities.containsKey(syncAdapter.accountType)) { 141 accountTypeToAuthorities.put(syncAdapter.accountType, new ArrayList<String>()); 143 accountTypeToAuthorities.get(syncAdapter.accountType).add(syncAdapter.authority); 282 String accountType = accountJSON.getString(KEY_ACCOUNT_TYPE); 286 account = new Account(accountName, accountType); 399 String accountType = accountJSON.getString(KEY_ACCOUNT_TYPE); 401 final Account account = new Account(accountName, accountType);
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncOperation.java | 197 accountBundle.putString("accountType", account.type); 225 jobInfoExtras.putString("accountType", target.account.type); 251 String accountName, accountType; 267 accountType = jobExtras.getString("accountType"); 293 accountsBundle.getString("accountType")); 298 Account account = new Account(accountName, accountType);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 42 import com.android.contacts.model.account.AccountType; 256 final String accountType = cursor.getString(COLUMN_INDEX_ACCOUNT_TYPE); 262 AccountType type = accountTypes.getAccountType(accountType, dataSet);
|
ContactMultiDeletionInteraction.java | 38 import com.android.contacts.model.account.AccountType; 211 final String accountType = cursor.getString(COLUMN_INDEX_ACCOUNT_TYPE); 224 final AccountType type = accountTypes.getAccountType(accountType, dataSet);
|