Searched refs:session1 (Results 1 – 7 of 7) sorted by relevance
138 hidl_vec<uint8_t> session1; in main() local141 session1 = sessionId; in main()149 FAIL_CHECK(cas->processEcm(session1, ecm) == Status::OK); in main()161 FAIL_CHECK(descrambler->setMediaCasSession(session1) == Status::OK); in main()162 FAIL_CHECK(cas->closeSession(session1) == Status::OK); in main()
147 try (LightsManager.LightsSession session1 = mManager.openSession(); in testControlLights_firstCallerWinsContention() argument151 session1.setLights(new Builder().setLight(mLights.get(0), new LightState(TAN)).build()); in testControlLights_firstCallerWinsContention()157 session1.close(); in testControlLights_firstCallerWinsContention()
432 final ActivitySession session1 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() local435 isUidAccesibleOnDisplay(session1), true); in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay()461 final ActivitySession session1 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay() local464 isUidAccesibleOnDisplay(session1), true); in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay()
502 byte[] session1 = openSession(md); in testMultipleSessions()506 assertFalse(Arrays.equals(session1, session2)); in testMultipleSessions()509 md.closeSession(session1); in testMultipleSessions()
332 try (MediaSession2 session1 = new MediaSession2.Builder(context) in testGetSession2TokensWithTwoSessions() argument338 Session2Token session1Token = session1.getToken(); in testGetSession2TokensWithTwoSessions()
164 MediaSession2 session1 = builder.build(); in testBuilder_createSessionWithDupId() argument
173 final Session session1 = service.getFinishedSession(sessionId1); in testLaunchAnotherActivity() local174 activity1.assertDefaultEvents(session1); in testLaunchAnotherActivity()225 final Session session1 = service.getFinishedSession(sessionId1); in testLaunchAnotherActivity_onTopOfIt() local226 final List<ContentCaptureEvent> events1 = session1.getEvents(); in testLaunchAnotherActivity_onTopOfIt()