Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/os/
DNativeHandle.java62 private static FileDescriptor[] createFileDescriptorArray(@NonNull int[] fds) { in createFileDescriptorArray()
78 private NativeHandle(@NonNull int[] fds, @NonNull int[] ints, boolean own) { in NativeHandle()
87 public NativeHandle(@NonNull FileDescriptor[] fds, @NonNull int[] ints, boolean own) { in NativeHandle()
112 FileDescriptor[] fds = new FileDescriptor[mFds.length]; in dup() local
186 int[] fds = new int[numFds]; in getFdsAsIntArray() local
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp46 void*& buffer, size_t& size, int*& fds, size_t& count) const in flatten()
80 void const*& buffer, size_t& size, int const*& fds, size_t& count) in unflatten()
129 void*& buffer, size_t& size, int*& fds, size_t& count) const in flatten()
152 void const*& buffer, size_t& size, int const*& fds, size_t& count) in unflatten()
189 void*& fBuffer, size_t& size, int*& fds, size_t& count) const { in flatten()
208 void const*& fBuffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
281 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
302 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
366 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
376 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
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.cpp626 status_t FrameEventsDelta::flatten(void*& buffer, size_t& size, int*& fds, in flatten()
663 int const*& fds, size_t& count) { in unflatten()
756 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
778 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp211 int* fds = new int[numFds]; in convertTo() local
360 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflattenFence()
403 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flattenFence()
449 int* fds = static_cast<int*>(baseFds.get()); in wrapAs() local
511 int* fds = static_cast<int*>(baseFds.get()); in convertTo() local
582 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten()
622 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten()
719 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten()
782 void*& buffer, size_t& size, int*& fds, size_t numFds) { in flatten()
875 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()
830 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/services/core/jni/
Dcom_android_server_UsbAlsaMidiDevice.cpp57 jobjectArray fds = env->NewObjectArray(numInputs + numOutputs, sFileDescriptorClass, NULL); in android_server_UsbAlsaMidiDevice_open() local
127 static void android_server_UsbAlsaMidiDevice_close(JNIEnv *env, jobject thiz, jobjectArray fds) { in android_server_UsbAlsaMidiDevice_close()
/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/apex/jobscheduler/service/jni/
Dcom_android_server_alarm_AlarmManagerService.cpp79 AlarmImpl(const TimerFds &fds, int epollfd) in AlarmImpl()
88 const TimerFds fds; member in android::AlarmImpl
191 TimerFds fds; in android_server_alarm_AlarmManagerService_init() local
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlNativeHandleUtils.java48 final FileDescriptor[] fds = handle.getFileDescriptors(); in dup() local
/frameworks/wilhelm/tests/sandbox/
Dgetch.c38 fd_set fds; in kbhit() local
/frameworks/native/libs/ui/
DFence.cpp164 status_t Fence::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
178 status_t Fence::unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
DFenceTime.cpp244 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
264 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
/frameworks/base/core/java/android/printservice/
DPrintDocument.java79 ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); in getData() local
/frameworks/av/media/codec2/tests/vndk/
DC2FenceTest.cpp111 std::vector<int> fds = ExtractFdsFromCodec2SyncFence(fence); in validateNullFence() local
154 std::vector<int> fds = ExtractFdsFromCodec2SyncFence(fence); in validateSingleFdFence() local
270 std::vector<int> fds = ExtractFdsFromCodec2SyncFence(fence); in validateTwoFdUnorderedFence() local
346 std::vector<int> fds = ExtractFdsFromCodec2SyncFence(fence); in validateThreeFdFence() local
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Drandom_fd.cpp31 std::vector<unique_fd> fds = provider->PickValueInArray< in getRandomFds() local
Drandom_parcel.cpp88 std::vector<unique_fd> fds = getRandomFds(&provider); in fillRandomParcel() local
/frameworks/native/cmds/bugreportz/
Dbugreportz_test.cpp36 int fds[2]; in SetUp() local
/frameworks/base/services/core/java/com/android/server/notification/
DPulledStats.java49 final ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); in toParcelFileDescriptor() local
/frameworks/native/libs/binder/
DUtilsHost.cpp142 pollfd fds[2]; in execute() local
/frameworks/native/cmds/dumpstate/
DDumpstateInternal.cpp167 pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in DumpFileFromFdToFd() local
/frameworks/base/ravenwood/runtime-common-src/com/android/ravenwood/common/
DRavenwoodRuntimeNative.java47 var fds = nPipe2(flags); in pipe2() local
/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/
DOsTest.java80 var fds = Os.pipe2(0); in testPipe2() local
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_runtime.cpp64 int fds[2]; in nPipe2() local

123