Searched refs:listContainsToken (Results 1 – 1 of 1) sorted by relevance
313 assertTrue(listContainsToken(listener.mTokens, currentToken)); in testGetSession2Tokens()314 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), currentToken)); in testGetSession2Tokens()339 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session1Token)); in testGetSession2TokensWithTwoSessions()352 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session1Token)); in testGetSession2TokensWithTwoSessions()353 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session2Token)); in testGetSession2TokensWithTwoSessions()360 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session1Token)); in testGetSession2TokensWithTwoSessions()361 assertFalse(listContainsToken(mSessionManager.getSession2Tokens(), session2Token)); in testGetSession2TokensWithTwoSessions()385 assertTrue(listContainsToken(listener1.mTokens, currentToken)); in testAddAndRemoveSession2TokensListener()399 private boolean listContainsToken(List<Session2Token> tokens, Session2Token token) { in listContainsToken() method in MediaSessionManagerTest