Home
last modified time | relevance | path

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

/cts/tests/tests/print/src/android/print/cts/
DPrinterDiscoverySessionLifecycleTest.java68 private static StubbablePrinterDiscoverySession sSession; field in PrinterDiscoverySessionLifecycleTest
83 PrinterId firstPrinterId = sSession.getService().generatePrinterId( in addPrinter()
99 sSession.addPrinters(Collections.singletonList(printer.build())); in addPrinter()
150 sSession = in defaultPrinterBecomesAvailableWhileInBackground()
197 sSession = in defaultPrinterBecomesUsableWhileInBackground()
270 runOnMainThread(() -> assertFalse(sSession.isDestroyed())); in normalLifecycle()
271 runOnMainThread(() -> assertEquals(0, sSession.getTrackedPrinters().size())); in normalLifecycle()
277 sSession.getTrackedPrinters().get(0).getLocalId()))); in normalLifecycle()
278 runOnMainThread(() -> assertTrue(sSession.isPrinterDiscoveryStarted())); in normalLifecycle()
279 runOnMainThread(() -> assertEquals(1, sSession.getTrackedPrinters().size())); in normalLifecycle()
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java223 CountingTvInputService.sSession = null; in setUp()
459 final CountingSession session = CountingTvInputService.sSession; in verifyCommandTune()
477 final CountingSession session = CountingTvInputService.sSession; in verifyCommandTuneWithBundle()
496 final CountingSession session = CountingTvInputService.sSession; in verifyCommandSetStreamVolume()
512 final CountingSession session = CountingTvInputService.sSession; in verifyCommandSetCaptionEnabled()
530 final CountingSession session = CountingTvInputService.sSession; in verifyCommandSelectTrack()
549 final CountingSession session = CountingTvInputService.sSession; in verifyCommandDispatchKeyDown()
568 final CountingSession session = CountingTvInputService.sSession; in verifyCommandDispatchKeyMultiple()
588 final CountingSession session = CountingTvInputService.sSession; in verifyCommandDispatchKeyUp()
609 final CountingSession session = CountingTvInputService.sSession; in verifyCommandDispatchTouchEvent()
[all …]
DHardwareSessionTest.java95 CountingSession session = HardwareProxyTvInputService.sSession; in verifyCommandTuneAndHardwareVideoAvailability()
108 HardwareProxyTvInputService.sSession = null; in verifyCommandTuneAndHardwareVideoAvailability()
113 static CountingSession sSession; field in HardwareSessionTest.HardwareProxyTvInputService
117 sSession = new CountingSession(this); in onCreateSession()
118 return sSession; in onCreateSession()
/cts/tests/tests/media/src/android/media/cts/
DStubMediaBrowserService.java51 static MediaSession sSession; field in StubMediaBrowserService
67 sSession = new MediaSession(this, "StubMediaBrowserService"); in onCreate()
68 setSessionToken(sSession.getSessionToken()); in onCreate()
74 sSession.release(); in onDestroy()
76 sSession = null; in onDestroy()
DMediaBrowserServiceTest.java128 assertEquals(StubMediaBrowserService.sSession.getSessionToken(), in testGetSessionToken()
DMediaBrowserTest.java68 assertEquals(StubMediaBrowserService.sSession.getSessionToken(), in testMediaBrowser()