/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 63 private static final Account ACCOUNT_2 = new Account("account_name_2", "account_type_2"); field in ContactAggregatorTest 146 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfExactFullNameMatch() 165 long rawContactId3 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationIgnoresInvisibleContact() 177 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfCaseInsensitiveFullNameMatch() 187 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfLastNameMatch() 197 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testNonAggregationOfFirstNameMatch() 207 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testNonAggregationOfLastNameMatch() 217 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfConcatenatedFullNameMatch() 227 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfNormalizedFullNameMatch() 248 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfNumericNames() [all …]
|
D | ContactAggregator2Test.java | 63 private static final Account ACCOUNT_2 = new Account("account_name_2", "account_type_2"); field in ContactAggregator2Test 146 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfExactFullNameMatch() 165 long rawContactId3 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationIgnoresInvisibleContact() 177 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfCaseInsensitiveFullNameMatch() 187 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfLastNameMatch() 197 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testNonAggregationOfFirstNameMatch() 207 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testNonAggregationOfLastNameMatch() 217 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfConcatenatedFullNameMatch() 227 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfNormalizedFullNameMatch() 248 long rawContactId2 = RawContactUtil.createRawContact(mResolver, ACCOUNT_2); in testAggregationOfNumericNames() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiverTests.java | 45 private static final String ACCOUNT_2 = "account2@example.com"; field in AccountsChangedReceiverTests 82 return new String[] {ACCOUNT_2}; in testAccountRemoved() 92 updateAccountName(ACCOUNT_2); in testAccountRemoved_noAccounts() 106 updateAccountName(ACCOUNT_2); in testAccountNotRemoved() 110 return new String[] {ACCOUNT_1, ACCOUNT_2}; in testAccountNotRemoved() 115 assertAccountName(ACCOUNT_2); in testAccountNotRemoved()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | ContactAggregatorHelperTest.java | 36 private static final long ACCOUNT_2 = 2; field in ContactAggregatorHelperTest 59 rawContactsToAccounts.put(103l, ACCOUNT_2); in testMergeComponentsWithDisjointAccounts() 94 rawContactsToAccounts.put(101l, ACCOUNT_2); in testMergeComponentsWithDisjointAccounts2()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | TestUtil.java | 31 public static final Account ACCOUNT_2 = new Account("account_name_2", "account_type_2"); field in TestUtil
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 1512 "Guacamole", TestUtil.ACCOUNT_2); in testPhonesFilterQueryInter() 2582 TestUtil.ACCOUNT_2); in testEmailsFilterQuery() 2649 long rawContactId2 = RawContactUtil.createRawContact(mResolver, TestUtil.ACCOUNT_2); in testEmailFilterPrimaryAccount() 2663 … .appendQueryParameter(ContactsContract.PRIMARY_ACCOUNT_NAME, TestUtil.ACCOUNT_2.name) in testEmailFilterPrimaryAccount() 2664 … .appendQueryParameter(ContactsContract.PRIMARY_ACCOUNT_TYPE, TestUtil.ACCOUNT_2.type) in testEmailFilterPrimaryAccount() 2675 … .appendQueryParameter(ContactsContract.PRIMARY_ACCOUNT_NAME, TestUtil.ACCOUNT_2.name) in testEmailFilterPrimaryAccount() 6537 final Set<Account> EXPECTED_2 = Sets.newHashSet(TestUtil.ACCOUNT_2); in testAccountsToString() 6538 final Set<Account> EXPECTED_1_2 = Sets.newHashSet(TestUtil.ACCOUNT_1, TestUtil.ACCOUNT_2); in testAccountsToString() 6542 final Set<Account> ACTUAL_2 = Sets.newHashSet(TestUtil.ACCOUNT_2); in testAccountsToString() 6543 final Set<Account> ACTUAL_1_2 = Sets.newHashSet(TestUtil.ACCOUNT_2, TestUtil.ACCOUNT_1); in testAccountsToString() [all …]
|