/external/libweave/src/privet/ |
D | cloud_delegate.cc | 46 device_{device}, 48 device_->GetMutableConfig()->AddOnChangedCallback(base::Bind( 50 device_->AddGcdStateChangedCallback(base::Bind( 70 return device_->GetSettings().device_id; in GetDeviceId() 74 CHECK_EQ(5u, device_->GetSettings().model_id.size()); in GetModelId() 75 return device_->GetSettings().model_id; in GetModelId() 78 std::string GetName() const override { return device_->GetSettings().name; } in GetName() 81 return device_->GetSettings().description; in GetDescription() 85 return device_->GetSettings().location; in GetLocation() 91 device_->UpdateDeviceInfo(name, description, location); in UpdateDeviceInfo() [all …]
|
D | privet_handler_unittest.cc | 101 new PrivetHandler(&cloud_, &device_, &security_, &wifi_, &clock_)); in SetUp() 133 new PrivetHandler(&cloud_, &device_, &security_, nullptr, &clock_)); in SetNoWifiAndGcd() 147 testing::StrictMock<MockDeviceDelegate> device_; member in weave::privet::PrivetHandlerTest 261 EXPECT_CALL(device_, GetHttpEnpoint()) in TEST_F() 263 EXPECT_CALL(device_, GetHttpsEnpoint()) in TEST_F() 957 EXPECT_CALL(device_, GetHttpRequestTimeout()) in TEST_F() 975 EXPECT_CALL(device_, GetHttpRequestTimeout()) in TEST_F() 998 EXPECT_CALL(device_, GetHttpRequestTimeout()) in TEST_F() 1020 EXPECT_CALL(device_, GetHttpRequestTimeout()) in TEST_F() 1042 EXPECT_CALL(device_, GetHttpRequestTimeout()) in TEST_F() [all …]
|
D | publisher.cc | 33 : dns_sd_{dns_sd}, device_{device}, cloud_{cloud}, wifi_{wifi} { in Publisher() 34 CHECK(device_); 45 if (device_->GetHttpEnpoint().first == 0) in Update() 56 const uint16_t port = device_->GetHttpEnpoint().first; in ExposeService()
|
D | privet_manager.cc | 56 device_ = DeviceDelegate::CreateDefault( in Start() 76 publisher_.reset(new Publisher(device_.get(), cloud_.get(), in Start() 80 privet_handler_.reset(new PrivetHandler(cloud_.get(), device_.get(), in Start()
|
D | publisher.h | 44 const DeviceDelegate* device_{nullptr};
|
D | privet_manager.h | 84 std::unique_ptr<DeviceDelegate> device_; variable
|
D | privet_handler.cc | 374 device_(device), in PrivetHandler() 379 CHECK(device_); in PrivetHandler() 558 output.Set(kInfoEndpointsKey, CreateEndpointsSection(*device_).release()); in HandleInfo() 958 base::TimeDelta timeout = device_->GetHttpRequestTimeout(); in HandleCheckForUpdates() 1023 device_->PostDelayedTask( in HandleCheckForUpdates()
|
D | privet_handler.h | 142 DeviceDelegate* device_{nullptr};
|
/external/libweave/src/ |
D | base_api_handler.cc | 26 : device_info_{device_info}, device_{device} { in BaseApiHandler() 27 device_->AddTraitDefinitionsFromJson(R"({ 100 CHECK(device_->AddComponent(kBaseComponent, {kBaseTrait}, nullptr)); 101 OnConfigChanged(device_->GetSettings()); 106 CHECK(device_->SetStateProperty(kBaseComponent, kBaseStateFirmwareVersion, 110 device_->AddCommandHandler( 115 device_->AddCommandHandler(kBaseComponent, "base.updateDeviceInfo", 166 device_->SetStateProperties(kBaseComponent, state, nullptr); in OnConfigChanged()
|
D | base_api_handler_unittest.cc | 34 EXPECT_CALL(device_, AddTraitDefinitionsFromJson(_)) in SetUp() 38 EXPECT_CALL(device_, SetStateProperties(_, _, _)) in SetUp() 41 EXPECT_CALL(device_, SetStateProperty(_, _, _, _)) in SetUp() 44 EXPECT_CALL(device_, AddComponent(_, _, _)) in SetUp() 51 EXPECT_CALL(device_, in SetUp() 62 EXPECT_CALL(device_, GetSettings()) in SetUp() 65 handler_.reset(new BaseApiHandler{dev_reg_.get(), &device_}); in SetUp() 100 StrictMock<test::MockDevice> device_; member in weave::BaseApiHandlerTest
|
D | access_api_handler.cc | 55 : device_{device}, manager_{manager} { in AccessApiHandler() 56 device_->AddTraitDefinitionsFromJson(R"({ 118 CHECK(device_->AddComponent(kComponent, {kTrait}, nullptr)); 121 device_->AddCommandHandler( 124 device_->AddCommandHandler( 127 device_->AddCommandHandler( 224 device_->SetStateProperties(kComponent, state, nullptr); in UpdateState()
|
D | access_api_handler_unittest.cc | 47 EXPECT_CALL(device_, AddTraitDefinitionsFromJson(_)) in SetUp() 51 EXPECT_CALL(device_, SetStateProperties(_, _, _)) in SetUp() 54 EXPECT_CALL(device_, SetStateProperty(_, _, _, _)) in SetUp() 57 EXPECT_CALL(device_, AddComponent(_, _, _)) in SetUp() 64 EXPECT_CALL(device_, in SetUp() 76 handler_.reset(new AccessApiHandler{&device_, &access_manager_}); in SetUp() 105 StrictMock<test::MockDevice> device_; member in weave::AccessApiHandlerTest
|
D | weave_unittest.cc | 277 device_ = weave::Device::Create(&config_store_, &task_runner_, in StartDevice() 314 device_->AddTraitDefinitionsFromJson(kTraitDefs); in StartDevice() 316 device_->AddComponent("myComponent", {"trait1", "trait2"}, nullptr)); in StartDevice() 317 EXPECT_TRUE(device_->SetStatePropertiesFromJson( in StartDevice() 350 std::unique_ptr<weave::Device> device_; member in weave::WeaveTest 361 device_ = weave::Device::Create(&config_store_, &task_runner_, &http_client_, in TEST_F() 371 device_ = weave::Device::Create(&config_store_, &task_runner_, &http_client_, in TEST_F() 374 device_->AddTraitDefinitionsFromJson(kTraitDefs); in TEST_F() 376 device_->AddComponent("myComponent", {"trait1", "trait2"}, nullptr)); in TEST_F() 424 device_->Register("TICKET_ID", base::Bind([this, &done](ErrorPtr error) { in TEST_F() [all …]
|
D | base_api_handler.h | 36 Device* device_{nullptr};
|
D | access_api_handler.h | 38 Device* device_{nullptr};
|
/external/libweave/examples/daemon/common/ |
D | daemon.h | 85 device_ = weave::Device::Create(config_store_.get(), task_runner_.get(), 91 device_->Register(opts.registration_ticket_, 92 base::Bind(&OnRegisterDeviceDone, device_.get())); 98 weave::Device* GetDevice() const { return device_.get(); } in GetDevice() 121 std::unique_ptr<weave::Device> device_; variable
|
/external/libweave/examples/daemon/sample/ |
D | sample.cc | 62 device_ = device; in Register() 109 device_->SetStateProperty(kComponent, "_sample.pingCount", in OnPingCommand() 111 LOG(INFO) << "New component state: " << device_->GetComponents(); in OnPingCommand() 156 weave::Device* device_{nullptr}; member in SampleHandler
|
/external/libweave/examples/daemon/lock/ |
D | lock.cc | 72 device_ = device; in Register() 124 device_->SetStateProperty(kComponent, "lock.lockedState", in UpdateLockState() 128 weave::Device* device_{nullptr}; member in LockHandler
|
/external/libweave/examples/daemon/ledflasher/ |
D | ledflasher.cc | 62 device_ = device; in Register() 137 device_->SetStateProperty(kComponent, "_ledflasher.leds", list, nullptr); in UpdateLedState() 140 weave::Device* device_{nullptr}; member in LedFlasherHandler
|
/external/libweave/examples/daemon/speaker/ |
D | speaker.cc | 74 device_ = device; in Register() 155 device_->SetStateProperties(kComponent, state, nullptr); in UpdateSpeakerState() 158 weave::Device* device_{nullptr}; member in SpeakerHandler
|
/external/libweave/examples/daemon/oven/ |
D | oven.cc | 146 device_ = device; in Register() 240 device_->SetStateProperties(kComponent, state, nullptr); in UpdateOvenState() 265 weave::Device* device_{nullptr}; member in OvenHandler
|
/external/libweave/examples/daemon/light/ |
D | light.cc | 178 device_ = device; in Register() 292 device_->SetStateProperties(kComponent, state, nullptr); in UpdateLightState() 295 weave::Device* device_{nullptr}; member in LightHandler
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktSynchronization.cpp | 586 const VkDevice device_, in TestContext() 591 , device (device_) in TestContext()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiObjectManagementTests.cpp | 249 VkDevice device_, in Environment() 256 , device (device_) in Environment()
|