Searched refs:listContainsToken (Results 1 – 1 of 1) sorted by relevance
298 assertTrue(listContainsToken(listener.mTokens, currentToken)); in testGetSession2Tokens()299 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), currentToken)); in testGetSession2Tokens()324 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session1Token)); in testGetSession2TokensWithTwoSessions()337 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session1Token)); in testGetSession2TokensWithTwoSessions()338 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session2Token)); in testGetSession2TokensWithTwoSessions()345 assertTrue(listContainsToken(mSessionManager.getSession2Tokens(), session1Token)); in testGetSession2TokensWithTwoSessions()346 assertFalse(listContainsToken(mSessionManager.getSession2Tokens(), session2Token)); in testGetSession2TokensWithTwoSessions()370 assertTrue(listContainsToken(listener1.mTokens, currentToken)); in testAddAndRemoveSession2TokensListener()384 private boolean listContainsToken(List<Session2Token> tokens, Session2Token token) { in listContainsToken() method in MediaSessionManagerTest