Lines Matching refs:args
100 static MinadbdErrorCode RunAdbFuseSideload(int sfd, const std::string& args, in RunAdbFuseSideload() argument
102 auto pieces = android::base::Split(args, ":"); in RunAdbFuseSideload()
107 LOG(ERROR) << "bad sideload-host arguments: " << args; in RunAdbFuseSideload()
175 static void SideloadHostService(unique_fd sfd, const std::string& args) { in SideloadHostService() argument
178 auto error = RunAdbFuseSideload(sfd.get(), args, &status); in SideloadHostService()
191 static void RescueInstallHostService(unique_fd sfd, const std::string& args) { in RescueInstallHostService() argument
193 if (auto result = RunAdbFuseSideload(sfd.get(), args, &status); result != kMinadbdSuccess) { in RescueInstallHostService()
280 static void WipeDeviceService(unique_fd fd, const std::string& args) { in WipeDeviceService() argument
281 auto pieces = android::base::Split(args, ":"); in WipeDeviceService()
283 LOG(ERROR) << "Failed to parse wipe device command arguments " << args; in WipeDeviceService()
290 LOG(ERROR) << "Failed to parse wipe device message size in " << args; in WipeDeviceService()
316 std::string args(name); in daemon_service_to_fd() local
317 if (args.empty() || args == "bootloader" || args == "rescue" || args == "recovery" || in daemon_service_to_fd()
318 args == "fastboot") { in daemon_service_to_fd()
320 std::bind(RebootHostService, std::placeholders::_1, args)); in daemon_service_to_fd()
329 std::string args(name); in daemon_service_to_fd() local
331 "rescue-install", std::bind(RescueInstallHostService, std::placeholders::_1, args)); in daemon_service_to_fd()
334 std::string args(name); in daemon_service_to_fd() local
336 "rescue-getprop", std::bind(RescueGetpropHostService, std::placeholders::_1, args)); in daemon_service_to_fd()
339 std::string args(name); in daemon_service_to_fd() local
341 std::bind(WipeDeviceService, std::placeholders::_1, args)); in daemon_service_to_fd()
354 std::string args(name); in daemon_service_to_fd() local
356 std::bind(SideloadHostService, std::placeholders::_1, args)); in daemon_service_to_fd()