/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AccountWithDataSet.java | 73 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()
|
D | ContactMover.java | 71 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()
|
D | DefaultAccountManager.java | 155 AccountWithDataSet.LOCAL.getAccountType()); in directlySetDefaultAccountInDb() 183 && account.type.equals(AccountWithDataSet.LOCAL.getAccountType()))); in isLocalAccount()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DeviceLocalAccountTypeFactory.java | 48 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/ |
D | RawContactModifierTests.java | 152 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/ |
D | AccountResolverTest.java | 86 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 …]
|
D | MoveRawContactsTest.java | 179 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/ |
D | AccountTypeManager.java | 168 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) {
|
D | RawContactDelta.java | 214 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/ |
D | ProviderPreference.java | 45 public String getAccountType() { in getAccountType() method in ProviderPreference 51 getContext(), getAccountType(), userId); in checkAccountManagementAndSetDisabled()
|
D | AccountFeatureProvider.java | 23 String getAccountType(); in getAccountType() method
|
D | AccountFeatureProviderImpl.java | 8 public String getAccountType() { in getAccountType() method in AccountFeatureProviderImpl
|
D | ChooseAccountPreferenceController.java | 116 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/ |
D | CallStats.java | 85 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/ |
D | AccountTypeManager.java | 118 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
|
D | RawContact.java | 175 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/ |
D | FakeContactsProvider.java | 60 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/ |
D | RawContactDeltaComparator.java | 50 final AccountType type1 = accountTypes.getAccountType(accountType1, dataSet1); in compare() 53 final AccountType type2 = accountTypes.getAccountType(accountType2, dataSet2); in compare()
|
D | RawContactEditorView.java | 507 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()
|
D | PickRawContactLoader.java | 223 final AccountType account = accountManager.getAccountType( in trimReadOnly() 237 final AccountType account = accountManager.getAccountType( in getIndexOfFirstWritableAccount()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | InvisibleContactUtil.java | 53 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/ |
D | ChooseAccountPreferenceController.java | 158 getContext(), preference.getAccountType()); in getAuthenticatorDescriptionPreferences() 214 private String getAccountType() { in getAccountType() method in ChooseAccountPreferenceController.AuthenticatorDescriptionPreference
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | GroupMetaData.java | 53 public String getAccountType() { in getAccountType() method in GroupMetaData
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupListItem.java | 51 public String getAccountType() { in getAccountType() method in GroupListItem
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountTypeProvider.java | 88 AccountType type = mLocalAccountTypeFactory.getAccountType(accountType); in getAccountTypes() 181 accountType = mLocalAccountTypeFactory.getAccountType(type); in loadTypes()
|