Searched refs:sSession (Results 1 – 6 of 6) sorted by relevance
68 private static StubbablePrinterDiscoverySession sSession; field in PrinterDiscoverySessionLifecycleTest83 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 …]
223 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 …]
95 CountingSession session = HardwareProxyTvInputService.sSession; in verifyCommandTuneAndHardwareVideoAvailability()108 HardwareProxyTvInputService.sSession = null; in verifyCommandTuneAndHardwareVideoAvailability()113 static CountingSession sSession; field in HardwareSessionTest.HardwareProxyTvInputService117 sSession = new CountingSession(this); in onCreateSession()118 return sSession; in onCreateSession()
51 static MediaSession sSession; field in StubMediaBrowserService67 sSession = new MediaSession(this, "StubMediaBrowserService"); in onCreate()68 setSessionToken(sSession.getSessionToken()); in onCreate()74 sSession.release(); in onDestroy()76 sSession = null; in onDestroy()
128 assertEquals(StubMediaBrowserService.sSession.getSessionToken(), in testGetSessionToken()
68 assertEquals(StubMediaBrowserService.sSession.getSessionToken(), in testMediaBrowser()