Home
last modified time | relevance | path

Searched refs:sink (Results 1 – 25 of 30) sorted by relevance

12

/system/bt/gd/rust/hal/src/
Dfacade.rs50 fn send_command(&mut self, ctx: RpcContext<'_>, mut data: Data, sink: UnarySink<Empty>) { in send_command()
54 sink.success(Empty::default()).await.unwrap(); in send_command()
58 fn send_acl(&mut self, ctx: RpcContext<'_>, mut data: Data, sink: UnarySink<Empty>) { in send_acl()
62 sink.success(Empty::default()).await.unwrap(); in send_acl()
70 fn send_iso(&mut self, ctx: RpcContext<'_>, mut data: Data, sink: UnarySink<Empty>) { in send_iso()
74 sink.success(Empty::default()).await.unwrap(); in send_iso()
78 fn stream_events(&mut self, ctx: RpcContext<'_>, _: Empty, sink: ServerStreamingSink<Data>) { in stream_events()
79 self.evt_rx.stream_grpc(ctx, sink); in stream_events()
82 fn stream_acl(&mut self, ctx: RpcContext<'_>, _: Empty, sink: ServerStreamingSink<Data>) { in stream_acl()
83 self.acl_rx.stream_grpc(ctx, sink); in stream_acl()
[all …]
/system/bt/gd/rust/hci/src/
Dfacade.rs87 fn send_command(&mut self, ctx: RpcContext<'_>, mut data: Data, sink: UnarySink<Empty>) { in send_command()
92 sink.success(Empty::default()).await.unwrap(); in send_command()
98 fn request_event(&mut self, ctx: RpcContext<'_>, req: EventRequest, sink: UnarySink<Empty>) { in request_event()
102 sink.success(Empty::default()).await.unwrap(); in request_event()
110 sink: UnarySink<Empty>, in request_le_subevent()
115 sink.success(Empty::default()).await.unwrap(); in request_le_subevent()
119 fn send_acl(&mut self, ctx: RpcContext<'_>, mut packet: Data, sink: UnarySink<Empty>) { in send_acl()
123 sink.success(Empty::default()).await.unwrap(); in send_acl()
127 fn stream_events(&mut self, ctx: RpcContext<'_>, _req: Empty, sink: ServerStreamingSink<Data>) { in stream_events()
128 self.evt_rx.stream_grpc(ctx, sink); in stream_events()
[all …]
Dcontroller_facade.rs41 fn get_mac_address(&mut self, ctx: RpcContext<'_>, _req: Empty, sink: UnarySink<AddressMsg>) { in get_mac_address()
46 sink.success(address).await.unwrap(); in get_mac_address()
50 fn write_local_name(&mut self, ctx: RpcContext<'_>, req: NameMsg, sink: UnarySink<Empty>) { in write_local_name()
56 sink.success(Empty::default()).await.unwrap(); in write_local_name()
60 fn get_local_name(&mut self, ctx: RpcContext<'_>, _req: Empty, sink: UnarySink<NameMsg>) { in get_local_name()
69 sink.success(msg).await.unwrap(); in get_local_name()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_reader.cpp170 MemoryByteSink sink(buf, count); in Read() local
172 size_t initial_bytes = std::min(block_size_ - start_offset, sink.remaining()); in Read()
173 ssize_t rv = ReadBlock(start_chunk, &sink, start_offset, initial_bytes); in Read()
180 ssize_t rv = ReadBlock(chunk, &sink, 0); in Read()
187 if (sink.remaining()) { in Read()
188 ssize_t rv = ReadBlock(end_chunk, &sink, 0, {sink.remaining()}); in Read()
197 DCHECK(sink.pos() - sink.buf() == count); in Read()
227 ssize_t CompressedSnapshotReader::ReadBlock(uint64_t chunk, IByteSink* sink, size_t start_offset, in ReadBlock() argument
244 void* buffer = sink->GetBuffer(bytes_to_read, &actual); in ReadBlock()
Dcow_api_test.cpp105 StringSink sink; in TEST_F() local
115 ASSERT_TRUE(reader.ReadData(*op, &sink)); in TEST_F()
116 ASSERT_EQ(sink.stream(), data); in TEST_F()
167 StringSink sink; in TEST_F() local
173 ASSERT_TRUE(reader.ReadData(*op, &sink)); in TEST_F()
174 ASSERT_EQ(sink.stream(), data); in TEST_F()
208 StringSink sink; in TEST_F() local
214 ASSERT_TRUE(reader.ReadData(*op, &sink)); in TEST_F()
215 ASSERT_EQ(sink.stream(), data); in TEST_F()
227 sink.Reset(); in TEST_F()
[all …]
Dcow_decompress.h49 void set_sink(IByteSink* sink) { sink_ = sink; } in set_sink() argument
Dinspect_cow.cpp118 StringSink sink; in Inspect() local
126 if (!reader.ReadData(op, &sink)) { in Inspect()
131 sink.Reset(); in Inspect()
Dsnapshot_reader.h68 ssize_t ReadBlock(uint64_t chunk, IByteSink* sink, size_t start_offset,
Dcow_reader.cpp540 bool CowReader::ReadData(const CowOperation& op, IByteSink* sink) { in ReadData() argument
559 decompressor->set_sink(sink); in ReadData()
/system/core/fastboot/device/
Dusb_client.cpp45 struct usb_endpoint_descriptor_no_audio sink; member
52 struct usb_endpoint_descriptor_no_audio sink; member
87 .sink =
89 .bLength = sizeof(fs_descriptors.sink),
107 .sink =
109 .bLength = sizeof(hs_descriptors.sink),
133 .sink =
135 .bLength = sizeof(ss_descriptors.sink),
/system/bt/gd/rust/facade/helpers/
Dlib.rs5 use futures::sink::SinkExt;
37 pub fn stream_grpc(&mut self, ctx: RpcContext<'_>, mut sink: ServerStreamingSink<Data>) { in stream_grpc()
46 if let Err(e) = sink.send((data, WriteFlags::default())).await { in stream_grpc()
/system/bt/gd/rust/facade/src/
Dlib.rs43 sink: UnarySink<StartStackResponse>, in start_stack()
46 sink.success(StartStackResponse::default()); in start_stack()
53 sink: UnarySink<StopStackResponse>, in stop_stack()
56 sink.success(StopStackResponse::default()); in stop_stack()
/system/media/tests/
Dsystemaudio_tests.cpp52 const audio_port_config sink = { in TEST() local
54 ASSERT_TRUE(audio_patch_is_valid((PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
56 (PatchBuilder{}).addSource(src).addSource(src).addSink(sink).patch())); in TEST()
58 (PatchBuilder{}).addSource(src).addSink(sink).addSink(sink).patch())); in TEST()
61 addSink(sink).addSink(sink).patch())); in TEST()
104 const audio_port_config sink = { in TEST() local
108 (PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
110 (PatchBuilder{}).addSource(src).addSink(sink).patch(), in TEST()
111 (PatchBuilder{}).addSource(src).addSink(sink).patch())); in TEST()
113 (PatchBuilder{}).addSource(src).addSink(sink).patch(), in TEST()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_reader.h83 virtual bool ReadData(const CowOperation& op, IByteSink* sink) = 0;
140 bool ReadData(const CowOperation& op, IByteSink* sink) override;
/system/bt/audio_hal_interface/
Dle_audio_software.h87 bool ReleaseSink(Sink* sink);
Dle_audio_software.cc491 bool LeAudioClientInterface::ReleaseSink(LeAudioClientInterface::Sink* sink) { in ReleaseSink() argument
492 if (sink != sink_) { in ReleaseSink()
497 if (le_audio_sink_hal_clientinterface && le_audio_sink) sink->Cleanup(); in ReleaseSink()
Dclient_interface.cc422 IBluetoothSinkTransportInstance* sink, in BluetoothAudioSinkClientInterface() argument
426 sink}, in BluetoothAudioSinkClientInterface()
427 sink_(sink) {
/system/bt/gd/docs/architecture/
Dstyle_guide.md90 * Source and sink, server and client profiles should live in two sub folders
92 source and sink must have separate modules
151 * sink/: A2DP sink module (e.g. headset)
/system/sepolicy/prebuilts/api/26.0/private/
Daudioserver.te22 # used for TEE sink - pcm capture for debug.
/system/sepolicy/prebuilts/api/27.0/private/
Daudioserver.te22 # used for TEE sink - pcm capture for debug.
/system/sepolicy/prebuilts/api/28.0/private/
Daudioserver.te22 # used for TEE sink - pcm capture for debug.
/system/sepolicy/prebuilts/api/29.0/private/
Daudioserver.te23 # used for TEE sink - pcm capture for debug.
/system/sepolicy/prebuilts/api/30.0/private/
Daudioserver.te23 # used for TEE sink - pcm capture for debug.
/system/sepolicy/prebuilts/api/31.0/private/
Daudioserver.te23 # used for TEE sink - pcm capture for debug.
/system/sepolicy/private/
Daudioserver.te23 # used for TEE sink - pcm capture for debug.

12