Home
last modified time | relevance | path

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

/aosp12/art/test/1964-add-to-dex-classloader-file/src-ex/foobar/
H A DNewClass.java30 for (StackTrace.StackFrameData sfd : stack) { in sayHi()
31 String caller_name = sfd.method.getDeclaringClass().getName(); in sayHi()
33 System.out.println("\t" + sfd.method + "(line: " + in sayHi()
34 Breakpoint.locationToLine(sfd.method, sfd.current_location) + ")"); in sayHi()
35 caller = sfd; in sayHi()
/aosp12/bootable/recovery/minadbd/
H A 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 …]
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
H A DSocketComm.cpp105 int sfd = ::accept(mListenFd, reinterpret_cast<struct sockaddr*>(&cliAddr), &cliLen); in accept() local
107 if (sfd > 0) { in accept()
112 return new SocketConn(mMessageProcessor, sfd); in accept()
142 SocketConn::SocketConn(MessageProcessor* messageProcessor, int sfd) in SocketConn() argument
143 : CommConn(messageProcessor), mSockFd(sfd) {} in SocketConn()
H A DSocketComm.h85 SocketConn(MessageProcessor* messageProcessor, int sfd);
/aosp12/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp363 int sfd[2]; in startDumpThread() local
364 if (pipe(sfd) != 0) { in startDumpThread()
370 redirectFd_ = unique_fd(sfd[0]); in startDumpThread()
371 unique_fd remote_end(sfd[1]); in startDumpThread()
372 sfd[0] = sfd[1] = -1; in startDumpThread()
/aosp12/system/bt/udrv/ulinux/
H A Duipc.cc135 static int accept_server_socket(int sfd) { in accept_server_socket() argument
141 BTIF_TRACE_EVENT("accept fd %d", sfd); in accept_server_socket()
144 pfd.fd = sfd; in accept_server_socket()
156 OSI_NO_INTR(fd = accept(sfd, (struct sockaddr*)&remote, &len)); in accept_server_socket()
/aosp12/packages/modules/adb/daemon/
H A Dshell_service.cpp198 unique_fd* PassOutput(unique_fd* sfd, ShellProtocol::Id id);
739 unique_fd* Subprocess::PassOutput(unique_fd* sfd, ShellProtocol::Id id) { in PassOutput() argument
740 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity()); in PassOutput()
745 PLOG(ERROR) << "error reading output FD " << sfd->get(); in PassOutput()
747 return sfd; in PassOutput()