Searched refs:IodevPtr (Results 1 – 2 of 2) sorted by relevance
/external/adhd/cras/src/tests/ |
D | dev_io_stubs.h | 27 using IodevPtr = std::unique_ptr<cras_iodev, decltype(free)*>; variable 50 Device(IodevPtr dev, IonodePtr node, OpendevPtr odev) in Device() 52 IodevPtr dev; 72 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction, 80 void add_stream_to_dev(IodevPtr& dev, const StreamPtr& stream);
|
D | dev_io_stubs.cc | 112 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction, in create_open_iodev() 116 IodevPtr iodev(reinterpret_cast<cras_iodev*>(calloc(1, sizeof(cras_iodev))), in create_open_iodev() 137 IodevPtr dev = create_open_iodev(direction, cb_threshold, format, node.get()); in create_device() 146 void add_stream_to_dev(IodevPtr& dev, const StreamPtr& stream) { in add_stream_to_dev()
|