Searched refs:sSession (Results 1 – 10 of 10) sorted by relevance
67 private static StubbablePrinterDiscoverySession sSession; field in PrinterDiscoverySessionLifecycleTest82 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 …]
97 CountingSession session = HardwareProxyTvInputService.sSession; in verifyCommandTuneAndHardwareVideoAvailability()110 HardwareProxyTvInputService.sSession = null; in verifyCommandTuneAndHardwareVideoAvailability()115 static CountingSession sSession; field in HardwareSessionTest.HardwareProxyTvInputService119 sSession = new CountingSession(this); in onCreateSession()120 return sSession; in onCreateSession()
362 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 …]
54 static MediaSession sSession; field in StubMediaBrowserService71 sSession = new MediaSession(this, "StubMediaBrowserService"); in onCreate()72 setSessionToken(sSession.getSessionToken()); in onCreate()78 sSession.release(); in onDestroy()80 sSession = null; in onDestroy()
183 .isEqualTo(StubMediaBrowserService.sSession.getSessionToken()); in testGetSessionToken()
125 .isEqualTo(StubMediaBrowserService.sSession.getSessionToken()); in testMediaBrowser()
43 public static StubSessionImpl sSession; field in StubTvAdService47 sSession = new StubSessionImpl(this); in onCreateSession()48 return sSession; in onCreateSession()
182 mSession = StubTvAdService.sSession; in setUp()
50 public static StubSessionImpl sSession; field in StubTvInteractiveAppService57 sSession = new StubSessionImpl(this); in onCreateSession()58 return sSession; in onCreateSession()
632 mSession = StubTvInteractiveAppService.sSession; in setUp()