Home
last modified time | relevance | path

Searched refs:sSession (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrinterDiscoverySessionLifecycleTest.java67 private static StubbablePrinterDiscoverySession sSession; field in PrinterDiscoverySessionLifecycleTest
82 PrinterId firstPrinterId = sSession.getService().generatePrinterId( in addPrinter()
98 sSession.addPrinters(Collections.singletonList(printer.build())); in addPrinter()
143 sSession = in defaultPrinterBecomesAvailableWhileInBackground()
195 sSession = in defaultPrinterBecomesUsableWhileInBackground()
278 runOnMainThread(() -> assertFalse(sSession.isDestroyed())); in normalLifecycle()
279 runOnMainThread(() -> assertEquals(0, sSession.getTrackedPrinters().size())); in normalLifecycle()
285 sSession.getTrackedPrinters().get(0).getLocalId()))); in normalLifecycle()
286 runOnMainThread(() -> assertTrue(sSession.isPrinterDiscoveryStarted())); in normalLifecycle()
287 runOnMainThread(() -> assertEquals(1, sSession.getTrackedPrinters().size())); in normalLifecycle()
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DHardwareSessionTest.java97 CountingSession session = HardwareProxyTvInputService.sSession; in verifyCommandTuneAndHardwareVideoAvailability()
110 HardwareProxyTvInputService.sSession = null; in verifyCommandTuneAndHardwareVideoAvailability()
115 static CountingSession sSession; field in HardwareSessionTest.HardwareProxyTvInputService
119 sSession = new CountingSession(this); in onCreateSession()
120 return sSession; in onCreateSession()
DTvInputServiceTest.java362 CountingTvInputService.sSession = null; in setUp()
1309 if (CountingTvInputService.sSession != null) { in resetCounts()
1310 CountingTvInputService.sSession.resetCounts(); in resetCounts()
1321 if (CountingTvInputService.sSession != null) { in resetPassedValues()
1322 CountingTvInputService.sSession.resetPassedValues(); in resetPassedValues()
1344 final CountingSession session = CountingTvInputService.sSession; in sessionCheck()
1381 return CountingTvInputService.sSession;
1393 static CountingSession sSession;
1403 if(sSession != null){
1404 Log.w(TAG,"onCreateSession called with sSession set to "+ sSession);
[all …]
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DStubMediaBrowserService.java54 static MediaSession sSession; field in StubMediaBrowserService
71 sSession = new MediaSession(this, "StubMediaBrowserService"); in onCreate()
72 setSessionToken(sSession.getSessionToken()); in onCreate()
78 sSession.release(); in onDestroy()
80 sSession = null; in onDestroy()
DMediaBrowserServiceTest.java183 .isEqualTo(StubMediaBrowserService.sSession.getSessionToken()); in testGetSessionToken()
DMediaBrowserTest.java125 .isEqualTo(StubMediaBrowserService.sSession.getSessionToken()); in testMediaBrowser()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DStubTvAdService.java43 public static StubSessionImpl sSession; field in StubTvAdService
47 sSession = new StubSessionImpl(this); in onCreateSession()
48 return sSession; in onCreateSession()
DTvAdServiceTest.java182 mSession = StubTvAdService.sSession; in setUp()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DStubTvInteractiveAppService.java50 public static StubSessionImpl sSession; field in StubTvInteractiveAppService
57 sSession = new StubSessionImpl(this); in onCreateSession()
58 return sSession; in onCreateSession()
DTvInteractiveAppServiceTest.java632 mSession = StubTvInteractiveAppService.sSession; in setUp()