Lines Matching refs:ecoSession
93 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
94 EXPECT_TRUE(ecoSession); in TEST_F()
97 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
101 Status status = ecoSession->addStatsProvider(fakeProvider, providerConfig, &res); in TEST_F()
106 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
107 EXPECT_TRUE(ecoSession); in TEST_F()
110 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
115 Status status = ecoSession->addStatsProvider(fakeProvider, providerConfig, &res); in TEST_F()
120 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
121 EXPECT_TRUE(ecoSession); in TEST_F()
124 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
129 Status status = ecoSession->addStatsProvider(fakeProvider, providerConfig, &res); in TEST_F()
136 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
137 EXPECT_TRUE(ecoSession); in TEST_F()
140 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
145 Status status = ecoSession->addStatsProvider(fakeProvider1, providerConfig, &res); in TEST_F()
149 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
150 status = ecoSession->addStatsProvider(fakeProvider2, providerConfig, &res); in TEST_F()
155 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
156 EXPECT_TRUE(ecoSession); in TEST_F()
159 kTestWidth - 1, kTestHeight, kIsCameraRecording, ecoSession); in TEST_F()
164 Status status = ecoSession->addInfoListener(fakeListener, ListenerConfig, &res); in TEST_F()
169 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
170 EXPECT_TRUE(ecoSession); in TEST_F()
173 kTestWidth, kTestHeight - 1, kIsCameraRecording, ecoSession); in TEST_F()
178 Status status = ecoSession->addInfoListener(fakeListener, ListenerConfig, &res); in TEST_F()
183 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
184 EXPECT_TRUE(ecoSession); in TEST_F()
187 kTestWidth, kTestHeight, !kIsCameraRecording, ecoSession); in TEST_F()
192 Status status = ecoSession->addInfoListener(fakeListener, ListenerConfig, &res); in TEST_F()
204 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
208 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
215 Status status = ecoSession->addStatsProvider(fakeProvider, providerConfig, &res); in TEST_F()
219 new FakeECOServiceInfoListener(kTestWidth, kTestHeight, kIsCameraRecording, ecoSession); in TEST_F()
231 status = ecoSession->addInfoListener(fakeListener, listenerConfig, &res); in TEST_F()
412 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
413 EXPECT_TRUE(ecoSession); in TEST_F()
416 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
421 Status status = ecoSession->addStatsProvider(fakeProvider1, providerConfig, &res); in TEST_F()
425 status = ecoSession->removeStatsProvider(fakeProvider1, &res); in TEST_F()
431 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
432 EXPECT_TRUE(ecoSession); in TEST_F()
435 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
440 Status status = ecoSession->addStatsProvider(fakeProvider1, providerConfig, &res); in TEST_F()
445 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
447 status = ecoSession->removeStatsProvider(fakeProvider2, &res); in TEST_F()
453 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
454 EXPECT_TRUE(ecoSession); in TEST_F()
458 new FakeECOServiceInfoListener(kTestWidth, kTestHeight, kIsCameraRecording, ecoSession); in TEST_F()
471 Status status = ecoSession->addInfoListener(fakeListener, listenerConfig, &res); in TEST_F()
473 status = ecoSession->removeInfoListener(fakeListener, &res); in TEST_F()
479 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
480 EXPECT_TRUE(ecoSession); in TEST_F()
484 new FakeECOServiceInfoListener(kTestWidth, kTestHeight, kIsCameraRecording, ecoSession); in TEST_F()
497 Status status = ecoSession->addInfoListener(fakeListener, listenerConfig, &res); in TEST_F()
501 new FakeECOServiceInfoListener(kTestWidth, kTestHeight, kIsCameraRecording, ecoSession); in TEST_F()
503 status = ecoSession->removeInfoListener(fakeListener2, &res); in TEST_F()
515 sp<ECOSession> ecoSession = createSession(kTestWidth, kTestHeight, kIsCameraRecording); in TEST_F() local
519 kTestWidth, kTestHeight, kIsCameraRecording, kFrameRate, ecoSession); in TEST_F()
526 Status status = ecoSession->addStatsProvider(fakeProvider, providerConfig, &res); in TEST_F()
549 new FakeECOServiceInfoListener(kTestWidth, kTestHeight, kIsCameraRecording, ecoSession); in TEST_F()
571 status = ecoSession->addInfoListener(fakeListener, listenerConfig, &res); in TEST_F()