Home
last modified time | relevance | path

Searched refs:observer (Results 1 – 14 of 14) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Ddata_channels.cpp41 virtual std::shared_ptr<ConnectionObserver> observer() = 0;
119 observer()->OnTouchEvent(label, x, y, down); in OnMessageInner()
142 observer()->OnMultiTouchEvent(label, idArr, slotArr, xArr, yArr, down, in OnMessageInner()
155 observer()->OnKeyboardEvent(code, down); in OnMessageInner()
168 observer()->OnControlChannelOpen(GetJSONSender()); in OnStateChangeInner()
201 observer()->OnLidStateChange(evt["lid_switch_open"].asBool()); in OnMessageInner()
204 observer()->OnHingeAngleChange(evt["hinge_angle_value"].asInt()); in OnMessageInner()
208 observer()->OnCameraControlMsg(evt); in OnMessageInner()
216 observer()->OnPowerButton(button_state == "down"); in OnMessageInner()
218 observer()->OnBackButton(button_state == "down"); in OnMessageInner()
[all …]
Dserver_connection.cpp32 std::weak_ptr<ServerConnectionObserver> observer);
65 std::weak_ptr<ServerConnectionObserver> observer,
127 std::weak_ptr<ServerConnectionObserver> observer);
148 std::weak_ptr<ServerConnectionObserver> observer) { in Connect() argument
154 ret.reset(new UnixServerConnection(conf.addr, observer)); in Connect()
161 conf.security, observer); in Connect()
172 const std::string& addr, std::weak_ptr<ServerConnectionObserver> observer) in UnixServerConnection() argument
173 : addr_(addr), observer_(observer) {} in UnixServerConnection()
274 if (auto observer = observer_.lock(); observer) { in ReadLoop() local
275 observer->OnError(conn_->StrError()); in ReadLoop()
[all …]
Dstreamer.cpp132 void Register(std::weak_ptr<OperatorObserver> observer);
149 webrtc::PeerConnectionObserver& observer,
338 void Streamer::Register(std::weak_ptr<OperatorObserver> observer) { in Register() argument
342 impl_->signal_thread_->PostTask([this, observer]() { in Register()
343 impl_->Register(observer); in Register()
353 void Streamer::Impl::Register(std::weak_ptr<OperatorObserver> observer) { in Register() argument
354 operator_observer_ = observer; in Register()
438 auto observer = operator_observer_.lock(); in OnOpen() local
439 if (observer) { in OnOpen()
440 observer->OnRegistered(); in OnOpen()
[all …]
Daudio_track_source_impl.cpp26 for (auto observer : audio_observers_) { in SetVolume() local
27 observer->OnSetVolume(volume); in SetVolume()
31 void AudioTrackSourceImpl::RegisterAudioObserver(AudioObserver* observer) { in RegisterAudioObserver() argument
33 audio_observers_.insert(observer); in RegisterAudioObserver()
35 void AudioTrackSourceImpl::UnregisterAudioObserver(AudioObserver* observer) { in UnregisterAudioObserver() argument
37 audio_observers_.erase(observer); in UnregisterAudioObserver()
Dclient_handler.cpp65 int client_id, std::shared_ptr<ConnectionObserver> observer, in Create() argument
70 new ClientHandler(client_id, observer, connection_builder, in Create()
75 int client_id, std::shared_ptr<ConnectionObserver> observer, in ClientHandler() argument
80 observer_(observer), in ClientHandler()
85 data_channels_handler_(observer), in ClientHandler()
166 webrtc::PeerConnectionObserver &observer, in Build() argument
170 CF_EXPECT(connection_builder_.Build(observer, per_connection_servers)); in Build()
Daudio_track_source_impl.h36 void RegisterAudioObserver(AudioObserver* observer) override;
37 void UnregisterAudioObserver(AudioObserver* observer) override;
54 void RegisterObserver(webrtc::ObserverInterface* observer) override;
55 void UnregisterObserver(webrtc::ObserverInterface* observer) override;
Dclient_handler.h58 int client_id, std::shared_ptr<ConnectionObserver> observer,
92 webrtc::PeerConnectionObserver& observer,
97 ClientHandler(int client_id, std::shared_ptr<ConnectionObserver> observer,
Dserver_connection.h73 std::weak_ptr<ServerConnectionObserver> observer);
Ddata_channels.h39 DataChannelHandlers(std::shared_ptr<ConnectionObserver> observer);
/device/google/cuttlefish/host/frontend/webrtc/libcommon/
Dconnection_controller.h36 webrtc::PeerConnectionObserver& observer,
78 Observer& observer);
Dconnection_controller.cpp86 ConnectionController::Observer& observer) in ConnectionController() argument
89 observer_(observer) {} in ConnectionController()
/device/google/cuttlefish/build/
DAndroid.bp270 "netsim_ui_js_device-observer.js",
/device/generic/goldfish-opengl/system/profiler/
Dperfetto.cpp40933 TrackEventSessionObserver* observer) { in AddSessionObserver() argument
40937 o = observer; in AddSessionObserver()
40948 TrackEventSessionObserver* observer) { in RemoveSessionObserver() argument
40950 if (o == observer) { in RemoveSessionObserver()
Dperfetto.h15018 static bool AddSessionObserver(TrackEventSessionObserver* observer) {
15019 return TrackEventInternal::AddSessionObserver(observer);
15022 static void RemoveSessionObserver(TrackEventSessionObserver* observer) {
15023 TrackEventInternal::RemoveSessionObserver(observer);