/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_StreamItemsTest.java | 36 private static final String ACCOUNT_TYPE = "com.android.cts"; field in ContactsContract_StreamItemsTest 74 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); in testContentDirectoryUri() 87 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); in insertRawContact() 99 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); in insertViaContentDirectoryUri() 116 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in testContentUri() 122 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in testContentUri() 148 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in testContentUri()
|
D | ContactsContract_StructuredPhoneticName.java | 60 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName() 78 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority1() 88 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority1() 115 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority2() 125 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsContract_GroupMembershipTest.java | 64 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithGroupSourceId() 69 .with(Groups.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithGroupSourceId() 84 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithUnknownGroupSourceId() 91 .with(Groups.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithUnknownGroupSourceId()
|
D | ContactsContract_ContactCountsTest.java | 118 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 128 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 138 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 148 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 158 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 168 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
D | ContactsContract_IsSuperPrimaryName.java | 73 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testInner_displayNameFromIsSuperPrimary() 84 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testInner_displayNameFromIsSuperPrimary() 134 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testIsSuperPrimaryName_mergeBothSuperPrimary() 145 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testIsSuperPrimaryName_mergeBothSuperPrimary()
|
D | ContactsContract_RawContactsTest.java | 62 RawContacts.ACCOUNT_TYPE, 92 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriBySourceId() 113 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriByDisplayName() 227 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testProjection()
|
D | ContactsContract_DataTest.java | 96 RawContacts.ACCOUNT_TYPE, 211 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriBySourceId() 232 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testDataProjection() 248 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testRawContactsEntityProjection() 265 RawContacts.ACCOUNT_TYPE, in testRawContactsEntityProjection() 308 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testEntityProjection() 358 RawContacts.ACCOUNT_TYPE, in testEntityProjection() 410 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriByDisplayName() 427 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testContactablesUri() 677 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupContactablesTestData() [all …]
|
D | ContactsContract_AggregationSuggestionsTest.java | 162 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts() 172 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts() 182 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts()
|
D | ContactsContract_StatusUpdatesTest.java | 36 private static final String ACCOUNT_TYPE = "com.android.cts.provider"; field in ContactsContract_StatusUpdatesTest 50 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in setUp()
|
D | ContactsContract_SearchSnippetsTest.java | 218 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 232 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 251 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
D | ContactsContract_PhoneLookup.java | 65 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 79 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
D | ContactsContract_ProviderStatus.java | 60 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testProviderStatus_addedContacts()
|
D | ContactsContract_FrequentsStrequentsTest.java | 437 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 451 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 465 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
D | CalendarTest.java | 89 Calendars.ACCOUNT_TYPE, 143 values.put(Calendars.ACCOUNT_TYPE, CTS_TEST_TYPE); in getNewCalendarValues() 209 String selection = Calendars.ACCOUNT_TYPE + "=?"; in getCalendarsByAccount() 232 SyncState.ACCOUNT_TYPE, 249 values.put(SyncState.ACCOUNT_TYPE, CTS_TEST_TYPE); in getNewSyncStateValues() 266 String selection = SyncState.ACCOUNT_TYPE + "=? AND " + SyncState.ACCOUNT_NAME + "=?"; in getSyncStateByAccount() 301 Events.ACCOUNT_TYPE, 516 values.put(Events.ACCOUNT_TYPE, CTS_TEST_TYPE); in addDefaultReadOnlyValues() 555 String selection = Calendars.ACCOUNT_TYPE + "=?"; in getEventsByAccount() 649 + Colors.ACCOUNT_TYPE + "=?"; [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AccountUtilsTest.java | 35 MockAccountAuthenticator.ACCOUNT_TYPE); 45 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccount() 48 assertEquals(1, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccount() 53 removeAllAccountsForType(mAccountManager, MockAccountAuthenticator.ACCOUNT_TYPE); in testRemoveAccounts()
|
D | MockAccountAuthenticator.java | 30 static final String ACCOUNT_TYPE = "com.android.cts.deviceandprofileowner.account.type"; field in MockAccountAuthenticator 41 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); in createResultBundle()
|
D | AccountManagementTest.java | 42 private final static String ACCOUNT_TYPE_1 = MockAccountAuthenticator.ACCOUNT_TYPE;
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountManagerTest.java | 57 public static final String ACCOUNT_TYPE = "android.accounts.cts.account.type"; field in AccountManagerTest 89 public static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE); 91 MockAccountAuthenticator.ACCOUNT_NAME_FOR_NEW_REMOVE_API, ACCOUNT_TYPE); 92 public static final Account ACCOUNT_SAME_TYPE = new Account(ACCOUNT_NAME_OTHER, ACCOUNT_TYPE); 142 Account[] ctsAccounts = am.getAccountsByType(ACCOUNT_TYPE); in tearDown() 182 ACCOUNT_TYPE.equals(account.type) || AUTH_EXPIRING_TOKEN_TYPE.equals(tokenType); in validateSuccessfulTokenFetchingLifecycle() 198 isCachingExpected = ACCOUNT_TYPE.equals(account.type); in validateSuccessfulTokenFetchingLifecycle() 240 assertEquals(ACCOUNT_TYPE, result.get(AccountManager.KEY_ACCOUNT_TYPE)); in validateAccountAndNoAuthTokenResult() 251 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in validateAccountAndAuthTokenType() 368 AccountManagerFuture<Bundle> futureBundle = am.getAuthTokenByFeatures(ACCOUNT_TYPE, in getAuthTokenByFeature() [all …]
|
D | MockAccountAuthenticator.java | 135 result.putString(AccountManager.KEY_ACCOUNT_TYPE, AccountManagerTest.ACCOUNT_TYPE); in createResultBundle()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockAccountAuthenticator.java | 31 public static final String ACCOUNT_TYPE = "android.content.cts.account.type"; field in MockAccountAuthenticator 43 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); in createResultBundle()
|
D | ContentResolverSyncTestCase.java | 40 MockAccountAuthenticator.ACCOUNT_TYPE); 290 if (MockAccountAuthenticator.ACCOUNT_TYPE.equals(type.accountType) &&
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | RawContactUtil.java | 59 values.put(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type); in insertRawContact()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 401 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE) in insertContact() 559 .withSelection(RawContacts.ACCOUNT_TYPE + "=?", new String[] {TEST_ACCOUNT_TYPE}) in removeAllTestContactsInProfile()
|