Home
last modified time | relevance | path

Searched refs:getAccountType (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsAuthenticator.java57 static String getAccountType() { in getAccountType() method in SyncManagerCtsAuthenticator
66 final Account account = new Account(name, getAccountType()); in ensureTestAccount()
84 for (Account account : am.getAccountsByType(getAccountType())) { in removeAllAccounts()
88 Log.i(TAG, "Removed all accounts for " + getAccountType()); in removeAllAccounts()
91 () -> am.getAccountsByType(getAccountType()).length == 0); in removeAllAccounts()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_SimContactTest.java98 assertThat(SIM_ACCT_TYPE_1).isEqualTo(simAccount1.getAccountType()); in testAddSimAccount_returnedByGetSimAccounts()
105 assertThat(SIM_ACCT_TYPE_2).isEqualTo(simAccount2.getAccountType()); in testAddSimAccount_returnedByGetSimAccounts()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java199 assertEquals(ACCOUNT_1_A.type, si.getAccountType()); in testInitialSync()
324 assertEquals(ACCOUNT_1_A.type, si.getAccountType()); in testInitialSyncInNeverBucket()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java278 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in validateAccountAndAuthTokenType()
1926 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in testEditProperties()
1945 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in testEditPropertiesWithCallbackAndHandler()
3339 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3381 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3519 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3566 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3612 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3659 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3708 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
[all …]
DMockAccountAuthenticator.java95 public String getAccountType() { in getAccountType() method in MockAccountAuthenticator