Home
last modified time | relevance | path

Searched refs:MockEvsHal (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DCommon.cpp36 std::shared_ptr<MockEvsHal> initializeMockEvsHal() { in initializeMockEvsHal()
41 std::shared_ptr<MockEvsHal> mockEvsHal = in initializeMockEvsHal()
42 std::make_shared<MockEvsHal>(/* numCameras= */ uniform_dist(engine), in initializeMockEvsHal()
50 std::shared_ptr<IEvsCamera> openFirstCamera(const std::shared_ptr<MockEvsHal>& handle) { in openFirstCamera()
DCommon.h47 std::shared_ptr<MockEvsHal> initializeMockEvsHal();
49 const std::shared_ptr<MockEvsHal>& handle);
DVirtualCameraFuzzer.cpp31 using aidl::android::automotive::evs::implementation::MockEvsHal;
69 std::shared_ptr<MockEvsHal> mockEvsHal = initializeMockEvsHal(); in LLVMFuzzerTestOneInput()
DHalCameraFuzzer.cpp34 using aidl::android::automotive::evs::implementation::MockEvsHal;
77 std::shared_ptr<MockEvsHal> mockEvsHal = initializeMockEvsHal(); in LLVMFuzzerTestOneInput()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DMockEvsHal.cpp115 MockEvsHal::~MockEvsHal() { in ~MockEvsHal()
147 std::shared_ptr<IEvsEnumerator> MockEvsHal::getEnumerator() { in getEnumerator()
156 void MockEvsHal::initialize() { in initialize()
163 bool MockEvsHal::buildCameraMetadata(int32_t width, int32_t height, int32_t format, in buildCameraMetadata()
186 void MockEvsHal::forwardFrames(size_t numberOfFramesToForward, const std::string& deviceId) { in forwardFrames()
249 size_t MockEvsHal::initializeBufferPool(size_t requested) { in initializeBufferPool()
291 void MockEvsHal::deinitializeBufferPoolLocked() { in deinitializeBufferPoolLocked()
316 void MockEvsHal::configureCameras(size_t n) { in configureCameras()
329 bool MockEvsHal::addMockCameraDevice(const std::string& deviceId) { in addMockCameraDevice()
576 std::packaged_task<void(MockEvsHal*, size_t, const std::string&)> task( in addMockCameraDevice()
[all …]
DEvsEnumeratorUnitTest.cpp89 mMockEvsHal = std::make_shared<MockEvsHal>(kNumMockEvsCameras, kNumMockEvsDisplays); in SetUp()
113 std::shared_ptr<MockEvsHal> mMockEvsHal;
/packages/services/Car/service/jni/test-libs/
DMockEvsServiceFactory.cpp21 using ::aidl::android::automotive::evs::implementation::MockEvsHal;
32 mMockEvs = std::make_unique<MockEvsHal>(kNumberOfMockCameras, kNumberOfMockDisplays); in init()
DMockEvsServiceFactory.h37 std::unique_ptr<aidl::android::automotive::evs::implementation::MockEvsHal> mMockEvs;
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/include/
DMockEvsHal.h38 class MockEvsHal {
40 MockEvsHal(size_t numCameras, size_t numDisplays) : in MockEvsHal() function
42 ~MockEvsHal();
/packages/services/Car/cpp/evs/manager/aidl/
DAndroid.bp149 "tests/unit/src/MockEvsHal.cpp",