Home
last modified time | relevance | path

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

/external/libbrillo/brillo/streams/
Dstream_test.cc129 base::Callback<void(AccessMode)> data_callback; in TEST() local
138 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
161 data_callback.Run(AccessMode::READ); in TEST()
214 base::Callback<void(AccessMode)> data_callback; in TEST() local
223 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
240 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
241 data_callback.Run(AccessMode::READ); in TEST()
250 data_callback.Run(AccessMode::READ); in TEST()
267 base::Callback<void(AccessMode)> data_callback; in TEST() local
274 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
[all …]
Dfile_stream.cc86 const DataCallback& data_callback, in WaitForData() argument
100 read_data_callback_ = data_callback; in WaitForData()
114 write_data_callback_ = data_callback; in WaitForData()
Dfile_stream.h51 const DataCallback& data_callback,
Dfile_stream_test.cc389 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F() local
394 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST_F()
403 data_callback.Run(Stream::AccessMode::READ); in TEST_F()
526 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F() local
531 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST_F()
540 data_callback.Run(Stream::AccessMode::WRITE); in TEST_F()
/external/webrtc/examples/objc/AppRTCMobile/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
1119 - (void)_addConsumerWithScanner:(stream_scanner)consumer callback:(data_callback)callback; argument
[all …]
/external/webrtc/modules/audio_device/win/
Dcore_audio_base_win.h81 OnDataCallback data_callback,
Dcore_audio_base_win.cc158 OnDataCallback data_callback, in CoreAudioBase() argument
163 on_data_callback_(data_callback), in CoreAudioBase()