Home
last modified time | relevance | path

Searched refs:command_id (Results 1 – 14 of 14) sorted by relevance

/external/autotest/client/common_lib/cros/fake_device_server/
Dcommands.py41 command_id = '%s_%03d' % (uuid.uuid4().hex[0:6],
44 return command_id
92 command_id = self._generate_command_id()
93 command_resource['id'] = command_id
95 self.device_commands[device_id][command_id] = command_resource
143 for command_id, resource in self.device_commands[device_id].iteritems():
144 if command_id == requested_command_id:
145 return self.device_commands[device_id][command_id]
Dcommands_unittest.py56 command_id = new_command['id']
59 self.commands.device_commands[DEVICE_ID][command_id],
DREADME31 <command_id>
/external/libweave/src/notification/
Dnotification_parser_unittest.cc53 "id": "command_id", in TEST_F()
56 "commandId": "command_id" in TEST_F()
68 "id": "command_id", in TEST_F()
103 "id": "command_id", in TEST_F()
106 "commandId": "command_id" in TEST_F()
125 "id": "command_id", in TEST_F()
128 "commandId": "command_id" in TEST_F()
148 "id": "command_id", in TEST_F()
151 "commandId": "command_id" in TEST_F()
/external/kernel-headers/original/uapi/linux/
Dnvme.h198 __u16 command_id; member
210 __u16 command_id; member
248 __u16 command_id; member
321 __u16 command_id; member
333 __u16 command_id; member
346 __u16 command_id; member
360 __u16 command_id; member
374 __u16 command_id; member
384 __u16 command_id; member
394 __u16 command_id; member
[all …]
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Dcommands.py24 def get_command(self, command_id): argument
29 request = urllib2.Request(self.get_url([command_id]),
46 def update_command(self, command_id, data, replace=False): argument
58 request = urllib2.Request(self.get_url([command_id]), json.dumps(data),
/external/libweave/src/commands/
Dcommand_instance.cc172 std::string* command_id, in FromJson() argument
176 if (!command_id) in FromJson()
177 command_id = &command_id_buffer; in FromJson()
182 command_id->clear(); in FromJson()
188 if (!json->GetString(commands::attributes::kCommand_Id, command_id)) in FromJson()
189 command_id->clear(); in FromJson()
207 if (!command_id->empty()) in FromJson()
208 instance->SetID(*command_id); in FromJson()
Dcloud_command_update_interface.h19 virtual void UpdateCommand(const std::string& command_id,
Dcommand_instance.h77 std::string* command_id,
/external/libweave/src/privet/
Dcloud_delegate.cc33 CommandInstance* ReturnNotFound(const std::string& command_id, in ReturnNotFound() argument
36 "Command not found, ID='%s'", command_id.c_str()); in ReturnNotFound()
294 CommandInstance* GetCommandInternal(const std::string& command_id, in GetCommandInternal() argument
298 auto it = command_owners_.find(command_id); in GetCommandInternal()
300 return ReturnNotFound(command_id, error); in GetCommandInternal()
305 auto command = component_manager_->FindCommand(command_id); in GetCommandInternal()
307 return ReturnNotFound(command_id, error); in GetCommandInternal()
/external/autotest/client/cros/audio/
Dcmd_utils.py168 command_id = _command_serial_number.next()
169 prefix = '[%04d] ' % command_id
184 ps.command_id = command_id
/external/libweave/src/
Ddevice_registration_info.cc860 const std::string& command_id, in UpdateCommand() argument
864 GetServiceURL("commands/" + command_id), &command_patch, in UpdateCommand()
868 void DeviceRegistrationInfo::NotifyCommandAborted(const std::string& command_id, in NotifyCommandAborted() argument
877 UpdateCommand(command_id, command_patch, base::Bind(&IgnoreCloudError)); in NotifyCommandAborted()
1099 std::string command_id; in ProcessInitialCommandList() local
1100 if (!command_dict->GetString("id", &command_id)) { in ProcessInitialCommandList()
1109 GetServiceURL("commands/" + command_id), cmd_copy.get(), in ProcessInitialCommandList()
1134 std::string command_id; in PublishCommand() local
1137 command, Command::Origin::kCloud, UserRole::kOwner, &command_id, &error); in PublishCommand()
1140 if (!command_id.empty()) in PublishCommand()
[all …]
Dcomponent_manager_impl.cc218 std::string command_id; in ParseCommandInstance() local
220 CommandInstance::FromJson(&command, command_origin, &command_id, error); in ParseCommandInstance()
225 *id = command_id; in ParseCommandInstance()
284 if (command_id.empty()) { in ParseCommandInstance()
285 command_id = std::to_string(++next_command_id_); in ParseCommandInstance()
286 command_instance->SetID(command_id); in ParseCommandInstance()
288 *id = command_id; in ParseCommandInstance()
Ddevice_registration_info.h114 void UpdateCommand(const std::string& command_id,
251 void NotifyCommandAborted(const std::string& command_id, ErrorPtr error);