/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
D | AccountManagementTest.java | 42 MockAccountAuthenticator.ACCOUNT_TYPE); 55 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in tearDown() 62 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccount_blocked() 66 mAccountManager.addAccount(MockAccountAuthenticator.ACCOUNT_TYPE, in testAddAccount_blocked() 72 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccount_blocked() 77 Bundle result = mAccountManager.addAccount(MockAccountAuthenticator.ACCOUNT_TYPE, in testAddAccount_allowed() 83 assertEquals(MockAccountAuthenticator.ACCOUNT_TYPE, in testAddAccount_allowed() 89 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccount_blocked() 94 assertEquals(1, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccount_blocked() 106 MockAccountAuthenticator.ACCOUNT_TYPE); in testRemoveAccount_blocked() [all …]
|
D | AccountUtilsTest.java | 42 MockAccountAuthenticator.ACCOUNT_TYPE); 53 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccountExplicitly() 56 assertEquals(1, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccountExplicitly() 61 assertEquals(1, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccountExplicitly() 64 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccountExplicitly()
|
D | MockAccountAuthenticator.java | 31 static final String ACCOUNT_TYPE field in MockAccountAuthenticator 43 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); in createResultBundle()
|
/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 | 61 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName() 85 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority1() 95 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority1() 122 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority2() 132 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority2()
|
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_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_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 = "android.provider.cts"; field in ContactsContract_StatusUpdatesTest 50 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in setUp()
|
D | ContactsContract_PhoneLookup.java | 76 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 90 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 105 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
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_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/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountManagerTest.java | 59 public static final String ACCOUNT_TYPE = "android.accounts.cts.account.type"; field in AccountManagerTest 91 public static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE); 93 MockAccountAuthenticator.ACCOUNT_NAME_FOR_NEW_REMOVE_API, ACCOUNT_TYPE); 95 MockAccountAuthenticator.ACCOUNT_NAME_FOR_DEFAULT_IMPL, ACCOUNT_TYPE); 96 public static final Account ACCOUNT_SAME_TYPE = new Account(ACCOUNT_NAME_OTHER, ACCOUNT_TYPE); 146 Account[] ctsAccounts = am.getAccountsByType(ACCOUNT_TYPE); in tearDown() 186 ACCOUNT_TYPE.equals(account.type) || AUTH_EXPIRING_TOKEN_TYPE.equals(tokenType); in validateSuccessfulTokenFetchingLifecycle() 202 isCachingExpected = ACCOUNT_TYPE.equals(account.type); in validateSuccessfulTokenFetchingLifecycle() 244 assertEquals(ACCOUNT_TYPE, result.get(AccountManager.KEY_ACCOUNT_TYPE)); in validateAccountAndNoAuthTokenResult() 255 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in validateAccountAndAuthTokenType() [all …]
|
D | MockAccountAuthenticator.java | 136 result.putString(AccountManager.KEY_ACCOUNT_TYPE, AccountManagerTest.ACCOUNT_TYPE); in createResultBundle()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | AccountAuthenticator.java | 30 public static final String ACCOUNT_TYPE = "com.android.cts.test"; field in AccountAuthenticator 41 result.putString(AccountManager.KEY_ACCOUNT_TYPE, 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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 85 private static final String ACCOUNT_TYPE field in DeviceAndProfileOwnerTest 333 changeAccountManagement(COMMAND_BLOCK_ACCOUNT_TYPE, ACCOUNT_TYPE, mUserId); in testAccountManagement_disabledAddAccount() 337 changeAccountManagement(COMMAND_UNBLOCK_ACCOUNT_TYPE, ACCOUNT_TYPE, mUserId); in testAccountManagement_disabledAddAccount() 349 changeAccountManagement(COMMAND_BLOCK_ACCOUNT_TYPE, ACCOUNT_TYPE, mUserId); in testAccountManagement_disabledRemoveAccount() 353 changeAccountManagement(COMMAND_UNBLOCK_ACCOUNT_TYPE, ACCOUNT_TYPE, mUserId); in testAccountManagement_disabledRemoveAccount()
|
/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/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
D | DirectoryProvider.java | 123 } else if (column.equals(Directory.ACCOUNT_TYPE)) { in query()
|