Searched refs:StubMediaSession2Service (Results 1 – 2 of 2) sorted by relevance
32 public class StubMediaSession2Service extends MediaSession2Service { class41 private static StubMediaSession2Service sInstance;46 synchronized (StubMediaSession2Service.class) { in setHandlerExecutor()51 public static StubMediaSession2Service getInstance() { in getInstance()52 synchronized (StubMediaSession2Service.class) { in getInstance()58 synchronized (StubMediaSession2Service.class) { in setTestInjector()66 synchronized (StubMediaSession2Service.class) { in onCreate()77 synchronized (StubMediaSession2Service.class) { in onDestroy()88 synchronized (StubMediaSession2Service.class) { in onUpdateNotification()99 synchronized (StubMediaSession2Service.class) { in onGetSession()
80 StubMediaSession2Service.setHandlerExecutor(sHandlerExecutor); in setUpThread()90 StubMediaSession2Service.setHandlerExecutor(null); in cleanUpThread()100 new ComponentName(mContext, StubMediaSession2Service.class)); in setUp()110 StubMediaSession2Service.setTestInjector(null); in cleanUp()121 StubMediaSession2Service.setTestInjector(new StubMediaSession2Service.TestInjector() { in testOnGetSessionIsCalled()170 StubMediaSession2Service.setTestInjector(new StubMediaSession2Service.TestInjector() { in testOnGetSession_returnsSession()206 StubMediaSession2Service.setTestInjector(new StubMediaSession2Service.TestInjector() { in testOnGetSession_returnsDifferentSessions()235 StubMediaSession2Service.setTestInjector(new StubMediaSession2Service.TestInjector() { in testOnGetSession_rejectsConnection()262 StubMediaSession2Service.setTestInjector(new StubMediaSession2Service.TestInjector() { in testAllControllersDisconnected_oneSession()287 StubMediaSession2Service.setTestInjector(new StubMediaSession2Service.TestInjector() { in testAllControllersDisconnected_multipleSessions()[all …]