Searched defs:fileDescriptor (Results 1 - 2 of 2) sorted by relevance
/libnativehelper/include/nativehelper/ |
H A D | JNIHelp.h | 99 int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor); 104 void jniSetFileDescriptorOfFD(C_JNIEnv* env, jobject fileDescriptor, int value); 164 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { argument 165 return jniGetFDFromFileDescriptor(&env->functions, fileDescriptor); 168 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { argument 169 jniSetFileDescriptorOfFD(&env->functions, fileDescriptor, value);
|
/libnativehelper/ |
H A D | JNIHelp.cpp | 317 jobject fileDescriptor = (*env)->NewObject(e, JniConstants::fileDescriptorClass, ctor); local 318 jniSetFileDescriptorOfFD(env, fileDescriptor, fd); 319 return fileDescriptor; 322 int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor) { argument 325 return (*env)->GetIntField(e, fileDescriptor, fid); 328 void jniSetFileDescriptorOfFD(C_JNIEnv* env, jobject fileDescriptor, int value) { argument 331 (*env)->SetIntField(e, fileDescriptor, fid, value);
|
Completed in 3 milliseconds