Home
last modified time | relevance | path

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

123

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAccountWithDataSet.java73 public String getAccountType() { in getAccountType() method in AccountWithDataSet
91 && Objects.equal(mAccountType, other.getAccountType()) in equals()
120 && Objects.equal(systemAccount.type, getAccountType())) { in inSystemAccounts()
139 && Objects.equal(simAccount.getAccountType(), getAccountType())) { in inSimAccounts()
DContactMover.java71 values.put(RawContacts.ACCOUNT_TYPE, destAccount.getAccountType()); in updateRawContactsAccount()
94 values.put(Groups.ACCOUNT_TYPE, destAccount.getAccountType()); in updateGroupAccount()
120 if (sourceAccount.getAccountType() == null) { in isAccountTypeMatch()
121 return destAccount.getAccountType() == null; in isAccountTypeMatch()
124 return sourceAccount.getAccountType().equals(destAccount.getAccountType()); in isAccountTypeMatch()
221 simAccount.getAccountName(), simAccount.getAccountType(), null)) in getSimAccounts()
DDefaultAccountManager.java155 AccountWithDataSet.LOCAL.getAccountType()); in directlySetDefaultAccountInDb()
183 && account.type.equals(AccountWithDataSet.LOCAL.getAccountType()))); in isLocalAccount()
/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/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java152 protected AccountType getAccountType() { in getAccountType() method in RawContactModifierTests
201 final AccountType source = getAccountType(); in testValidTypes()
246 final AccountType source = getAccountType(); in testValidTypesWhenUpdating()
283 final AccountType source = getAccountType(); in testCanInsert()
312 final AccountType source = getAccountType(); in testBestValidType()
348 final AccountType source = getAccountType(); in testIsEmptyEmpty()
359 final AccountType source = getAccountType(); in testIsEmptyDirectFields()
376 final AccountType source = getAccountType(); in testTrimEmptySingle()
421 final AccountType source = getAccountType(); in testTrimEmptySpaces()
447 final AccountType source = getAccountType(); in testTrimLeaveValid()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DAccountResolverTest.java86 assertEquals("com.google", result.getAccountType()); in testResolveAccountWithDataSet_ignoreDefaultAccount_accountAndDataSetInUri()
110 assertEquals("com.google", result.getAccountType()); in testResolveAccountWithDataSet_defaultAccountIsNotSet_accountAndDataSetInUri()
131 assertEquals("com.google", result.getAccountType()); in testResolveAccountWithDataSet_ignoreDefaultAccount_accountInUriDataSetInValues()
155 assertEquals("com.google", result.getAccountType()); in testResolveAccountWithDataSet_applyDefaultAccount_accountInUriDataSetInValues()
230 assertEquals("com.google", result.getAccountType()); in testResolveAccountWithDataSet_defaultAccountIsCloud_noAccount()
248 assertEquals("com.google", result1.getAccountType()); in testResolveAccountWithDataSet_accountInValuesOnly()
260 assertEquals("com.google", result2.getAccountType()); in testResolveAccountWithDataSet_accountInValuesOnly()
346 assertEquals("com.google", result1.getAccountType()); in testResolveAccountWithDataSet_matchingAccounts()
358 assertEquals("com.google", result2.getAccountType()); in testResolveAccountWithDataSet_matchingAccounts()
679 assertEquals(SIM_ACCOUNT_1.type, result.getAccountType()); in testResolveAccountWithDataSet_defaultAccountIsCloud_simWriteOnCloudDcaBypassEnabled()
[all …]
DMoveRawContactsTest.java179 contentValues.put(RawContacts.ACCOUNT_TYPE, account.getAccountType()); in assertMovedContactIsDeleted()
194 contentValues.put(RawContacts.ACCOUNT_TYPE, account.getAccountType()); in assertMovedRawContact()
212 account.getAccountType() in assertMoveStubExists()
224 account.getAccountType() in assertMoveStubDoesNotExist()
284 values.put(Groups.ACCOUNT_TYPE, account.getAccountType()); in createGroupWithMembers()
338 contentValues.put(Groups.ACCOUNT_TYPE, account.getAccountType()); in assertGroupState()
377 account.getAccountType() in assertGroupMoveStubExists()
390 account.getAccountType(), in getGroupWithName() argument
910 mSource.getAccountType() in testMoveUniqueNonSystemGroup()
962 mSource.getAccountType() in testMoveUniqueNonSystemGroupWithSourceIdStubsDisabled()
[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()
/packages/apps/Settings/src/com/android/settings/accounts/
DProviderPreference.java45 public String getAccountType() { in getAccountType() method in ProviderPreference
51 getContext(), getAccountType(), userId); in checkAccountManagementAndSetDisabled()
DAccountFeatureProvider.java23 String getAccountType(); in getAccountType() method
DAccountFeatureProviderImpl.java8 public String getAccountType() { in getAccountType() method in AccountFeatureProviderImpl
DChooseAccountPreferenceController.java116 Log.v(TAG, "Attempting to add account of type " + pref.getAccountType()); in handlePreferenceTreeClick()
118 finishWithAccountType(pref.getAccountType()); in handlePreferenceTreeClick()
/packages/services/Telecomm/src/com/android/server/telecom/metrics/
DCallStats.java85 v.getMultipleAudioAvailable(), v.getAccountType(), v.getUid(), in onPull()
103 v.getMultipleAudioAvailable(), v.getAccountType(), in onLoad()
179 final int accountType = getAccountType(call.getPhoneAccountFromHandle()); in onCallEnd()
216 private int getAccountType(PhoneAccount account) { in getAccountType() method in CallStats
/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DFakeContactsProvider.java60 public String getAccountType() { in getAccountType() method in FakeContactsProvider.FakeAccount
98 public String getAccountType() { in getAccountType() method in FakeContactsProvider.FakeRawContact
403 if (accountType.equals(contact.getAccountType()) in delete()
435 && accountType.equals(contact.getAccountType()) in delete()
522 if (type.equals(account.getAccountType()) && name.equals(account.getAccountName())) { in findAccount()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactDeltaComparator.java50 final AccountType type1 = accountTypes.getAccountType(accountType1, dataSet1); in compare()
53 final AccountType type2 = accountTypes.getAccountType(accountType2, dataSet2); in compare()
DRawContactEditorView.java507 rawContactDelta.getAccountType(mAccountTypeManager), in setState()
511 rawContactDelta.getAccountType(mAccountTypeManager), in setState()
551 return !mCurrentRawContactDelta.getAccountType(mAccountTypeManager).areContactsWritable(); in isReadOnlyRawContact()
564 final AccountType accountType = rawContactDelta.getAccountType(mAccountTypeManager); in pickRawContactDelta()
592 final AccountType type = mCurrentRawContactDelta.getAccountType(accountTypes); in applyIntentExtras()
602 final AccountType accountType = mCurrentRawContactDelta.getAccountType(mAccountTypeManager); in parseRawContactDelta()
659 final AccountType type = mCurrentRawContactDelta.getAccountType(accountTypes); in addReadOnlyRawContactEditorViews()
DPickRawContactLoader.java223 final AccountType account = accountManager.getAccountType( in trimReadOnly()
237 final AccountType account = accountManager.getAccountType( in getIndexOfFirstWritableAccount()
/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.java158 getContext(), preference.getAccountType()); in getAuthenticatorDescriptionPreferences()
214 private String getAccountType() { in getAccountType() method in ChooseAccountPreferenceController.AuthenticatorDescriptionPreference
/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/Contacts/src/com/android/contacts/model/account/
DAccountTypeProvider.java88 AccountType type = mLocalAccountTypeFactory.getAccountType(accountType); in getAccountTypes()
181 accountType = mLocalAccountTypeFactory.getAccountType(type); in loadTypes()

123