Home
last modified time | relevance | path

Searched refs:device_info_ (Results 1 – 5 of 5) sorted by relevance

/external/libweave/src/
Dbase_api_handler.cc26 : device_info_{device_info}, device_{device} { in BaseApiHandler()
103 const auto& settings = device_info_->GetSettings();
119 device_info_->GetMutableConfig()->AddOnChangedCallback(base::Bind(
132 const auto& settings = device_info_->GetSettings(); in UpdateBaseConfiguration()
153 device_info_->UpdateBaseConfig(auth_scope, discovery_enabled, in UpdateBaseConfiguration()
177 const auto& settings = device_info_->GetSettings(); in UpdateDeviceInfo()
187 device_info_->UpdateDeviceInfo(name, description, location); in UpdateDeviceInfo()
Ddevice_manager.cc40 device_info_.reset(new DeviceRegistrationInfo(
43 base_api_handler_.reset(new BaseApiHandler{device_info_.get(), this});
49 device_info_->Start();
61 return device_info_->GetSettings(); in GetSettings()
66 device_info_->GetMutableConfig()->AddOnChangedCallback(callback); in AddSettingsChangedCallback()
70 return device_info_->GetMutableConfig(); in GetConfig()
81 device_info_.get(), component_manager_.get()); in StartPrivet()
85 return device_info_->GetGcdState(); in GetGcdState()
90 device_info_->AddGcdStateChangedCallback(callback); in AddGcdStateChangedCallback()
267 device_info_->RegisterDevice(ticket_id, callback); in Register()
Dbase_api_handler.h35 DeviceRegistrationInfo* device_info_; variable
Ddevice_manager.h110 std::unique_ptr<DeviceRegistrationInfo> device_info_; variable
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc236 device_info_.reset(VideoCaptureFactory::CreateDeviceInfo(0)); in SetUp()
237 assert(device_info_.get()); in SetUp()
238 number_of_devices_ = device_info_->NumberOfDevices(); in SetUp()
248 EXPECT_EQ(0, device_info_->GetDeviceName( in OpenVideoCaptureDevice()
273 scoped_ptr<VideoCaptureModule::DeviceInfo> device_info_; member in VideoCaptureTest
294 device_info_->GetCapability(module->CurrentDeviceName(), 0, capability); in TEST_F()
340 int number_of_capabilities = device_info_->NumberOfCapabilities( in TEST_F()
349 EXPECT_EQ(0, device_info_->GetCapability(module->CurrentDeviceName(), i, in TEST_F()
403 device_info_->GetCapability(module1->CurrentDeviceName(), 0, capability1); in TEST_F()
420 device_info_->GetCapability(module2->CurrentDeviceName(), 0, capability2); in TEST_F()