Searched refs:getAccountsByType (Results 1 – 2 of 2) sorted by relevance
80 assertThat(am.getAccountsByType(null)).asList().containsAllIn(am.getAccounts()); in getAccountsByType_nullTypeReturnsAllAccounts()85 assertThat(am.getAccountsByType("name_a")).isNotNull(); in testGetAccountsByType()90 Account[] accounts = am.getAccountsByType("type_a"); in testGetAccountsByType()97 accounts = am.getAccountsByType("type_a"); in testGetAccountsByType()104 accounts = am.getAccountsByType("type_a"); in testGetAccountsByType()136 assertThat(am.getAccountsByType("type").length).isEqualTo(1); in testAddAccountExplicitly_noPasswordNoExtras()137 assertThat(am.getAccountsByType("type")[0].name).isEqualTo("name"); in testAddAccountExplicitly_noPasswordNoExtras()145 assertThat(am.getAccountsByType("type").length).isEqualTo(2); in testAddAccountExplicitly_noPasswordNoExtras()146 assertThat(am.getAccountsByType("type")[0].name).isEqualTo("name"); in testAddAccountExplicitly_noPasswordNoExtras()147 assertThat(am.getAccountsByType("type")[1].name).isEqualTo("another_name"); in testAddAccountExplicitly_noPasswordNoExtras()[all …]
76 protected Account[] getAccountsByType(String type) { in getAccountsByType() method in ShadowAccountManager118 for (Account a: getAccountsByType(account.type)) { in addAccountExplicitly()289 Account[] accountsByType = getAccountsByType(accountType);547 Account[] accountsByType = getAccountsByType(type);568 Account[] accountsByType = getAccountsByType(type);