Searched refs:sfd (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 99 static MinadbdErrorCode RunAdbFuseSideload(int sfd, const std::string& args, in RunAdbFuseSideload() argument 116 auto adb_data_reader = std::make_unique<FuseAdbDataProvider>(sfd, file_size, block_size); in RunAdbFuseSideload() 131 if (!android::base::WriteFully(sfd, kMinadbdServicesExitSuccess, in RunAdbFuseSideload() 136 if (!android::base::WriteFully(sfd, kMinadbdServicesExitFailure, in RunAdbFuseSideload() 146 static void SideloadHostService(unique_fd sfd, const std::string& args) { in SideloadHostService() argument 148 exit(RunAdbFuseSideload(sfd.get(), args, &status)); in SideloadHostService() 152 static void RescueInstallHostService(unique_fd sfd, const std::string& args) { in RescueInstallHostService() argument 154 if (auto result = RunAdbFuseSideload(sfd.get(), args, &status); result != kMinadbdSuccess) { in RescueInstallHostService() 159 static void RescueGetpropHostService(unique_fd sfd, const std::string& prop) { in RescueGetpropHostService() argument 173 if (!android::base::WriteFully(sfd, result.data(), result.size())) { in RescueGetpropHostService()
|