Home
last modified time | relevance | path

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

123

/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A 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
/aosp12/packages/apps/Settings/src/com/android/settings/accounts/
H A DProviderPreference.java45 public String getAccountType() { in getAccountType() method in ProviderPreference
51 getContext(), getAccountType(), userId); in checkAccountManagementAndSetDisabled()
H A DAccountFeatureProvider.java23 String getAccountType(); in getAccountType() method
H A DAccountFeatureProviderImpl.java8 public String getAccountType() { in getAccountType() method in AccountFeatureProviderImpl
H A DChooseAccountPreferenceController.java115 Log.v(TAG, "Attempting to add account of type " + pref.getAccountType()); in handlePreferenceTreeClick()
117 finishWithAccountType(pref.getAccountType()); in handlePreferenceTreeClick()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A 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 …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A 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) {
H A 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()
H A DRawContact.java260 public AccountType getAccountType(Context context) { in getAccountType() method in RawContact
261 return getAccountTypeManager(context).getAccountType(getAccountTypeString(), getDataSet()); in getAccountType()
H A DContact.java383 AccountType accountType = rawContact.getAccountType(context); in getFirstWritableRawContactId()
473 final AccountType accountType = rawContact.getAccountType(context); in areAllRawContactsSimAccounts()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/
H A 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
H A DRawContact.java175 public AccountType getAccountType(Context context) { in getAccountType() method in RawContact
176 return getAccountTypeManager(context).getAccountType(getAccountTypeString(), getDataSet()); in getAccountType()
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/
H A DRawContactDeltaComparator.java50 final AccountType type1 = accountTypes.getAccountType(accountType1, dataSet1); in compare()
53 final AccountType type2 = accountTypes.getAccountType(accountType2, dataSet2); in compare()
H A 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()
H A DPickRawContactLoader.java223 final AccountType account = accountManager.getAccountType( in trimReadOnly()
237 final AccountType account = accountManager.getAccountType( in getIndexOfFirstWritableAccount()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DInvisibleContactUtil.java53 final AccountType type = rawContact.getAccountType(context); in isInvisibleAndAddable()
98 final AccountType type = rawContactEntityDelta.getAccountType(accountTypes); in markAddToDefaultGroup()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
H A DFavoriteNumberRepository.java125 favoriteNumber.setAccountType(phoneNumber.getAccountType()); in addToFavorite()
252 || !TextUtils.equals(favoriteNumber.getAccountType(), in numberMatches()
253 phoneNumber.getAccountType())) { in numberMatches()
H A DFavoriteNumberEntity.java85 public String getAccountType() { in getAccountType() method in FavoriteNumberEntity
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
H A DChooseAccountPreferenceController.java159 getContext(), preference.getAccountType()); in getAuthenticatorDescriptionPreferences()
216 private String getAccountType() { in getAccountType() method in ChooseAccountPreferenceController.AuthenticatorDescriptionPreference
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/
H A DGroupMetaData.java53 public String getAccountType() { in getAccountType() method in GroupMetaData
/aosp12/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupListItem.java51 public String getAccountType() { in getAccountType() method in GroupListItem
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/tests/
H A DFakeDeviceAccountTypeFactory.java41 public AccountType getAccountType(String accountType) { in getAccountType() method in FakeDeviceAccountTypeFactory
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DAccountTypeProvider.java88 AccountType type = mLocalAccountTypeFactory.getAccountType(accountType); in getAccountTypes()
181 accountType = mLocalAccountTypeFactory.getAccountType(type); in loadTypes()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
H A DMockAccountTypeManager.java47 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) { in getAccountType() method in MockAccountTypeManager

123