Searched refs:fds (Results 1 – 7 of 7) 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/apps/CameraITS/tests/scene3/ |
D | test_3a_consistency.py | 42 fds = [] 54 fds.append(fd) 61 assert np.isclose(np.amax(fds), np.amin(fds), FD_TOL)
|
D | test_lens_movement_reporting.py | 65 fds = [af_fd, min_fd] 66 fds = sorted(fds * NUM_IMGS) 68 for i, fd in enumerate(fds): 73 data = {'fd': fds[i]}
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CrossProcessExceptionTest.java | 138 final ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); in doCommand() local 140 green.dump(fds[0].getFileDescriptor(), new String[] { cmd }); in doCommand() 142 fds[0].close(); in doCommand() 143 fds[1].close(); in doCommand()
|
/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/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 267 int fds[2]; in TEST() local 268 err = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, fds); in TEST() 271 ClientData data(fds[1], buffer); in TEST() 276 err = AHardwareBuffer_recvHandleFromUnixSocket(fds[0], NULL); in TEST() 280 err = AHardwareBuffer_recvHandleFromUnixSocket(fds[0], &received); in TEST() 288 close(fds[0]); in TEST()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SyncTest.java | 124 private static native boolean nSyncPoll(int[] fds, int[] status); in nSyncPoll() argument
|