Home
last modified time | relevance | path

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

/packages/modules/Virtualization/java/jni/
Dandroid_system_virtualmachine_VirtualMachine.cpp137 jobject sfd = jniCreateFileDescriptor(env, ps); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock() local
138 if (sfd == nullptr) { in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
153 env->CallVoidMethod(resultCallback, mid, mfd, sfd, ptsName.get()); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
/packages/modules/adb/daemon/
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()
/packages/modules/Bluetooth/system/udrv/ulinux/
Duipc.cc135 static int accept_server_socket(int sfd) { in accept_server_socket() argument
141 log::debug("accept fd {}", sfd); in accept_server_socket()
144 pfd.fd = sfd; in accept_server_socket()
154 OSI_NO_INTR(fd = accept(sfd, (struct sockaddr*)&remote, &len)); in accept_server_socket()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java1292 public void apply(FileDescriptor mfd, FileDescriptor sfd, byte[] name); in apply() argument
1309 (FileDescriptor mfd, FileDescriptor sfd, byte[] ptsName) -> { in createPtyConsole() argument
1311 fd.add(sfd); in createPtyConsole()