Home
last modified time | relevance | path

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

/frameworks/native/libs/bufferstreams/rust/src/
Dlib.rs184 const STREAM_CONFIG: StreamConfig = StreamConfig { constant
196 STREAM_CONFIG in make_frame()
207 let subscriber = SharedSubscriber::new(TestSubscriber::new(STREAM_CONFIG)); in test_test_implementations_next()
208 let mut publisher = TestPublisher::new(STREAM_CONFIG); in test_test_implementations_next()
229 let subscriber = SharedSubscriber::new(TestSubscriber::new(STREAM_CONFIG)); in test_test_implementations_complete()
230 let mut publisher = TestPublisher::new(STREAM_CONFIG); in test_test_implementations_complete()
243 let subscriber = SharedSubscriber::new(TestSubscriber::new(STREAM_CONFIG)); in test_test_implementations_error()
244 let mut publisher = TestPublisher::new(STREAM_CONFIG); in test_test_implementations_error()
/frameworks/native/libs/bufferstreams/rust/src/publishers/
Dbuffer_pool_publisher.rs84 const STREAM_CONFIG: StreamConfig = StreamConfig { constant
95 let subscriber = SharedSubscriber::new(TestSubscriber::new(STREAM_CONFIG)); in test_send_next_frame()
97 let mut buffer_pool_publisher = BufferPoolPublisher::new(STREAM_CONFIG, 1).unwrap(); in test_send_next_frame()
/frameworks/native/libs/bufferstreams/rust/src/buffers/
Dbuffer_pool.rs110 const STREAM_CONFIG: StreamConfig = StreamConfig { constant
121 let mut buffer_pool = BufferPool::new(1, STREAM_CONFIG).unwrap(); in buffer_pool_next_buffer()
130 let mut buffer_pool = BufferPool::new(1, STREAM_CONFIG).unwrap(); in drop_buffer_returns_to_pool()
Dbuffer.rs63 const STREAM_CONFIG: StreamConfig = StreamConfig { constant
74 let hardware_buffer = STREAM_CONFIG.create_hardware_buffer().unwrap(); in test_get_buffer_id()