Home
last modified time | relevance | path

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

123

/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.java162 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) {
273 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet);
275 public final AccountType getAccountType(String accountType, String dataSet) {
276 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet));
281 return getAccountType(account.getAccountTypeWithDataSet());
283 return getAccountType(null, null);
709 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/providers/ContactsProvider/src/com/android/providers/contacts/
DAccountWithDataSet.java56 public String getAccountType() { in getAccountType() method in AccountWithDataSet
73 && Objects.equal(mAccountType, other.getAccountType()) in equals()
102 && Objects.equal(systemAccount.type, getAccountType())) { in inSystemAccounts()
/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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/util/
DDeviceLocalAccountTypeFactory.java43 AccountType getAccountType(String accountType); in getAccountType() method
72 public AccountType getAccountType(String accountType) { in getAccountType() method in DeviceLocalAccountTypeFactory.Default
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java115 favoriteNumber.setAccountType(phoneNumber.getAccountType()); in addToFavorite()
242 || !TextUtils.equals(favoriteNumber.getAccountType(), in numberMatches()
243 phoneNumber.getAccountType())) { in numberMatches()
/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.java211 pref -> onAddAccount(preference.getAccountType())); in getAuthenticatorDescriptionPreferences()
268 private String getAccountType() { in getAccountType() method in ChooseAccountPreferenceController.AuthenticatorDescriptionPreference
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeProvider.java87 AccountType type = mLocalAccountTypeFactory.getAccountType(accountType); in getAccountTypes()
180 accountType = mLocalAccountTypeFactory.getAccountType(type); in loadTypes()
/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

123