Home
last modified time | relevance | path

Searched refs:MockRuntimeInfo (Results 1 – 4 of 4) sorted by relevance

/system/libvintf/test/
DRuntimeInfo-fake.cpp23 MockRuntimeInfo::MockRuntimeInfo() { in MockRuntimeInfo() function in android::vintf::details::MockRuntimeInfo
30 ON_CALL(*this, fetchAllInformation(_)).WillByDefault(Invoke(this, &MockRuntimeInfo::doFetch)); in MockRuntimeInfo()
33 status_t MockRuntimeInfo::doFetch(RuntimeInfo::FetchFlags flags) { in doFetch()
62 void MockRuntimeInfo::setNextFetchKernelInfo(KernelVersion&& v, in setNextFetchKernelInfo()
67 void MockRuntimeInfo::setNextFetchKernelInfo(const KernelVersion& v, in setNextFetchKernelInfo()
72 void MockRuntimeInfo::setNextFetchKernelLevel(Level level) { in setNextFetchKernelLevel()
Dutils-fake.h48 class MockRuntimeInfo : public RuntimeInfo {
50 MockRuntimeInfo();
66 MockRuntimeInfoFactory(const std::shared_ptr<MockRuntimeInfo>& info) { object_ = info; } in MockRuntimeInfoFactory()
68 std::shared_ptr<MockRuntimeInfo> getInfo() const { return object_; } in getInfo()
71 std::shared_ptr<MockRuntimeInfo> object_;
Dvintf_object_tests.cpp455 std::make_shared<NiceMock<MockRuntimeInfo>>())) in SetUp()
/system/libvintf/include/vintf/
DKernelInfo.h30 class MockRuntimeInfo; variable
60 friend class details::MockRuntimeInfo;