Home
last modified time | relevance | path

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

/device/google/cuttlefish/tools/play_audio/
Dsdl_wrapper.cpp29 : device_id_{other.device_id_} { in SDLAudioDevice()
30 other.device_id_ = 0;
34 device_id_ = other.device_id_; in operator =()
35 other.device_id_ = 0; in operator =()
42 return SDL_QueueAudio(device_id_, data, len); in QueueAudio()
46 : device_id_{device_id} {} in SDLAudioDevice()
49 if (device_id_ != 0) { in close()
50 SDL_CloseAudioDevice(device_id_); in close()
Dsdl_wrapper.h41 SDL_AudioDeviceID device_id_{};
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
Ddevice_handler.cpp31 if (!device_id_.empty() && registry_) { in ~DeviceHandler()
32 registry_->UnRegisterDevice(device_id_); in ~DeviceHandler()
56 if (!device_id_.empty()) { in HandleRegistrationRequest()
57 LogAndReplyError("Device already registered: " + device_id_); in HandleRegistrationRequest()
66 device_id_ = message[webrtc_signaling::kDeviceIdField].asString(); in HandleRegistrationRequest()
70 if (!registry_->RegisterDevice(device_id_, weak_from_this())) { in HandleRegistrationRequest()
Ddevice_handler.h52 std::string device_id_; variable