/frameworks/base/core/jni/ |
D | android_os_MemoryFile.cpp | 46 static jint android_os_MemoryFile_mmap(JNIEnv* env, jobject clazz, jobject fileDescriptor, in android_os_MemoryFile_mmap() argument 49 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_MemoryFile_mmap() 63 static void android_os_MemoryFile_close(JNIEnv* env, jobject clazz, jobject fileDescriptor) in android_os_MemoryFile_close() argument 65 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_MemoryFile_close() 67 jniSetFileDescriptorOfFD(env, fileDescriptor, -1); in android_os_MemoryFile_close() 73 jobject fileDescriptor, jint address, jbyteArray buffer, jint srcOffset, jint destOffset, in android_os_MemoryFile_read() argument 76 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_MemoryFile_read() 92 jobject fileDescriptor, jint address, jbyteArray buffer, jint srcOffset, jint destOffset, in android_os_MemoryFile_write() argument 95 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_MemoryFile_write() 110 static void android_os_MemoryFile_pin(JNIEnv* env, jobject clazz, jobject fileDescriptor, jboolean … in android_os_MemoryFile_pin() argument [all …]
|
D | android_net_LocalSocketImpl.cpp | 72 jobject fileDescriptor, jstring name, jint namespaceId) in socket_connect_local() argument 80 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_connect_local() 107 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_bind_local() argument 119 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_bind_local() 139 socket_listen (JNIEnv *env, jobject object, jobject fileDescriptor, int backlog) in socket_listen() argument 144 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_listen() 163 socket_accept (JNIEnv *env, jobject object, jobject fileDescriptor, jobject s) in socket_accept() argument 180 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_accept() 204 socket_shutdown (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_shutdown() argument 210 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_shutdown() [all …]
|
D | android_server_NetworkManagementSocketTagger.cpp | 34 jobject fileDescriptor, in QTagUid_tagSocketFd() argument 36 int userFd = jniGetFDFromFileDescriptor(env, fileDescriptor); in QTagUid_tagSocketFd() 51 jobject fileDescriptor) { in QTagUid_untagSocketFd() argument 52 int userFd = jniGetFDFromFileDescriptor(env, fileDescriptor); in QTagUid_untagSocketFd()
|
D | android_backup_BackupDataOutput.cpp | 29 ctor_native(JNIEnv* env, jobject clazz, jobject fileDescriptor) in ctor_native() argument 31 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in ctor_native()
|
D | android_backup_BackupDataInput.cpp | 33 ctor_native(JNIEnv* env, jobject clazz, jobject fileDescriptor) in ctor_native() argument 35 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in ctor_native()
|
D | android_os_SELinux.cpp | 88 static jstring getPeerCon(JNIEnv *env, jobject, jobject fileDescriptor) { in getPeerCon() argument 93 if (fileDescriptor == NULL) { in getPeerCon() 99 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in getPeerCon() 101 ALOGE("getPeerCon => getFD for %p failed", fileDescriptor); in getPeerCon()
|
D | android_backup_FileBackupHelperBase.cpp | 97 writeSnapshot_native(JNIEnv* env, jobject clazz, jint ptr, jobject fileDescriptor) in writeSnapshot_native() argument 102 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in writeSnapshot_native()
|
D | android_hardware_SerialPort.cpp | 36 android_hardware_SerialPort_open(JNIEnv *env, jobject thiz, jobject fileDescriptor, jint speed) in android_hardware_SerialPort_open() argument 135 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_hardware_SerialPort_open()
|
D | android_hardware_UsbDeviceConnection.cpp | 43 jobject fileDescriptor) in android_hardware_UsbDeviceConnection_open() argument 45 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_hardware_UsbDeviceConnection_open()
|
D | android_os_Debug.cpp | 513 jobject fileDescriptor) in android_os_Debug_dumpNativeHeap() argument 515 if (fileDescriptor == NULL) { in android_os_Debug_dumpNativeHeap() 519 int origFd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_Debug_dumpNativeHeap()
|
/frameworks/base/services/jni/ |
D | com_android_server_SerialService.cpp | 49 jobject fileDescriptor = jniCreateFileDescriptor(env, fd); in android_server_SerialService_open() local 50 if (fileDescriptor == NULL) { in android_server_SerialService_open() 54 gParcelFileDescriptorOffsets.mConstructor, fileDescriptor); in android_server_SerialService_open()
|
D | com_android_server_UsbDeviceManager.cpp | 94 jobject fileDescriptor = jniCreateFileDescriptor(env, fd); in android_server_UsbDeviceManager_openAccessory() local 95 if (fileDescriptor == NULL) { in android_server_UsbDeviceManager_openAccessory() 99 gParcelFileDescriptorOffsets.mConstructor, fileDescriptor); in android_server_UsbDeviceManager_openAccessory()
|
D | com_android_server_UsbHostManager.cpp | 160 jobject fileDescriptor = jniCreateFileDescriptor(env, newFD); in android_server_UsbHostManager_openDevice() local 161 if (fileDescriptor == NULL) { in android_server_UsbHostManager_openDevice() 165 gParcelFileDescriptorOffsets.mConstructor, fileDescriptor); in android_server_UsbHostManager_openDevice()
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | VariableSpeedNative.java | 44 FileDescriptor fileDescriptor = afd.getFileDescriptor(); in playFromContext() local 45 Field descriptorField = fileDescriptor.getClass().getDeclaredField("descriptor"); in playFromContext() 47 int fd = descriptorField.getInt(fileDescriptor); in playFromContext()
|
/frameworks/av/libvideoeditor/osal/inc/ |
D | LVOSA_FileReader_optim.h | 62 M4OSA_Void* fileDescriptor, 66 M4OSA_Void* fileDescriptor,
|
D | M4OSA_FileReader.h | 77 M4OSA_Void* fileDescriptor, 105 M4OSA_Void* fileDescriptor,
|
D | M4OSA_FileWriter.h | 73 M4OSA_Void* fileDescriptor, 101 M4OSA_Void* fileDescriptor,
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapRegionDecoder.cpp | 110 jobject fileDescriptor, jboolean isShareable) { in nativeNewInstanceFromFileDescriptor() argument 111 NPE_CHECK_RETURN_ZERO(env, fileDescriptor); in nativeNewInstanceFromFileDescriptor() 113 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); in nativeNewInstanceFromFileDescriptor()
|
D | BitmapFactory.cpp | 434 static jobject nativeDecodeFileDescriptor(JNIEnv* env, jobject clazz, jobject fileDescriptor, in nativeDecodeFileDescriptor() argument 437 NPE_CHECK_RETURN_ZERO(env, fileDescriptor); in nativeDecodeFileDescriptor() 439 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); in nativeDecodeFileDescriptor() 545 static jboolean nativeIsSeekable(JNIEnv* env, jobject, jobject fileDescriptor) { in nativeIsSeekable() argument 546 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); in nativeIsSeekable()
|
/frameworks/base/media/jni/ |
D | android_media_MediaScanner.cpp | 334 JNIEnv *env, jobject thiz, jobject fileDescriptor) in android_media_MediaScanner_extractAlbumArt() argument 343 if (fileDescriptor == NULL) { in android_media_MediaScanner_extractAlbumArt() 348 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaScanner_extractAlbumArt()
|
D | android_media_MediaMuxer.cpp | 137 JNIEnv *env, jclass clazz, jobject fileDescriptor, in android_media_MediaMuxer_native_setup() argument 139 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaMuxer_native_setup()
|
D | android_media_MediaMetadataRetriever.cpp | 134 …MetadataRetriever_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset,… in android_media_MediaMetadataRetriever_setDataSourceFD() argument 142 if (!fileDescriptor) { in android_media_MediaMetadataRetriever_setDataSourceFD() 146 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaMetadataRetriever_setDataSourceFD()
|
D | android_media_MediaRecorder.cpp | 248 android_media_MediaRecorder_setOutputFileFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlon… in android_media_MediaRecorder_setOutputFileFD() argument 251 if (fileDescriptor == NULL) { in android_media_MediaRecorder_setOutputFileFD() 255 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaRecorder_setOutputFileFD()
|
/frameworks/base/core/java/android/speech/tts/ |
D | ITextToSpeechService.aidl | 53 in ParcelFileDescriptor fileDescriptor, in Bundle params); in synthesizeToFileDescriptor() argument
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool.cpp | 57 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, in android_media_SoundPool_load_FD() argument 63 return ap->load(jniGetFDFromFileDescriptor(env, fileDescriptor), in android_media_SoundPool_load_FD()
|