Home
last modified time | relevance | path

Searched refs:data_callback (Results 1 – 11 of 11) sorted by relevance

/external/libbrillo/brillo/streams/
Dstream_unittest.cc110 base::Callback<void(AccessMode)> data_callback; in TEST() local
119 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
144 data_callback.Run(AccessMode::READ); in TEST()
196 base::Callback<void(AccessMode)> data_callback; in TEST() local
205 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
224 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
225 data_callback.Run(AccessMode::READ); in TEST()
234 data_callback.Run(AccessMode::READ); in TEST()
250 base::Callback<void(AccessMode)> data_callback; in TEST() local
257 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
[all …]
Dfile_stream.cc83 const DataCallback& data_callback, in WaitForData() argument
101 read_data_callback_ = data_callback; in WaitForData()
119 write_data_callback_ = data_callback; in WaitForData()
Dfile_stream.h49 const DataCallback& data_callback,
Dfile_stream_unittest.cc376 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F() local
381 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST_F()
390 data_callback.Run(Stream::AccessMode::READ); in TEST_F()
515 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F() local
520 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST_F()
529 data_callback.Run(Stream::AccessMode::WRITE); in TEST_F()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_receiver_video.cc29 RtpData* data_callback) { in CreateVideoStrategy() argument
30 return new RTPReceiverVideo(data_callback); in CreateVideoStrategy()
33 RTPReceiverVideo::RTPReceiverVideo(RtpData* data_callback) in RTPReceiverVideo() argument
34 : RTPReceiverStrategy(data_callback) { in RTPReceiverVideo()
Drtp_receiver_strategy.h29 static RTPReceiverStrategy* CreateVideoStrategy(RtpData* data_callback);
31 RtpData* data_callback,
98 explicit RTPReceiverStrategy(RtpData* data_callback);
Drtp_receiver_strategy.cc19 RTPReceiverStrategy::RTPReceiverStrategy(RtpData* data_callback) in RTPReceiverStrategy() argument
21 data_callback_(data_callback) { in RTPReceiverStrategy()
Drtp_receiver_audio.cc23 RtpData* data_callback, in CreateAudioStrategy() argument
25 return new RTPReceiverAudio(data_callback, incoming_messages_callback); in CreateAudioStrategy()
28 RTPReceiverAudio::RTPReceiverAudio(RtpData* data_callback, in RTPReceiverAudio() argument
30 : RTPReceiverStrategy(data_callback), in RTPReceiverAudio()
Drtp_receiver_video.h25 explicit RTPReceiverVideo(RtpData* data_callback);
Drtp_receiver_audio.h31 RTPReceiverAudio(RtpData* data_callback,
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m149 typedef void (^data_callback)(SRWebSocket *webSocket, NSData *data);
153 data_callback _handler;
159 @property (nonatomic, copy, readonly) data_callback handler;
171 - (SRIOConsumer *)consumerWithScanner:(stream_scanner)scanner handler:(data_callback)handler bytesN… argument
191 - (void)_addConsumerWithScanner:(stream_scanner)consumer callback:(data_callback)callback; argument
192 - (void)_addConsumerWithDataLength:(size_t)dataLength callback:(data_callback)callback readToCurren… argument
193 - (void)_addConsumerWithScanner:(stream_scanner)consumer callback:(data_callback)callback dataLengt… argument
194 - (void)_readUntilBytes:(const void *)bytes length:(size_t)length callback:(data_callback)dataHandl… argument
195 - (void)_readUntilHeaderCompleteWithCallback:(data_callback)dataHandler; argument
1118 - (void)_addConsumerWithScanner:(stream_scanner)consumer callback:(data_callback)callback; argument
[all …]