Home
last modified time | relevance | path

Searched refs:StubMediaSession2Service (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DStubMediaSession2Service.java32 public class StubMediaSession2Service extends MediaSession2Service { class
41 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()
DMediaSession2ServiceTest.java80 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 …]