Searched refs:fds (Results 1 – 11 of 11) sorted by relevance
/cts/tests/aslr/src/ |
D | AslrMallocTest.cpp | 71 int fds[2]; in GetAddress() local 72 ASSERT_TRUE(pipe(fds) != -1); in GetAddress() 79 ASSERT_TRUE(TEMP_FAILURE_RETRY(dup2(fds[1], STDOUT_FILENO)) != -1); in GetAddress() 81 for (auto fd : fds) { in GetAddress() 92 TEMP_FAILURE_RETRY(close(fds[1])); in GetAddress() 95 ASSERT_TRUE(android::base::ReadFdToString(fds[0], &output)); in GetAddress() 96 TEMP_FAILURE_RETRY(close(fds[0])); in GetAddress()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | ShellCommandUtils.java | 95 ParcelFileDescriptor[] fds = uiAutomation().executeShellCommandRwe(command); in executeCommand() local 96 ParcelFileDescriptor fdOut = fds[OUT_DESCRIPTOR_INDEX]; in executeCommand() 97 ParcelFileDescriptor fdIn = fds[IN_DESCRIPTOR_INDEX]; in executeCommand() 98 ParcelFileDescriptor fdErr = fds[ERR_DESCRIPTOR_INDEX]; in executeCommand() 137 ParcelFileDescriptor[] fds = uiAutomation().executeShellCommandRwe(command); in executeCommandForBytes() local 138 ParcelFileDescriptor fdOut = fds[OUT_DESCRIPTOR_INDEX]; in executeCommandForBytes() 139 ParcelFileDescriptor fdIn = fds[IN_DESCRIPTOR_INDEX]; in executeCommandForBytes() 140 ParcelFileDescriptor fdErr = fds[ERR_DESCRIPTOR_INDEX]; in executeCommandForBytes()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CrossProcessExceptionTest.java | 141 final ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); in doCommand() local 143 green.dump(fds[0].getFileDescriptor(), new String[] { cmd }); in doCommand() 145 fds[0].close(); in doCommand() 146 fds[1].close(); in doCommand()
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_3a_consistency.py | 85 fds = [] 118 fds.append(focus_distance_result) 136 fd_min = np.amin(fds) 137 fd_max = np.amax(fds)
|
D | test_lens_movement_reporting.py | 66 fds = [af_fd] * NUM_FRAMES_PER_FD + [min_fd] * NUM_FRAMES_PER_FD 68 for i, fd in enumerate(fds): 74 data = {'fd': fds[i]}
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_SyncTest.cpp | 45 jint* fds = static_cast<jint*>(env->GetPrimitiveArrayCritical(fds_array, nullptr)); in syncPoll() local 47 pollfds[i].fd = fds[i]; in syncPoll() 50 env->ReleasePrimitiveArrayCritical(fds_array, fds, 0); in syncPoll()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 144 ParcelFileDescriptor[] fds = automation.executeShellCommandRwe(cmd); in runShellCommandOrThrow() local 145 ParcelFileDescriptor fdOut = fds[0]; in runShellCommandOrThrow() 146 ParcelFileDescriptor fdIn = fds[1]; in runShellCommandOrThrow() 147 ParcelFileDescriptor fdErr = fds[2]; in runShellCommandOrThrow()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 295 int fds[2]; in TEST() local 296 err = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, fds); in TEST() 299 ClientData data(fds[1], buffer); in TEST() 304 err = AHardwareBuffer_recvHandleFromUnixSocket(fds[0], (AHardwareBuffer * * _Nonnull)NULL); in TEST() 308 err = AHardwareBuffer_recvHandleFromUnixSocket(fds[0], &received); in TEST() 316 close(fds[0]); in TEST()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_native_aidl_client.cpp | 373 int fds[2]; in checkFdRepeat() local 375 while (pipe(fds) == -1 && errno == EAGAIN) in checkFdRepeat() 378 ScopedFileDescriptor readFd(fds[0]); in checkFdRepeat() 379 ScopedFileDescriptor writeFd(fds[1]); in checkFdRepeat() 388 int fds[2]; in TEST_P() local 390 while (pipe(fds) == -1 && errno == EAGAIN) in TEST_P() 393 sfds.emplace_back(fds[0]); in TEST_P() 394 sfds.emplace_back(fds[1]); in TEST_P()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SyncTest.java | 117 private static native boolean nSyncPoll(int[] fds, int[] status); in nSyncPoll() argument
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-11173/ |
D | local_poc.h | 54 int *fds; member
|