Home
last modified time | relevance | path

Searched refs:getAccountType (Results 1 – 25 of 53) sorted by relevance

123

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAccountWithDataSet.java60 public String getAccountType() { in getAccountType() method in AccountWithDataSet
77 && Objects.equal(mAccountType, other.getAccountType()) in equals()
106 && Objects.equal(systemAccount.type, getAccountType())) { in inSystemAccounts()
125 && Objects.equal(simAccount.getAccountType(), getAccountType())) { in inSimAccounts()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java151 protected AccountType getAccountType() { in getAccountType() method in RawContactModifierTests
200 final AccountType source = getAccountType(); in testValidTypes()
245 final AccountType source = getAccountType(); in testValidTypesWhenUpdating()
282 final AccountType source = getAccountType(); in testCanInsert()
311 final AccountType source = getAccountType(); in testBestValidType()
347 final AccountType source = getAccountType(); in testIsEmptyEmpty()
358 final AccountType source = getAccountType(); in testIsEmptyDirectFields()
375 final AccountType source = getAccountType(); in testTrimEmptySingle()
420 final AccountType source = getAccountType(); in testTrimEmptySpaces()
446 final AccountType source = getAccountType(); in testTrimLeaveValid()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java168 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) {
279 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet);
281 public final AccountType getAccountType(String accountType, String dataSet) {
282 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet));
287 return getAccountType(account.getAccountTypeWithDataSet());
289 return getAccountType(null, null);
544 simAccount.getAccountType(), null));
745 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) {
DRawContactDelta.java214 return AccountTypeManager.getInstance(context).getAccountType(type, dataSet); in getRawContactAccountType()
225 public String getAccountType() { in getAccountType() method in RawContactDelta
233 public AccountType getAccountType(AccountTypeManager manager) { in getAccountType() method in RawContactDelta
234 return manager.getAccountType(getAccountType(), getDataSet()); in getAccountType()
238 return new AccountWithDataSet(getAccountName(), getAccountType(), getDataSet()); in getAccountWithDataSet()
DRawContact.java260 public AccountType getAccountType(Context context) { in getAccountType() method in RawContact
261 return getAccountTypeManager(context).getAccountType(getAccountTypeString(), getDataSet()); in getAccountType()
DContact.java383 AccountType accountType = rawContact.getAccountType(context); in getFirstWritableRawContactId()
473 final AccountType accountType = rawContact.getAccountType(context); in areAllRawContactsSimAccounts()
/packages/apps/Contacts/src/com/android/contacts/util/
DDeviceLocalAccountTypeFactory.java48 AccountType getAccountType(String accountType); in getAccountType() method
77 simAccount.getAccountType())) { in classifyAccount()
87 public AccountType getAccountType(String accountType) { in getAccountType() method in DeviceLocalAccountTypeFactory.Default
/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java118 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet); in getAccountType() method in AccountTypeManager
120 public final AccountType getAccountType(String accountType, String dataSet) { in getAccountType() method in AccountTypeManager
121 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet)); in getAccountType()
126 return getAccountType(account.getAccountTypeWithDataSet()); in getAccountTypeForAccount()
128 return getAccountType(null, null); in getAccountTypeForAccount()
644 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) { in getAccountType() method in AccountTypeManagerImpl
DRawContact.java175 public AccountType getAccountType(Context context) { in getAccountType() method in RawContact
176 return getAccountTypeManager(context).getAccountType(getAccountTypeString(), getDataSet()); in getAccountType()
/packages/apps/Settings/src/com/android/settings/accounts/
DProviderPreference.java45 public String getAccountType() { in getAccountType() method in ProviderPreference
51 getContext(), getAccountType(), userId); in checkAccountManagementAndSetDisabled()
DChooseAccountPreferenceController.java115 Log.v(TAG, "Attempting to add account of type " + pref.getAccountType()); in handlePreferenceTreeClick()
117 finishWithAccountType(pref.getAccountType()); in handlePreferenceTreeClick()
DAccountFeatureProvider.java23 String getAccountType(); in getAccountType() method
DAccountFeatureProviderImpl.java8 public String getAccountType() { in getAccountType() method in AccountFeatureProviderImpl
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java495 rawContactDelta.getAccountType(mAccountTypeManager), in setState()
499 rawContactDelta.getAccountType(mAccountTypeManager), in setState()
539 return !mCurrentRawContactDelta.getAccountType(mAccountTypeManager).areContactsWritable(); in isReadOnlyRawContact()
552 final AccountType accountType = rawContactDelta.getAccountType(mAccountTypeManager); in pickRawContactDelta()
580 final AccountType type = mCurrentRawContactDelta.getAccountType(accountTypes); in applyIntentExtras()
590 final AccountType accountType = mCurrentRawContactDelta.getAccountType(mAccountTypeManager); in parseRawContactDelta()
647 final AccountType type = mCurrentRawContactDelta.getAccountType(accountTypes); in addReadOnlyRawContactEditorViews()
DRawContactDeltaComparator.java50 final AccountType type1 = accountTypes.getAccountType(accountType1, dataSet1); in compare()
53 final AccountType type2 = accountTypes.getAccountType(accountType2, dataSet2); in compare()
DPickRawContactLoader.java223 final AccountType account = accountManager.getAccountType( in trimReadOnly()
237 final AccountType account = accountManager.getAccountType( in getIndexOfFirstWritableAccount()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java125 favoriteNumber.setAccountType(phoneNumber.getAccountType()); in addToFavorite()
252 || !TextUtils.equals(favoriteNumber.getAccountType(), in numberMatches()
253 phoneNumber.getAccountType())) { in numberMatches()
DFavoriteNumberEntity.java85 public String getAccountType() { in getAccountType() method in FavoriteNumberEntity
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java53 final AccountType type = rawContact.getAccountType(context); in isInvisibleAndAddable()
98 final AccountType type = rawContactEntityDelta.getAccountType(accountTypes); in markAddToDefaultGroup()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DChooseAccountPreferenceController.java159 getContext(), preference.getAccountType()); in getAuthenticatorDescriptionPreferences()
216 private String getAccountType() { in getAccountType() method in ChooseAccountPreferenceController.AuthenticatorDescriptionPreference
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeProvider.java88 AccountType type = mLocalAccountTypeFactory.getAccountType(accountType); in getAccountTypes()
181 accountType = mLocalAccountTypeFactory.getAccountType(type); in loadTypes()
/packages/apps/Dialer/java/com/android/contacts/common/
DGroupMetaData.java53 public String getAccountType() { in getAccountType() method in GroupMetaData
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupListItem.java51 public String getAccountType() { in getAccountType() method in GroupListItem
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DContactsPopulator.java190 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, contact.getAccountType()) in addContact()
254 abstract String getAccountType(); in getAccountType() method in ContactsPopulator.Contact
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DFakeDeviceAccountTypeFactory.java41 public AccountType getAccountType(String accountType) { in getAccountType() method in FakeDeviceAccountTypeFactory

123