Home
last modified time | relevance | path

Searched refs:getAccountType (Results 1 – 10 of 10) 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_StructuredPhoneticName.java76 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName()
100 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName_phoneticPriority1()
110 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName_phoneticPriority1()
137 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName_phoneticPriority2()
147 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName_phoneticPriority2()
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/multiuser/src/android/multiuser/cts/
DNewUserRequestTest.java124 assertThat(request.getAccountType()).isNull(); in testDefaultAccountNameAndAccountTypeAreNull()
134 assertThat(request.getAccountType()).isEqualTo(accountType); in testSetAccountNameAndAccountType()
142 assertThat(request.getAccountType()).isNull(); in testSetAccountNameAndAccountTypeNull()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPolicyKeysTest.java65 assertThat(key.getAccountType()).isEqualTo(ACCOUNT_TYPE); in accountTypePolicyKey_getAccountType_returnsCorrectType()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java203 assertEquals(ACCOUNT_1_A.type, si.getAccountType()); in testInitialSync()
328 assertEquals(ACCOUNT_1_A.type, si.getAccountType()); in testInitialSyncInNeverBucket()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java292 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in validateAccountAndAuthTokenType()
1940 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in testEditProperties()
1959 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType()); in testEditPropertiesWithCallbackAndHandler()
3353 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3395 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3533 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3580 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3626 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3673 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
3722 assertEquals(ACCOUNT_TYPE, mockAuthenticator.getAccountType());
[all …]
DMockAccountAuthenticator.java95 public String getAccountType() { in getAccountType() method in MockAccountAuthenticator
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt1268 method @NonNull public String getAccountType();
10933 method @Nullable public String getAccountType();
Dcurrent.txt36913 method @NonNull public String getAccountType();