Searched refs:peekAuthToken (Results 1 – 2 of 2) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAccountManagerTest.java | 119 assertThat(am.peekAuthToken(account, "token_type_1")).isEqualTo("token1"); in addAuthToken() 120 assertThat(am.peekAuthToken(account, "token_type_2")).isEqualTo("token2"); in addAuthToken() 127 assertThat(am.peekAuthToken(account, "token_type_1")).isNull(); in setAuthToken_shouldNotAddTokenIfAccountNotPresent() 468 assertThat(am.peekAuthToken(account1, "token_type_1")).isEqualTo("token1"); in invalidateAuthToken_multipleAccounts() 469 assertThat(am.peekAuthToken(account2, "token_type_1")).isEqualTo("token1"); in invalidateAuthToken_multipleAccounts() 473 assertThat(am.peekAuthToken(account1, "token_type_1")).isNull(); in invalidateAuthToken_multipleAccounts() 474 assertThat(am.peekAuthToken(account2, "token_type_1")).isEqualTo("token1"); in invalidateAuthToken_multipleAccounts() 478 assertThat(am.peekAuthToken(account1, "token_type_1")).isNull(); in invalidateAuthToken_multipleAccounts() 479 assertThat(am.peekAuthToken(account2, "token_type_1")).isNull(); in invalidateAuthToken_multipleAccounts() 490 assertThat(am.peekAuthToken(account, "token_type_1")).isEqualTo("token1"); in invalidateAuthToken_multipleTokens() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAccountManager.java | 104 protected String peekAuthToken(Account account, String tokenType) { in peekAuthToken() method in ShadowAccountManager
|