/frameworks/base/core/jni/ |
D | android_os_MemoryFile.cpp | 46 static jlong 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() 64 static void android_os_MemoryFile_close(JNIEnv* env, jobject clazz, jobject fileDescriptor) in android_os_MemoryFile_close() argument 66 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_MemoryFile_close() 68 jniSetFileDescriptorOfFD(env, fileDescriptor, -1); in android_os_MemoryFile_close() 74 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, in android_os_MemoryFile_read() argument 77 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_MemoryFile_read() 93 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, in android_os_MemoryFile_write() argument 96 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_MemoryFile_write() 111 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 | 53 jobject fileDescriptor, jstring name, jint namespaceId) in socket_connect_local() argument 58 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_connect_local() 85 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_bind_local() argument 96 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_bind_local() 114 socket_listen (JNIEnv *env, jobject object, jobject fileDescriptor, jint backlog) in socket_listen() argument 119 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_listen() 138 socket_accept (JNIEnv *env, jobject object, jobject fileDescriptor, jobject s) in socket_accept() argument 155 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in socket_accept() 179 socket_shutdown (JNIEnv *env, jobject object, jobject fileDescriptor, in socket_shutdown() argument 185 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_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_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_backup_FileBackupHelperBase.cpp | 97 writeSnapshot_native(JNIEnv* env, jobject clazz, jlong 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_media_JetPlayer.cpp | 166 jobject fileDescriptor, jlong offset, jlong length) in android_media_JetPlayer_loadFromFileD() argument 180 EAS_RESULT result = lpJet->loadFromFD(jniGetFDFromFileDescriptor(env, fileDescriptor), in android_media_JetPlayer_loadFromFileD()
|
D | android_os_Debug.cpp | 854 jobject fileDescriptor) in android_os_Debug_dumpNativeHeap() argument 856 if (fileDescriptor == NULL) { in android_os_Debug_dumpNativeHeap() 860 int origFd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_os_Debug_dumpNativeHeap()
|
/frameworks/base/services/core/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 | 95 jobject fileDescriptor = jniCreateFileDescriptor(env, fd); in android_server_UsbDeviceManager_openAccessory() local 96 if (fileDescriptor == NULL) { in android_server_UsbDeviceManager_openAccessory() 100 gParcelFileDescriptorOffsets.mConstructor, fileDescriptor); in android_server_UsbDeviceManager_openAccessory()
|
D | com_android_server_UsbHostManager.cpp | 179 jobject fileDescriptor = jniCreateFileDescriptor(env, newFD); in android_server_UsbHostManager_openDevice() local 180 if (fileDescriptor == NULL) { in android_server_UsbHostManager_openDevice() 184 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/support/v4/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 206 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor, in printBitmap() 228 fileDescriptor.getFileDescriptor())); in printBitmap() 241 if (fileDescriptor != null) { in printBitmap() 243 fileDescriptor.close(); in printBitmap() 404 public void onWrite(PageRange[] pageRanges, ParcelFileDescriptor fileDescriptor, in printBitmap() 427 fileDescriptor.getFileDescriptor())); in printBitmap() 440 if (fileDescriptor != null) { in printBitmap() 442 fileDescriptor.close(); in printBitmap()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapRegionDecoder.cpp | 118 jobject fileDescriptor, jboolean isShareable) { in nativeNewInstanceFromFileDescriptor() argument 119 NPE_CHECK_RETURN_ZERO(env, fileDescriptor); in nativeNewInstanceFromFileDescriptor() 121 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); in nativeNewInstanceFromFileDescriptor()
|
D | BitmapFactory.cpp | 476 static jobject nativeDecodeFileDescriptor(JNIEnv* env, jobject clazz, jobject fileDescriptor, in nativeDecodeFileDescriptor() argument 479 NPE_CHECK_RETURN_ZERO(env, fileDescriptor); in nativeDecodeFileDescriptor() 481 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); in nativeDecodeFileDescriptor() 533 static jboolean nativeIsSeekable(JNIEnv* env, jobject, jobject fileDescriptor) { in nativeIsSeekable() argument 534 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); in nativeIsSeekable()
|
/frameworks/base/media/jni/ |
D | android_media_MediaScanner.cpp | 336 JNIEnv *env, jobject thiz, jobject fileDescriptor) in android_media_MediaScanner_extractAlbumArt() argument 345 if (fileDescriptor == NULL) { in android_media_MediaScanner_extractAlbumArt() 350 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaScanner_extractAlbumArt()
|
D | android_media_MediaMuxer.cpp | 136 JNIEnv *env, jclass clazz, jobject fileDescriptor, in android_media_MediaMuxer_native_setup() argument 138 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaMuxer_native_setup()
|
D | android_media_MediaMetadataRetriever.cpp | 146 …MetadataRetriever_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset,… in android_media_MediaMetadataRetriever_setDataSourceFD() argument 154 if (!fileDescriptor) { in android_media_MediaMetadataRetriever_setDataSourceFD() 158 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaMetadataRetriever_setDataSourceFD()
|
D | android_media_MediaRecorder.cpp | 254 android_media_MediaRecorder_setOutputFileFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlon… in android_media_MediaRecorder_setOutputFileFD() argument 257 if (fileDescriptor == NULL) { in android_media_MediaRecorder_setOutputFileFD() 261 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_media_MediaRecorder_setOutputFileFD()
|
/frameworks/base/core/java/android/speech/tts/ |
D | ITextToSpeechService.aidl | 57 in ParcelFileDescriptor fileDescriptor, in Bundle params, String utteranceId); in synthesizeToFileDescriptor() argument
|
D | TextToSpeech.java | 1786 ParcelFileDescriptor fileDescriptor; 1793 fileDescriptor = ParcelFileDescriptor.open(file, 1798 fileDescriptor, getParams(params), utteranceId); 1799 fileDescriptor.close();
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool_SoundPoolImpl.cpp | 64 android_media_SoundPool_SoundPoolImpl_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, in android_media_SoundPool_SoundPoolImpl_load_FD() argument 70 return (jint) ap->load(jniGetFDFromFileDescriptor(env, fileDescriptor), in android_media_SoundPool_SoundPoolImpl_load_FD()
|