Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 87) sorted by relevance

1234

/cts/hostsidetests/security/securityPatch/CVE-2017-6262/
Dpoc.c30 static int drm_version(int fd) in drm_version()
50 static int nouveau_gem_ioctl_new(int fd) in nouveau_gem_ioctl_new()
68 static uint32_t get_gem_map_handle(int fd) in get_gem_map_handle()
77 static void nouveau_gem_ioctl_map(int fd, uint32_t handle) in nouveau_gem_ioctl_map()
93 int fd; in looploop() local
/cts/tests/tests/media/src/android/media/cts/
DNativeEncoderTest.java77 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncode() local
83 private static native boolean testEncodeSurfaceNative(int fd, long offset, long size, in testEncodeSurfaceNative()
113 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncodeDynamicSyncFrame() local
119 …private static native boolean testEncodeSurfaceDynamicSyncFrameNative(int fd, long offset, long si… in testEncodeSurfaceDynamicSyncFrameNative()
149 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncodeDynamicBitrate() local
155 …private static native boolean testEncodeSurfaceDynamicBitrateNative(int fd, long offset, long size, in testEncodeSurfaceDynamicBitrateNative()
185 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncodePersistentSurface() local
192 private static native boolean testEncodePersistentSurfaceNative(int fd, long offset, long size, in testEncodePersistentSurfaceNative()
DNativeDecoderTest.java117 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testExtractor() local
135 private static int[] getSampleSizes(FileDescriptor fd, long offset, long size) in getSampleSizes()
185 private static native int[] getSampleSizesNative(int fd, long offset, long size); in getSampleSizesNative()
195 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testExtractorFileDurationNative() local
219 private static native long getExtractorFileDurationNative(int fd, long offset, long size); in getExtractorFileDurationNative()
273 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testDecoder() local
289 private static int[] getDecodedData(FileDescriptor fd, long offset, long size) in getDecodedData()
450 private static native int[] getDecodedDataNative(int fd, long offset, long size, boolean wrapFd, in getDecodedDataNative()
476 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testVideoPlayback() local
485 int fd, long startOffset, long length); in testPlaybackNative()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java94 FileDescriptor fd = IoBridge.open( in testConstructor_FD() local
111 FileDescriptor fd = IoBridge.open( in testIteration_FD() local
162 FileDescriptor fd = IoBridge.open( in testFindEntry_FD() local
191 FileDescriptor fd = IoBridge.open( in testGetManifest_FD() local
214 FileDescriptor fd = IoBridge.open( in testJarSigning_wellFormed_FD() local
244 FileDescriptor fd = IoBridge.open( in testJarSigning_fudgedEntry_FD() local
275 FileDescriptor fd = IoBridge.open( in testJarSigning_modifiedClass_FD() local
343 FileDescriptor fd = IoBridge.open( in verifyThrowsOnInitFD() local
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteStatementTest.java247 ParcelFileDescriptor fd = stm.simpleQueryForBlobFileDescriptor(); in doTestSimpleQueryForBlobFileDescriptorSuccess() local
257 ParcelFileDescriptor fd = stm.simpleQueryForBlobFileDescriptor(); in testSimpleQueryForBlobFileDescriptorSuccessParam() local
266 ParcelFileDescriptor fd = null; in testGetBlobFailureNoParam() local
287 ParcelFileDescriptor fd = null; in testGetBlobFailureParam() local
324 private static void assertFileDescriptorContent(byte[] expected, ParcelFileDescriptor fd) in assertFileDescriptorContent()
/cts/hostsidetests/security/securityPatch/CVE-2017-0426/
Dpoc.c36 int fd = lstat("/bugreports", &buf); in main() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_CharDeviceTest.cpp37 int fd = open("/dev/exynos-mem", O_RDWR); in android_security_cts_CharDeviceTest_doExynosWriteTest() local
75 int fd = open("/dev/exynos-mem", O_RDONLY); in android_security_cts_CharDeviceTest_doExynosReadTest() local
Dandroid_security_cts_NativeCodeTest.cpp49 int fd = syscall(__NR_perf_event_open, attr, 0, -1, -1, 0); in android_security_cts_NativeCodeTest_doPerfEventTest() local
74 int fd[2]; in android_security_cts_NativeCodeTest_doPerfEventTest2() local
88 static void* mmap_syscall(void* addr, size_t len, int prot, int flags, int fd, off_t offset) in mmap_syscall()
107 int fd = open("/dev/mali0", O_RDWR); in android_security_cts_NativeCodeTest_doCVE20141710Test() local
223 static int fd[2]; variable
Dandroid_security_cts_MMapExecutableTest.cpp42 int fd = open(filename.c_str(), O_RDONLY); in mmap_executable() local
/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py28 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface): argument
Dtest_reprocess_edge_enhancement.py28 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface, argument
/cts/tests/accessibility/src/android/view/accessibility/cts/
DServiceControlUtils.java66 ParcelFileDescriptor fd = uiAutomation.executeShellCommand("settings --user cur put secure " in enableSpeakingAndVibratingServices() local
131 ParcelFileDescriptor fd = uiAutomation.executeShellCommand("settings --user cur put secure " in enableMultipleFeedbackTypesService() local
/cts/tests/tests/os/src/android/os/cts/
DISeccompIsolatedService.aidl29 boolean writeToFile(in ParcelFileDescriptor fd); in writeToFile()
DMessageQueueTest.java418 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks1()
448 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks1()
500 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks2()
530 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks2()
590 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks3()
674 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks4()
809 int fd = oldPipe[0].detachFd(); in hijackFd() local
DParcelFileDescriptorTest.java150 private static void assertFileDescriptorContent(byte[] expected, ParcelFileDescriptor fd) in assertFileDescriptorContent()
173 FileDescriptor fd = pfd.getFileDescriptor(); in testFromDataSkip() local
440 FileDescriptor fd = pfd.getFileDescriptor(); in testCheckFinalizerBehavior() local
467 boolean checkIsValid(FileDescriptor fd) { in checkIsValid()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java485 FileDescriptor fd = Os.dup(ParcelFileDescriptor.fromSocket(s).getFileDescriptor()); in openSocketFd() local
494 FileDescriptor fd = mRemoteSocketFactoryClient.openSocketFd(host, port, TIMEOUT_MS); in openSocketFdInOtherApp() local
498 private void sendRequest(FileDescriptor fd, String host) throws Exception { in sendRequest()
515 private void assertSocketStillOpen(FileDescriptor fd, String host) throws Exception { in assertSocketStillOpen()
525 private void assertSocketClosed(FileDescriptor fd, String host) throws Exception { in assertSocketClosed()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_SyncTest.cpp82 jobject syncFileInfo(JNIEnv* /*env*/, jclass /*clazz*/, jint fd) { in syncFileInfo()
90 void syncClose(int fd) { in syncClose()
/cts/tests/tests/os/jni/
Dandroid_os_cts_SharedMemory.cpp25 int fd = ASharedMemory_dupFromJava(env, jSharedMemory); in nWriteByte() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DSyncTest.java126 private static native SyncFileInfo nSyncFileInfo(int fd); in nSyncFileInfo()
127 private static native void nSyncClose(int fd); in nSyncClose()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java57 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testAutoCloseOutputStream() local
/cts/hostsidetests/security/securityPatch/CVE-2017-0334/
Dpoc.c33 int fd, rc; in main() local
/cts/tests/tests/media/libmediandkjni/
Dnative_media_encoder_jni.cpp290 JNIEnv *env, int fd, jlong offset, jlong fileSize, in runNativeEncoderTest()
366 JNIEnv *env, jclass /*clazz*/, int fd, jlong offset, jlong fileSize, in Java_android_media_cts_NativeEncoderTest_testEncodeSurfaceNative()
376 JNIEnv *env, jclass /*clazz*/, int fd, jlong offset, jlong fileSize, in Java_android_media_cts_NativeEncoderTest_testEncodePersistentSurfaceNative()
385 JNIEnv *env, jclass /*clazz*/, int fd, jlong offset, jlong fileSize, in Java_android_media_cts_NativeEncoderTest_testEncodeSurfaceDynamicSyncFrameNative()
398 JNIEnv *env, jclass /*clazz*/, int fd, jlong offset, jlong fileSize, in Java_android_media_cts_NativeEncoderTest_testEncodeSurfaceDynamicBitrateNative()
/cts/hostsidetests/security/securityPatch/CVE-2016-2460/
Dpoc.cpp45 int fd = open(fileName, O_RDWR | O_CREAT, 0744); in main() local
/cts/hostsidetests/security/securityPatch/CVE-2016-8429/
Dpoc.c68 __s32 fd; /* DmaBufFd or FromFd */ member
109 void trigger_nvmap_create_dup(int fd) { in trigger_nvmap_create_dup()
123 void trigger_nvmap_free(int fd) { in trigger_nvmap_free()
/cts/suite/audio_quality/lib/src/audio/
DAudioPlaybackLocal.cpp101 int fd; in doStop() member

1234