Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dminadbd_services.cpp100 static MinadbdErrorCode RunAdbFuseSideload(int sfd, const std::string& args, in RunAdbFuseSideload() argument
117 auto adb_data_reader = std::make_unique<FuseAdbDataProvider>(sfd, file_size, block_size); in RunAdbFuseSideload()
132 if (!android::base::WriteFully(sfd, kMinadbdServicesExitSuccess, in RunAdbFuseSideload()
137 if (!android::base::WriteFully(sfd, kMinadbdServicesExitFailure, 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()
185 WaitForSocketClose(sfd, 3000ms); 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()
202 static void RescueGetpropHostService(unique_fd sfd, const std::string& prop) { in RescueGetpropHostService() argument
[all …]