Lines Matching refs:command

29 	BMessage command(IS_FIND_DEVICES);
32 command.AddString("device", name);
34 status_t err = _control_input_server_(&command, &reply);
60 BMessage command(IS_FIND_DEVICES);
63 status_t err = _control_input_server_(&command, &reply);
89 BMessage command(IS_WATCH_DEVICES);
92 command.AddMessenger("target", target);
93 command.AddBool("start", start);
95 return _control_input_server_(&command, &reply);
125 BMessage command(IS_IS_DEVICE_RUNNING);
128 command.AddString("device", fName);
130 return _control_input_server_(&command, &reply) == B_OK;
140 BMessage command(IS_START_DEVICE);
143 command.AddString("device", fName);
145 return _control_input_server_(&command, &reply);
155 BMessage command(IS_STOP_DEVICE);
158 command.AddString("device", fName);
160 return _control_input_server_(&command, &reply);
170 BMessage command(IS_CONTROL_DEVICES);
173 command.AddString("device", fName);
174 command.AddInt32("code", code);
175 command.AddMessage("message", message);
179 status_t err = _control_input_server_(&command, &reply);
191 BMessage command(IS_START_DEVICE);
194 command.AddInt32("type", type);
196 return _control_input_server_(&command, &reply);
203 BMessage command(IS_STOP_DEVICE);
206 command.AddInt32("type", type);
208 return _control_input_server_(&command, &reply);
215 BMessage command(IS_CONTROL_DEVICES);
218 command.AddInt32("type", type);
219 command.AddInt32("code", code);
220 command.AddMessage("message", message);
224 status_t err = _control_input_server_(&command, &reply);
257 _control_input_server_(BMessage *command, BMessage *reply)
268 status_t err = sInputServer->SendMessage(command, reply, 5000000LL, 5000000LL);