#include <mock_android_alloc_device.h>
|
| MockAllocDevice () |
|
| ~MockAllocDevice () |
|
native_handle_t * | mock_generate_sane_android_handle (int numFd, int numInt) |
|
| MOCK_METHOD7 (alloc_interface, int(alloc_device_t *, int, int, int, int, buffer_handle_t *, int *)) |
|
| MOCK_METHOD2 (free_interface, int(alloc_device_t *, buffer_handle_t)) |
|
| MOCK_METHOD3 (dump_interface, int(alloc_device_t *, char *, int)) |
|
|
static int | hook_alloc (alloc_device_t *mock_alloc, int w, int h, int format, int usage, buffer_handle_t *handle, int *stride) |
|
static int | hook_free (alloc_device_t *mock_alloc, buffer_handle_t handle) |
|
static void | hook_dump (alloc_device_t *mock_alloc, char *buf, int buf_len) |
|
mir::test::doubles::MockAllocDevice::MockAllocDevice |
( |
) | |
|
|
inline |
mir::test::doubles::MockAllocDevice::~MockAllocDevice |
( |
) | |
|
|
inline |
static int mir::test::doubles::MockAllocDevice::hook_alloc |
( |
alloc_device_t * |
mock_alloc, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
format, |
|
|
int |
usage, |
|
|
buffer_handle_t * |
handle, |
|
|
int * |
stride |
|
) |
| |
|
inlinestatic |
static void mir::test::doubles::MockAllocDevice::hook_dump |
( |
alloc_device_t * |
mock_alloc, |
|
|
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
inlinestatic |
static int mir::test::doubles::MockAllocDevice::hook_free |
( |
alloc_device_t * |
mock_alloc, |
|
|
buffer_handle_t |
handle |
|
) |
| |
|
inlinestatic |
native_handle_t* mir::test::doubles::MockAllocDevice::mock_generate_sane_android_handle |
( |
int |
numFd, |
|
|
int |
numInt |
|
) |
| |
|
inline |
mir::test::doubles::MockAllocDevice::MOCK_METHOD2 |
( |
free_interface |
, |
|
|
int(alloc_device_t *, buffer_handle_t) |
|
|
) |
| |
mir::test::doubles::MockAllocDevice::MOCK_METHOD3 |
( |
dump_interface |
, |
|
|
int(alloc_device_t *, char *, int) |
|
|
) |
| |
mir::test::doubles::MockAllocDevice::MOCK_METHOD7 |
( |
alloc_interface |
, |
|
|
int(alloc_device_t *, int, int, int, int, buffer_handle_t *, int *) |
|
|
) |
| |
native_handle_t* mir::test::doubles::MockAllocDevice::buffer_handle |
unsigned int mir::test::doubles::MockAllocDevice::fake_stride |
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