Home
last modified time | relevance | path

Searched refs:device_id (Results 1 – 25 of 34) sorted by relevance

12

/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
Ddevice_registry.cpp25 const std::string& device_id, in RegisterDevice() argument
27 if (devices_.count(device_id) > 0) { in RegisterDevice()
28 LOG(ERROR) << "Device '" << device_id << "' is already registered"; in RegisterDevice()
32 devices_.try_emplace(device_id, device_handler); in RegisterDevice()
33 LOG(INFO) << "Registered device: '" << device_id << "'"; in RegisterDevice()
37 void DeviceRegistry::UnRegisterDevice(const std::string& device_id) { in UnRegisterDevice() argument
38 auto record = devices_.find(device_id); in UnRegisterDevice()
40 LOG(WARNING) << "Requested to unregister an unkwnown device: '" << device_id in UnRegisterDevice()
45 LOG(INFO) << "Unregistered device: '" << device_id << "'"; in UnRegisterDevice()
49 const std::string& device_id) { in GetDevice() argument
[all …]
Ddevice_registry.h33 bool RegisterDevice(const std::string& device_id,
35 void UnRegisterDevice(const std::string& device_id);
37 std::shared_ptr<DeviceHandler> GetDevice(const std::string& device_id);
Dclient_handler.cpp61 auto device_id = message[webrtc_signaling::kDeviceIdField].asString(); in handleConnectionRequest() local
67 auto device_handler = registry_->GetDevice(device_id); in handleConnectionRequest()
69 LogAndReplyError("Connection failed: Device not found: '" + device_id + in handleConnectionRequest()
DReadme.md24 * {"message_type": "register", "device_id": <String>, "device_info": <Any>}
40 * {"message_type": "connect", "device_id": <String>}
/device/google/cuttlefish/tools/play_audio/
Dsdl_wrapper.cpp45 SDLAudioDevice::SDLAudioDevice(SDL_AudioDeviceID device_id) in SDLAudioDevice() argument
46 : device_id_{device_id} {} in SDLAudioDevice()
Dsdl_wrapper.h38 explicit SDLAudioDevice(SDL_AudioDeviceID device_id);
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/js/
Dapp.js19 function ConnectToDevice(device_id) { argument
20 console.log('ConnectToDevice ', device_id);
55 .then(webrtcModule => webrtcModule.Connect(device_id, options))
Dcf_webrtc.js250 async requestDevice(device_id) { argument
258 device_id, property
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dstreamer.h37 std::string device_id; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Ddevdep_params.h23 int32_t device_id; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Ddevdep_params.h23 int32_t device_id; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Ddevdep_params.h6 int32_t device_id; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Ddevdep_params.h6 int32_t device_id; member
/device/google/bonito/sdm710/kernel-headers/sound/
Ddevdep_params.h6 int32_t device_id; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Ddevdep_params.h6 int32_t device_id; member
/device/google/cuttlefish/host/frontend/webrtc/
Dmain.cpp79 streamer_config.device_id = in main()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags.cc574 std::string device_id = FLAGS_webrtc_device_id; in InitializeCuttlefishConfiguration() local
576 while ((pos = device_id.find("{num}")) != std::string::npos) { in InitializeCuttlefishConfiguration()
577 device_id.replace(pos, strlen("{num}"), std::to_string(num)); in InitializeCuttlefishConfiguration()
579 instance.set_webrtc_device_id(device_id); in InitializeCuttlefishConfiguration()
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_audio.h311 uint32_t device_id; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_audio.h311 uint32_t device_id; member
Dmsm_kgsl.h164 unsigned int device_id; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_audio.h427 uint32_t device_id; member
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_audio.h311 uint32_t device_id; member
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_audio.h427 uint32_t device_id; member
Dmsm_kgsl.h255 unsigned int device_id; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_audio.h427 uint32_t device_id; member

12