Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dminadbd_services.cpp51 static int minadbd_socket = -1; variable
56 minadbd_socket = socket_fd; in SetMinadbdSocketFd()
112 if (!WriteCommandToFd(MinadbdCommand::kInstall, minadbd_socket)) { in RunAdbFuseSideload()
123 if (!WaitForCommandStatus(minadbd_socket, status)) { in RunAdbFuseSideload()
178 if (!WriteCommandToFd(MinadbdCommand::kNoOp, minadbd_socket)) { in RescueGetpropHostService()
181 if (MinadbdCommandStatus status; !WaitForCommandStatus(minadbd_socket, &status)) { in RescueGetpropHostService()
202 if (!WriteCommandToFd(command, minadbd_socket)) { in RebootHostService()
206 if (!WaitForCommandStatus(minadbd_socket, &status)) { in RebootHostService()
225 WriteCommandToFd(MinadbdCommand::kWipeData, minadbd_socket); in WipeDeviceService()
227 if (!WaitForCommandStatus(minadbd_socket, &status)) { in WipeDeviceService()
/bootable/recovery/install/
Dadb_install.cpp280 android::base::unique_fd minadbd_socket; in CreateMinadbdServiceAndExecuteCommands() local
281 if (!android::base::Socketpair(AF_UNIX, SOCK_STREAM, 0, &recovery_socket, &minadbd_socket)) { in CreateMinadbdServiceAndExecuteCommands()
296 std::to_string(minadbd_socket.release()), in CreateMinadbdServiceAndExecuteCommands()
306 minadbd_socket.reset(); in CreateMinadbdServiceAndExecuteCommands()