Lines Matching refs:session
86 sp<IECOSession> session = nullptr; in TEST_F() local
88 service->obtainSession(-1 /* width */, kTestHeight, kIsCameraRecording, &session); in TEST_F()
89 EXPECT_FALSE(session); in TEST_F()
96 sp<IECOSession> session = nullptr; in TEST_F() local
98 service->obtainSession(kTestWidth, -1 /* height */, kIsCameraRecording, &session); in TEST_F()
99 EXPECT_FALSE(session); in TEST_F()
106 sp<IECOSession> session = nullptr; in TEST_F() local
108 service->obtainSession(kTestWidth, kTestHeight, false /* isCameraRecording */, &session); in TEST_F()
109 EXPECT_TRUE(session); in TEST_F()
117 sp<IECOSession> session = nullptr; in TEST_F() local
119 service->obtainSession(kTestWidth, kTestHeight, kIsCameraRecording, &session); in TEST_F()
120 EXPECT_TRUE(session); in TEST_F()
190 sp<IECOSession> session = nullptr; in TEST_F() local
192 service->obtainSession(kTestWidth, kTestHeight, kIsCameraRecording, &session); in TEST_F()
193 EXPECT_TRUE(session); in TEST_F()
198 fakeProvider->setECOSession(session); in TEST_F()
206 Status status = session->addStatsProvider(fakeProvider, providerConfig, &res); in TEST_F()
211 fakeListener->setECOSession(session); in TEST_F()
223 status = session->addInfoListener(fakeListener, listenerConfig, &res); in TEST_F()