/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2Test.java | 64 private static final Account ACCOUNT_1 = new Account("account_name_1", "account_type_1"); field in ContactAggregator2Test 166 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfExactFullNameMatch() 197 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfCaseInsensitiveFullNameMatch() 207 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfLastNameMatch() 217 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testNonAggregationOfFirstNameMatch() 227 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testNonAggregationOfLastNameMatch() 237 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfConcatenatedFullNameMatch() 247 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfNormalizedFullNameMatch() 268 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfNumericNames() 278 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfInconsistentlyParsedNames() [all …]
|
D | ContactAggregatorTest.java | 64 private static final Account ACCOUNT_1 = new Account("account_name_1", "account_type_1"); field in ContactAggregatorTest 166 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfExactFullNameMatch() 197 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfCaseInsensitiveFullNameMatch() 207 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfLastNameMatch() 217 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testNonAggregationOfFirstNameMatch() 227 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testNonAggregationOfLastNameMatch() 237 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfConcatenatedFullNameMatch() 247 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfNormalizedFullNameMatch() 268 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfNumericNames() 278 long rawContactId1 = RawContactUtil.createRawContact(mResolver, ACCOUNT_1); in testAggregationOfInconsistentlyParsedNames() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | ContactAggregatorHelperTest.java | 35 private static final long ACCOUNT_1 = 1; field in ContactAggregatorHelperTest 56 rawContactsToAccounts.put(100l, ACCOUNT_1); in testMergeComponentsWithDisjointAccounts() 57 rawContactsToAccounts.put(101l, ACCOUNT_1); in testMergeComponentsWithDisjointAccounts() 58 rawContactsToAccounts.put(102l, ACCOUNT_1); in testMergeComponentsWithDisjointAccounts() 93 rawContactsToAccounts.put(100l, ACCOUNT_1); in testMergeComponentsWithDisjointAccounts2() 96 rawContactsToAccounts.put(103l, ACCOUNT_1); in testMergeComponentsWithDisjointAccounts2()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiverTests.java | 44 private static final String ACCOUNT_1 = "account1@example.com"; field in AccountsChangedReceiverTests 69 updateAccountName(ACCOUNT_1); in testUnknownIntent() 73 assertAccountName(ACCOUNT_1); in testUnknownIntent() 78 updateAccountName(ACCOUNT_1); in testAccountRemoved() 110 return new String[] {ACCOUNT_1, ACCOUNT_2}; in testAccountNotRemoved()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | TestUtil.java | 30 public static final Account ACCOUNT_1 = new Account("account_name_1", "account_type_1"); field in TestUtil
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 1534 "Tamale", TestUtil.ACCOUNT_1); in testPhonesFilterQueryInter() 2603 TestUtil.ACCOUNT_1); in testEmailsFilterQuery() 2673 long rawContactId1 = RawContactUtil.createRawContact(mResolver, TestUtil.ACCOUNT_1); in testEmailFilterPrimaryAccount() 2683 … .appendQueryParameter(ContactsContract.PRIMARY_ACCOUNT_NAME, TestUtil.ACCOUNT_1.name) in testEmailFilterPrimaryAccount() 2684 … .appendQueryParameter(ContactsContract.PRIMARY_ACCOUNT_TYPE, TestUtil.ACCOUNT_1.type) in testEmailFilterPrimaryAccount() 2696 … .appendQueryParameter(ContactsContract.PRIMARY_ACCOUNT_NAME, TestUtil.ACCOUNT_1.name) in testEmailFilterPrimaryAccount() 2729 final long rawContactId = RawContactUtil.createRawContact(mResolver, TestUtil.ACCOUNT_1); in testEmailFilterSuperPrimaryOverUsageSort() 2749 final long rawContactId = RawContactUtil.createRawContact(mResolver, TestUtil.ACCOUNT_1); in testEmailFilterUsageOverPrimarySort() 6562 final Set<Account> EXPECTED_1 = Sets.newHashSet(TestUtil.ACCOUNT_1); in testAccountsToString() 6564 final Set<Account> EXPECTED_1_2 = Sets.newHashSet(TestUtil.ACCOUNT_1, TestUtil.ACCOUNT_2); in testAccountsToString() [all …]
|