Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
mir::test::doubles::HardwareAccessMock Class Reference

#include <mock_android_hw.h>

Public Member Functions

 HardwareAccessMock ()
 
 ~HardwareAccessMock ()
 
 MOCK_METHOD2 (hw_get_module, int(const char *id, const struct hw_module_t **))
 
bool open_count_matches_close ()
 

Public Attributes

std::shared_ptr< alloc_device_t > mock_alloc_device
 
std::shared_ptr
< hwc_composer_device_1 > 
mock_hwc_device
 
std::shared_ptr
< HardwareModuleStub
mock_gralloc_module
 
std::shared_ptr
< HardwareModuleStub
mock_hwc_module
 

Constructor & Destructor Documentation

mir::test::doubles::HardwareAccessMock::HardwareAccessMock ( )
mir::test::doubles::HardwareAccessMock::~HardwareAccessMock ( )

Member Function Documentation

mir::test::doubles::HardwareAccessMock::MOCK_METHOD2 ( hw_get_module  ,
int(const char *id, const struct hw_module_t **)   
)
bool mir::test::doubles::HardwareAccessMock::open_count_matches_close ( )

Member Data Documentation

std::shared_ptr<alloc_device_t> mir::test::doubles::HardwareAccessMock::mock_alloc_device
std::shared_ptr<HardwareModuleStub> mir::test::doubles::HardwareAccessMock::mock_gralloc_module
std::shared_ptr<hwc_composer_device_1> mir::test::doubles::HardwareAccessMock::mock_hwc_device
std::shared_ptr<HardwareModuleStub> mir::test::doubles::HardwareAccessMock::mock_hwc_module

The documentation for this class was generated from the following file:

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013