/external/libweave/src/notification/ |
notification_delegate.h | 24 virtual void OnDeviceDeleted(const std::string& cloud_id) = 0;
|
notification_parser.cc | 30 std::string cloud_id; local 31 if (!notification.GetString("deviceId", &cloud_id)) { 36 delegate->OnDeviceDeleted(cloud_id);
|
/external/libweave/include/weave/ |
settings.h | 67 std::string cloud_id; member in struct:weave::Settings
|
/external/libweave/src/ |
config_unittest.cc | 82 EXPECT_EQ("", GetSettings().cloud_id); 98 EXPECT_EQ("state_device_id", GetSettings().cloud_id); 100 EXPECT_NE(GetSettings().cloud_id, GetSettings().device_id); 105 "cloud_id": "state_cloud_id" 110 EXPECT_EQ("state_cloud_id", GetSettings().cloud_id); 136 "cloud_id": "state_cloud_id", 179 EXPECT_EQ("state_cloud_id", GetSettings().cloud_id); 240 EXPECT_EQ("set_cloud_id", GetSettings().cloud_id); 272 'cloud_id': 'set_cloud_id',
|
config.cc | 44 const char kCloudId[] = "cloud_id"; 62 std::string cloud_id; local 63 if (dict->GetString(config_keys::kCloudId, &cloud_id) && !cloud_id.empty()) 136 CHECK(settings_.cloud_id.empty()); 262 dict.SetString(config_keys::kCloudId, settings_.cloud_id);
|
device_registration_info.cc | 259 !GetSettings().cloud_id.empty() && !HaveRegistrationCredentials(); 283 CHECK(!GetSettings().cloud_id.empty()) << "Must have a valid device ID"; 285 "devices/" + GetSettings().cloud_id + "/" + subpath, params); 320 !GetSettings().cloud_id.empty() && 481 if (!GetSettings().cloud_id.empty()) 482 resource->SetString("id", GetSettings().cloud_id); 583 std::string cloud_id; local 589 !device_draft_response->GetString("id", &cloud_id)) { 606 weak_factory_.GetWeakPtr(), cloud_id, robot_account, 611 const std::string& cloud_id, [all...] |
device_registration_info.h | 101 // https://www.googleapis.com/weave/v1/devices/<cloud_id>/ 259 void SetDeviceId(const std::string& cloud_id); 272 void OnDeviceDeleted(const std::string& cloud_id) override; 288 const std::string& cloud_id,
|
config.h | 90 void set_cloud_id(const std::string& id) { settings_->cloud_id = id; }
|
weave_unittest.cc | 73 "id": "CLOUD_ID", 138 "deviceId": "CLOUD_ID", 148 "deviceId": "CLOUD_ID", 230 txt.push_back("gcd_id=CLOUD_ID"); 428 EXPECT_EQ("CLOUD_ID", device_->GetSettings().cloud_id); 438 EXPECT_EQ("CLOUD_ID", device_->GetSettings().cloud_id);
|
device_registration_info_unittest.cc | 163 dict.SetString("cloud_id", test_data::kCloudId); 345 EXPECT_EQ(test_data::kCloudId, dev_reg_->GetSettings().cloud_id); 556 EXPECT_EQ(test_data::kCloudId, dev_reg_->GetSettings().cloud_id); 578 EXPECT_EQ(test_data::kCloudId, dev_reg_->GetSettings().cloud_id);
|
/external/libweave/src/privet/ |
cloud_delegate.cc | 139 ? device_->GetSettings().cloud_id 261 void OnRegisterSuccess(const std::string& cloud_id) { 262 VLOG(1) << "Device registered: " << cloud_id;
|
/external/libweave/examples/daemon/common/ |
daemon.h | 110 LOG(INFO) << "Device registered: " << device->GetSettings().cloud_id;
|
/system/weaved/buffet/ |
manager.cc | 301 UpdateValue(this, &Manager::cloud_id_, settings.cloud_id, 302 NotificationListener::CLOUD_ID, &ids);
|