Home
last modified time | relevance | path

Searched refs:MockRuntimeInfo (Results 1 – 5 of 5) 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.h60 class MockRuntimeInfo : public RuntimeInfo {
62 MockRuntimeInfo();
78 MockRuntimeInfoFactory(const std::shared_ptr<MockRuntimeInfo>& info) { object_ = info; } in MockRuntimeInfoFactory()
80 std::shared_ptr<MockRuntimeInfo> getInfo() const { return object_; } in getInfo()
83 std::shared_ptr<MockRuntimeInfo> object_;
DVintfObjectRecoveryTest.cpp48 using details::MockRuntimeInfo;
104 std::make_shared<NiceMock<MockRuntimeInfo>>())) in SetUp()
Dvintf_object_tests.cpp489 std::make_shared<NiceMock<MockRuntimeInfo>>())) in SetUp()
1044 std::make_shared<NiceMock<MockRuntimeInfo>>())) in SetUp()
/system/libvintf/include/vintf/
DKernelInfo.h30 class MockRuntimeInfo; variable
60 friend class details::MockRuntimeInfo;