Home
last modified time | relevance | path

Searched defs:fds (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/java/android/os/
DNativeHandle.java64 private static FileDescriptor[] createFileDescriptorArray(@NonNull int[] fds) { in createFileDescriptorArray()
80 private NativeHandle(@NonNull int[] fds, @NonNull int[] ints, boolean own) { in NativeHandle()
89 public NativeHandle(@NonNull FileDescriptor[] fds, @NonNull int[] ints, boolean own) { in NativeHandle()
114 FileDescriptor[] fds = new FileDescriptor[mFds.length]; in dup() local
188 int[] fds = new int[numFds]; in getFdsAsIntArray() local
DParcelFileDescriptor.java468 final FileDescriptor[] fds = Os.pipe2(ifAtLeastQ(O_CLOEXEC)); in createPipe() local
490 final FileDescriptor[] fds = Os.pipe2(ifAtLeastQ(O_CLOEXEC)); in createReliablePipe() local
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp225 int* fds = new int[numFds]; in convertTo() local
374 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflattenFence()
417 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flattenFence()
463 int* fds = static_cast<int*>(baseFds.get()); in wrapAs() local
525 int* fds = static_cast<int*>(baseFds.get()); in convertTo() local
596 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten()
636 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten()
733 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten()
801 void*& buffer, size_t& size, int*& fds, size_t numFds) { in flatten()
895 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten()
[all …]
DH2BGraphicBufferProducer.cpp160 int* fds = new int[numFds]; in convertTo() local
236 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflattenFence()
279 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flattenFence()
325 int* fds = static_cast<int*>(baseFds.get()); in wrapAs() local
387 int* fds = static_cast<int*>(baseFds.get()); in convertTo() local
487 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten()
556 int* fds = baseFds.get(); in wrapAs() local
627 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten()
726 void*& buffer, size_t& size, int*& fds, size_t numFds) { in flatten()
831 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten()
[all …]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dnative_handle_wrapper.h51 std::vector<FileHandleType> fds; in DuplicateHandle() local
75 static native_handle_t* FromFdsAndInts(std::vector<FileHandleType> fds, in FromFdsAndInts()
/frameworks/base/core/jni/
Dandroid_os_NativeHandle.cpp43 ScopedLocalRef<jintArray> fds(env, env->NewIntArray(numFds)); in MakeJavaNativeHandleObj() local
64 ScopedLocalRef<jintArray> fds(env, (jintArray) env->CallObjectMethod( in MakeCppNativeHandle() local
/frameworks/base/services/core/jni/
Dcom_android_server_UsbMidiDevice.cpp92 jobjectArray fds = env->NewObjectArray(subdevice_count + 1, sFileDescriptorClass, NULL); in android_server_UsbMidiDevice_open() local
123 android_server_UsbMidiDevice_close(JNIEnv *env, jobject thiz, jobjectArray fds) in android_server_UsbMidiDevice_close()
Dcom_android_server_AlarmManagerService.cpp77 AlarmImpl(const TimerFds &fds, int epollfd, int rtc_id) : in AlarmImpl()
87 const TimerFds fds; member in android::AlarmImpl
343 TimerFds fds; in android_server_AlarmManagerService_init() local
/frameworks/native/libs/ui/
DFence.cpp142 status_t Fence::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
156 status_t Fence::unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
DFenceTime.cpp216 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
236 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
DGraphicBuffer.cpp395 status_t GraphicBuffer::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
439 status_t GraphicBuffer::unflatten(void const*& buffer, size_t& size, int const*& fds, in unflatten()
/frameworks/wilhelm/tests/sandbox/
Dgetch.c38 fd_set fds; in kbhit() local
/frameworks/native/libs/gui/
DBufferItem.cpp126 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
194 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
DFrameTimestamps.cpp543 status_t FrameEventsDelta::flatten(void*& buffer, size_t& size, int*& fds, in flatten()
581 int const*& fds, size_t& count) { in unflatten()
655 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
677 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
DIGraphicBufferProducer.cpp1086 void*& buffer, size_t& size, int*& fds, size_t& count) const in flatten()
1114 void const*& buffer, size_t& size, int const*& fds, size_t& count) in unflatten()
1161 void*& buffer, size_t& size, int*& fds, size_t& count) const in flatten()
1178 void const*& buffer, size_t& size, int const*& fds, size_t& count) in unflatten()
/frameworks/native/libs/input/tests/
DTestHelpers.h32 int fds[2]; in Pipe() local
/frameworks/base/core/java/android/printservice/
DPrintDocument.java79 ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); in getData() local
/frameworks/native/cmds/bugreportz/
Dbugreportz_test.cpp36 int fds[2]; in SetUp() local
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java137 final ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); in testCreateDocumentAndGetPartialObject() local
/frameworks/native/cmds/dumpstate/
DDumpstateInternal.cpp161 pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in DumpFileFromFdToFd() local
/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp91 int fds[0]; in TEST_F() local
/frameworks/base/tools/bit/
Dcommand.cpp107 int fds[2]; in get_command_output() local
/frameworks/native/libs/binder/include/binder/
DParcel.h557 virtual status_t flatten(void* buffer, size_t size, int* fds, size_t count) const { in flatten()
560 virtual status_t unflatten(void const* buffer, size_t size, int const* fds, size_t count) { in unflatten()
/frameworks/base/core/java/android/net/
DLocalSocket.java304 public void setFileDescriptorsForSend(FileDescriptor[] fds) { in setFileDescriptorsForSend()
/frameworks/base/cmds/incident/
Dmain.cpp340 int fds[2]; in main() local

12