Home
last modified time | relevance | path

Searched refs:ACCOUNT_TYPE (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_StreamItemsTest.java36 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()
DContactsContract_StructuredPhoneticName.java60 .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()
DContactsContract_GroupMembershipTest.java64 .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()
DContactsContract_ContactCountsTest.java118 .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()
DContactsContract_IsSuperPrimaryName.java73 .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()
DContactsContract_RawContactsTest.java62 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()
DContactsContract_DataTest.java96 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 …]
DContactsContract_AggregationSuggestionsTest.java162 .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()
DContactsContract_StatusUpdatesTest.java36 private static final String ACCOUNT_TYPE = "com.android.cts.provider"; field in ContactsContract_StatusUpdatesTest
50 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in setUp()
DContactsContract_SearchSnippetsTest.java218 .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()
DContactsContract_PhoneLookup.java65 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
79 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
DContactsContract_ProviderStatus.java60 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testProviderStatus_addedContacts()
DContactsContract_FrequentsStrequentsTest.java437 .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()
DCalendarTest.java89 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/
DAccountUtilsTest.java35 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()
DMockAccountAuthenticator.java30 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()
DAccountManagementTest.java42 private final static String ACCOUNT_TYPE_1 = MockAccountAuthenticator.ACCOUNT_TYPE;
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java57 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 …]
DMockAccountAuthenticator.java135 result.putString(AccountManager.KEY_ACCOUNT_TYPE, AccountManagerTest.ACCOUNT_TYPE); in createResultBundle()
/cts/tests/tests/content/src/android/content/cts/
DMockAccountAuthenticator.java31 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()
DContentResolverSyncTestCase.java40 MockAccountAuthenticator.ACCOUNT_TYPE);
290 if (MockAccountAuthenticator.ACCOUNT_TYPE.equals(type.accountType) &&
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DRawContactUtil.java59 values.put(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type); in insertRawContact()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java401 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE) in insertContact()
559 .withSelection(RawContacts.ACCOUNT_TYPE + "=?", new String[] {TEST_ACCOUNT_TYPE}) in removeAllTestContactsInProfile()