Home
last modified time | relevance | path

Searched refs:mockEnumerator (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DMockHidlEvsHal.cpp742 ::android::sp<NiceMockHidlEvsEnumerator> mockEnumerator = in configureEnumerator()
745 ON_CALL(*mockEnumerator, closeCamera) in configureEnumerator()
769 ON_CALL(*mockEnumerator, closeDisplay) in configureEnumerator()
781 ON_CALL(*mockEnumerator, closeUltrasonicsArray) in configureEnumerator()
787 ON_CALL(*mockEnumerator, getCameraList) in configureEnumerator()
808 ON_CALL(*mockEnumerator, getCameraList_1_1) in configureEnumerator()
825 ON_CALL(*mockEnumerator, getDisplayIdList) in configureEnumerator()
841 ON_CALL(*mockEnumerator, getDisplayState).WillByDefault([this]() { in configureEnumerator()
845 ON_CALL(*mockEnumerator, getUltrasonicsArrayList) in configureEnumerator()
852 ON_CALL(*mockEnumerator, isHardware).WillByDefault([]() { return false; }); in configureEnumerator()
[all …]
DMockEvsHal.cpp757 std::shared_ptr<NiceMockEvsEnumerator> mockEnumerator = in configureEnumerator() local
760 ON_CALL(*mockEnumerator, closeCamera) in configureEnumerator()
787 ON_CALL(*mockEnumerator, closeDisplay) in configureEnumerator()
800 ON_CALL(*mockEnumerator, closeUltrasonicsArray) in configureEnumerator()
806 ON_CALL(*mockEnumerator, getCameraList).WillByDefault([this](std::vector<CameraDesc>* out) { in configureEnumerator()
827 ON_CALL(*mockEnumerator, getDisplayIdList).WillByDefault([this](std::vector<uint8_t>* out) { in configureEnumerator()
843 ON_CALL(*mockEnumerator, getDisplayState).WillByDefault([this](DisplayState* out) { in configureEnumerator()
848 ON_CALL(*mockEnumerator, getStreamList) in configureEnumerator()
890 ON_CALL(*mockEnumerator, getUltrasonicsArrayList) in configureEnumerator()
896 ON_CALL(*mockEnumerator, isHardware).WillByDefault([](bool* flag) { in configureEnumerator()
[all …]
DMockHidlEvsHal_1_0.cpp452 ::android::sp<NiceMockHidlEvsEnumerator_1_0> mockEnumerator = in configureEnumerator()
455 ON_CALL(*mockEnumerator, closeCamera) in configureEnumerator()
479 ON_CALL(*mockEnumerator, closeDisplay) in configureEnumerator()
491 ON_CALL(*mockEnumerator, getCameraList) in configureEnumerator()
509 ON_CALL(*mockEnumerator, getDisplayState).WillByDefault([this]() { in configureEnumerator()
513 ON_CALL(*mockEnumerator, openCamera) in configureEnumerator()
532 ON_CALL(*mockEnumerator, openDisplay).WillByDefault([this]() -> ::android::sp<IEvsDisplay> { in configureEnumerator()
543 mMockHidlEvsEnumerator = std::move(mockEnumerator); in configureEnumerator()
DEvsEnumeratorHidlUnitTest_1_0.cpp84 ::android::sp<hidlevs::V1_0::IEvsEnumerator> mockEnumerator = mMockEvsHal->getEnumerator(); in SetUp()
85 EXPECT_NE(nullptr, mockEnumerator); in SetUp()
88 ndk::SharedRefBase::make<AidlEnumerator>(mockEnumerator); in SetUp()
DEvsEnumeratorHidlUnitTest.cpp94 ::android::sp<hidlevs::V1_0::IEvsEnumerator> mockEnumerator = mMockEvsHal->getEnumerator(); in SetUp()
95 EXPECT_NE(nullptr, mockEnumerator); in SetUp()
98 ndk::SharedRefBase::make<AidlEnumerator>(mockEnumerator); in SetUp()