Home
last modified time | relevance | path

Searched refs:jiofd (Results 1 – 2 of 2) sorted by relevance

/libnativehelper/tests_mts/src/com/android/art/libnativehelper/
DJniHelpTest.java48 private static native int fileDescriptorGetFD(FileDescriptor jiofd); in fileDescriptorGetFD() argument
49 private static native void fileDescriptorSetFD(FileDescriptor jiofd, int unixFd); in fileDescriptorSetFD() argument
154 FileDescriptor jiofd = fileDescriptorCreate(UNIX_FD); in testFileDescriptorGetNonNull() local
155 assertEquals(UNIX_FD, fileDescriptorGetFD(jiofd)); in testFileDescriptorGetNonNull()
167 FileDescriptor jiofd = fileDescriptorCreate(0); in testFileDescriptorSetNonNull() local
168 fileDescriptorSetFD(jiofd, UNIX_FD); in testFileDescriptorSetNonNull()
169 assertEquals(UNIX_FD, fileDescriptorGetFD(jiofd)); in testFileDescriptorSetNonNull()
/libnativehelper/tests_mts/jni/
Djni_helper_jni.cpp78 static jint fileDescriptorGetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd) { in fileDescriptorGetFD() argument
79 return jniGetFDFromFileDescriptor(env, jiofd); in fileDescriptorGetFD()
82 static void fileDescriptorSetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd, jint unix_fd) { in fileDescriptorSetFD() argument
83 jniSetFileDescriptorOfFD(env, jiofd, unix_fd); in fileDescriptorSetFD()