Home
last modified time | relevance | path

Searched refs:evsCam (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/evs/aidl/impl/default/tests/
DEvsCameraStateTest.cpp170 auto evsCam = ndk::SharedRefBase::make<EvsCameraForTest>(); in TEST() local
172 EXPECT_FALSE(evsCam->mPreStartCalled); in TEST()
173 EXPECT_FALSE(evsCam->mPostStartCalled); in TEST()
174 EXPECT_FALSE(evsCam->mPreStopCalled); in TEST()
175 EXPECT_FALSE(evsCam->mPostStopCalled); in TEST()
176 EXPECT_FALSE(evsCam->mStreamStarted); in TEST()
177 EXPECT_FALSE(evsCam->mStreamStopped); in TEST()
178 EXPECT_EQ(evsCam->mStreamState, StreamState::STOPPED); in TEST()
179 evsCam->startVideoStream(mockStream); in TEST()
181 EXPECT_TRUE(evsCam->mPreStartCalled); in TEST()
[all …]
DEvsCameraBufferTest.cpp98 auto evsCam = ndk::SharedRefBase::make<EvsCameraForTest>(); in TEST() local
99 EXPECT_TRUE(evsCam->setMaxFramesInFlight(100).isOk()); in TEST()
100 evsCam->checkBufferOrder(); in TEST()
101 EXPECT_TRUE(evsCam->setMaxFramesInFlight(50).isOk()); in TEST()
102 evsCam->checkBufferOrder(); in TEST()
105 const auto [id1, handle1] = evsCam->useBuffer_unsafe(); in TEST()
106 const auto [id2, handle2] = evsCam->useBuffer_unsafe(); in TEST()
107 std::ignore = evsCam->useBuffer_unsafe(); in TEST()
111 EXPECT_TRUE(evsCam->setMaxFramesInFlight(1).isOk()); in TEST()
112 evsCam->checkBufferOrder(); in TEST()
[all …]