Searched refs:TEST_ACCOUNT_TYPE (Results 1 – 5 of 5) sorted by relevance
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
H A D | AccountsTestHelper.java | 41 public static final String TEST_ACCOUNT_TYPE = "com.android.contacts.tests.testauth.basic"; field in AccountsTestHelper 75 final AccountWithDataSet account = new AccountWithDataSet(name, TEST_ACCOUNT_TYPE, null); in addTestAccount() 97 removeTestAccount(new AccountWithDataSet(accountName, TEST_ACCOUNT_TYPE, null)); in removeTestAccount() 102 mAccountManager.getAccountsByType(TEST_ACCOUNT_TYPE)); in hasTestAccount() 103 return accounts.contains(new Account(name, TEST_ACCOUNT_TYPE)); in hasTestAccount() 130 final Account[] accounts = accountManager.getAccountsByType(TEST_ACCOUNT_TYPE); in removeAccountsWithPrefix()
|
H A D | AdbHelpers.java | 61 AccountsTestHelper.TEST_ACCOUNT_TYPE, null); in removeTestAccount()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
H A D | MainClearTest.java | 75 private static final String TEST_ACCOUNT_TYPE = "android.test.account.type"; field in MainClearTest 365 when(mMockActivity.getString(R.string.account_type)).thenReturn(TEST_ACCOUNT_TYPE); in testGetAccountConfirmationIntent_no_relevant_accounts() 373 when(mAccountManager.getAccountsByType(TEST_ACCOUNT_TYPE)).thenReturn(accounts); in testGetAccountConfirmationIntent_no_relevant_accounts() 380 when(mMockActivity.getString(R.string.account_type)).thenReturn(TEST_ACCOUNT_TYPE); in testGetAccountConfirmationIntent_unresolved() 385 Account[] accounts = new Account[]{new Account(TEST_ACCOUNT_NAME, TEST_ACCOUNT_TYPE)}; in testGetAccountConfirmationIntent_unresolved() 387 when(mAccountManager.getAccountsByType(TEST_ACCOUNT_TYPE)).thenReturn(accounts); in testGetAccountConfirmationIntent_unresolved() 398 when(mMockActivity.getString(R.string.account_type)).thenReturn(TEST_ACCOUNT_TYPE); in testTryShowAccountConfirmation_ok() 404 Account[] accounts = new Account[]{new Account(TEST_ACCOUNT_NAME, TEST_ACCOUNT_TYPE)}; in testTryShowAccountConfirmation_ok() 406 when(mAccountManager.getAccountsByType(TEST_ACCOUNT_TYPE)).thenReturn(accounts); in testTryShowAccountConfirmation_ok()
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
H A D | PeopleActivityTest.java | 62 private static final String TEST_ACCOUNT_TYPE = "testAccountType"; field in PeopleActivityTest 91 accountType.accountType = TEST_ACCOUNT_TYPE; in setUp() 93 AccountWithDataSet account = new AccountWithDataSet(TEST_ACCOUNT, TEST_ACCOUNT_TYPE, null); in setUp() 164 row1.put(Contacts.Entity.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE); in expectContactEntityQuery()
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
H A D | RawContactModifierTests.java | 71 private static final String TEST_ACCOUNT_TYPE = "com.example.unittest"; field in RawContactModifierTests 84 this.accountType = TEST_ACCOUNT_TYPE; in MockContactsSource() 171 contact.put(RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE); in getRawContact()
|