| 238 | } |
| 239 | |
| 240 | Status RecordListDevices(Session* session, |
| 241 | std::vector<DeviceAttributes>* response) { |
| 242 | ReplayOp op; |
| 243 | ListDevicesRequest* req = op.mutable_list_devices(); |
| 244 | ListDevicesResponse* resp = op.mutable_list_devices_response(); |
| 245 | req->set_session_handle(SessionToHandle(session)); |
| 246 | RUN_WITH_TIMESTAMP(ListDevices, response); |
| 247 | |
| 248 | // TODO(power) -- local vs remote device distinction is lost here! |
| 249 | *resp->mutable_local_device() = {response->begin(), response->end()}; |
| 250 | return Flush(op); |
| 251 | } |
| 252 | |
| 253 | Status RecordPRunSetup(Session* session, |
| 254 | const std::vector<string>& input_names, |
nothing calls this directly
no test coverage detected