| 268 | } |
| 269 | |
| 270 | bool AdbControlUnitMgr::find_device(std::vector<std::string>& devices) |
| 271 | { |
| 272 | auto opt = device_list_.request_devices(); |
| 273 | if (!opt) { |
| 274 | LogError << "failed to find_device"; |
| 275 | return false; |
| 276 | } |
| 277 | |
| 278 | devices = std::move(opt).value(); |
| 279 | return true; |
| 280 | } |
| 281 | |
| 282 | bool AdbControlUnitMgr::shell(const std::string& cmd, std::string& output, std::chrono::milliseconds timeout) |
| 283 | { |
no test coverage detected