Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dminadbd_services.cpp52 static int minadbd_socket = -1; variable
57 minadbd_socket = socket_fd; in SetMinadbdSocketFd()
113 if (!WriteCommandToFd(MinadbdCommand::kInstall, minadbd_socket)) { in RunAdbFuseSideload()
124 if (!WaitForCommandStatus(minadbd_socket, status)) { in RunAdbFuseSideload()
247 if (!WriteCommandToFd(MinadbdCommand::kNoOp, minadbd_socket)) { in RescueGetpropHostService()
250 if (MinadbdCommandStatus status; !WaitForCommandStatus(minadbd_socket, &status)) { in RescueGetpropHostService()
271 if (!WriteCommandToFd(command, minadbd_socket)) { in RebootHostService()
275 if (!WaitForCommandStatus(minadbd_socket, &status)) { in RebootHostService()
294 WriteCommandToFd(MinadbdCommand::kWipeData, minadbd_socket); in WipeDeviceService()
296 if (!WaitForCommandStatus(minadbd_socket, &status)) { in WipeDeviceService()
/bootable/recovery/install/
Dadb_install.cpp284 android::base::unique_fd minadbd_socket; in CreateMinadbdServiceAndExecuteCommands() local
285 if (!android::base::Socketpair(AF_UNIX, SOCK_STREAM, 0, &recovery_socket, &minadbd_socket)) { in CreateMinadbdServiceAndExecuteCommands()
300 std::to_string(minadbd_socket.release()), in CreateMinadbdServiceAndExecuteCommands()
310 minadbd_socket.reset(); in CreateMinadbdServiceAndExecuteCommands()