/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 54 static void SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, argument 58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); 65 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); 68 static void SurfaceTexture_setProducer(JNIEnv* env, jobject thiz, argument 72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); 79 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); 83 jobject thiz, sp<GLConsumer::FrameAvailableListener> listener) 87 env->GetLongField(thiz, fields.frameAvailableListener); 94 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); 97 sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { argument 82 SurfaceTexture_setFrameAvailableListener(JNIEnv* env, jobject thiz, sp<GLConsumer::FrameAvailableListener> listener) argument 101 SurfaceTexture_getProducer(JNIEnv* env, jobject thiz) argument 105 android_SurfaceTexture_getNativeWindow(JNIEnv* env, jobject thiz) argument 112 android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz) argument 230 SurfaceTexture_init(JNIEnv* env, jobject thiz, jboolean isDetached, jint texName, jboolean singleBufferMode, jobject weakThiz) argument 272 SurfaceTexture_finalize(JNIEnv* env, jobject thiz) argument 281 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument 287 SurfaceTexture_updateTexImage(JNIEnv* env, jobject thiz) argument 299 SurfaceTexture_releaseTexImage(JNIEnv* env, jobject thiz) argument 311 SurfaceTexture_detachFromGLContext(JNIEnv* env, jobject thiz) argument 317 SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) argument 323 SurfaceTexture_getTransformMatrix(JNIEnv* env, jobject thiz, jfloatArray jmtx) argument 332 SurfaceTexture_getTimestamp(JNIEnv* env, jobject thiz) argument 338 SurfaceTexture_release(JNIEnv* env, jobject thiz) argument [all...] |
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfDocument.cpp | 127 static jlong nativeCreateDocument(JNIEnv* env, jobject thiz) { argument 131 static jlong nativeStartPage(JNIEnv* env, jobject thiz, jlong documentPtr, argument 140 static void nativeFinishPage(JNIEnv* env, jobject thiz, jlong documentPtr) { argument 145 static void nativeWriteTo(JNIEnv* env, jobject thiz, jlong documentPtr, jobject out, argument 153 static void nativeClose(JNIEnv* env, jobject thiz, jlong documentPtr) { argument
|
H A D | PdfEditor.cpp | 80 static jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size) { argument 110 static void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr) { argument 116 static jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr) { argument 121 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { argument 160 static void nativeWrite(JNIEnv* env, jclass thiz, jlong documentPtr, jint fd) { argument 173 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, argument 221 static void nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, argument 248 static jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr) { argument 254 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, argument 288 static jboolean nativeGetPageMediaBox(JNIEnv* env, jclass thiz, jlon argument 295 nativeGetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject outMediaBox) argument 302 nativeSetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, PageBox pageBox, jobject box) argument 327 nativeSetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject mediaBox) argument 332 nativeSetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject mediaBox) argument [all...] |
H A D | PdfRenderer.cpp | 73 static jlong nativeCreate(JNIEnv* env, jclass thiz, jint fd, jlong size) { argument 103 static jlong nativeOpenPageAndGetSize(JNIEnv* env, jclass thiz, jlong documentPtr, argument 132 static void nativeClosePage(JNIEnv* env, jclass thiz, jlong pagePtr) { argument 137 static void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr) { argument 143 static jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr) { argument 148 static jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr) { argument 236 static void nativeRenderPage(JNIEnv* env, jclass thiz, jlong documentPtr, jlong pagePtr, argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 42 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, argument 54 env->SetLongField(thiz, field_context, (jlong)device); 65 android_hardware_UsbDeviceConnection_close(JNIEnv *env, jobject thiz) argument 68 struct usb_device* device = get_device_from_object(env, thiz); 71 env->SetLongField(thiz, field_context, 0); 76 android_hardware_UsbDeviceConnection_get_fd(JNIEnv *env, jobject thiz) argument 78 struct usb_device* device = get_device_from_object(env, thiz); 87 android_hardware_UsbDeviceConnection_get_desc(JNIEnv *env, jobject thiz) argument 90 int fd = android_hardware_UsbDeviceConnection_get_fd(env, thiz); 108 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, argument 127 android_hardware_UsbDeviceConnection_release_interface(JNIEnv *env, jobject thiz, jint interfaceID) argument 143 android_hardware_UsbDeviceConnection_set_interface(JNIEnv *env, jobject thiz, jint interfaceID, jint alternateSetting) argument 156 android_hardware_UsbDeviceConnection_set_configuration(JNIEnv *env, jobject thiz, jint configurationID) argument 168 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint start, jint length, jint timeout) argument 194 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) argument 218 android_hardware_UsbDeviceConnection_request_wait(JNIEnv *env, jobject thiz) argument 234 android_hardware_UsbDeviceConnection_get_serial(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_hardware_camera2_legacy_PerfMeasurement.cpp | 231 static jlong PerfMeasurement_nativeCreateContext(JNIEnv* env, jobject thiz, argument 237 static void PerfMeasurement_nativeDeleteContext(JNIEnv* env, jobject thiz, argument 243 static jboolean PerfMeasurement_nativeQuerySupport(JNIEnv* env, jobject thiz) { argument 249 static void PerfMeasurement_nativeStartGlTimer(JNIEnv* env, jobject thiz, argument 274 static void PerfMeasurement_nativeStopGlTimer(JNIEnv* env, jobject thiz, argument 295 jobject thiz, jlong contextHandle) { 294 PerfMeasurement_nativeGetNextGlDuration(JNIEnv* env, jobject thiz, jlong contextHandle) argument
|
H A D | android_media_JetPlayer.cpp | 79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument 90 env->SetLongField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, (jlong)lpJet); 103 android_media_JetPlayer_finalize(JNIEnv *env, jobject thiz) argument 107 thiz, javaJetPlayerFields.nativePlayerInJavaObj); 119 android_media_JetPlayer_release(JNIEnv *env, jobject thiz) argument 121 android_media_JetPlayer_finalize(env, thiz); 122 env->SetLongField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, 0); 129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument 132 thiz, javaJetPlayerFields.nativePlayerInJavaObj); 165 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, argument 196 android_media_JetPlayer_closeFile(JNIEnv *env, jobject thiz) argument 218 android_media_JetPlayer_play(JNIEnv *env, jobject thiz) argument 242 android_media_JetPlayer_pause(JNIEnv *env, jobject thiz) argument 270 android_media_JetPlayer_queueSegment(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jint muteFlags, jbyte userID) argument 297 android_media_JetPlayer_queueSegmentMuteArray(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jbooleanArray muteArray, jbyte userID) argument 344 android_media_JetPlayer_setMuteFlags(JNIEnv *env, jobject thiz, jint muteFlags , jboolean bSync) argument 369 android_media_JetPlayer_setMuteArray(JNIEnv *env, jobject thiz, jbooleanArray muteArray, jboolean bSync) argument 415 android_media_JetPlayer_setMuteFlag(JNIEnv *env, jobject thiz, jint trackId, jboolean muteFlag, jboolean bSync) argument 442 android_media_JetPlayer_triggerClip(JNIEnv *env, jobject thiz, jint clipId) argument 467 android_media_JetPlayer_clearQueue(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_net_NetUtils.cpp | 223 static jboolean android_net_utils_bindProcessToNetwork(JNIEnv *env, jobject thiz, jint netId) argument 228 static jint android_net_utils_getNetworkBoundToProcess(JNIEnv *env, jobject thiz) argument 233 static jboolean android_net_utils_bindProcessToNetworkForHostResolution(JNIEnv *env, jobject thiz, argument 239 static jint android_net_utils_bindSocketToNetwork(JNIEnv *env, jobject thiz, jint socket, argument 245 static jboolean android_net_utils_protectFromVpn(JNIEnv *env, jobject thiz, jint socket) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodecList.cpp | 45 JNIEnv *env, jobject thiz) { 55 JNIEnv *env, jobject thiz, jint index) { 73 JNIEnv *env, jobject thiz, jstring name) { 98 JNIEnv *env, jobject thiz, jint index) { 115 JNIEnv *env, jobject thiz, jint index) { 147 JNIEnv *env, jobject thiz, jint index, jstring type) { 44 android_media_MediaCodecList_getCodecCount( JNIEnv *env, jobject thiz) argument 54 android_media_MediaCodecList_getCodecName( JNIEnv *env, jobject thiz, jint index) argument 72 android_media_MediaCodecList_findCodecByName( JNIEnv *env, jobject thiz, jstring name) argument 97 android_media_MediaCodecList_isEncoder( JNIEnv *env, jobject thiz, jint index) argument 114 android_media_MediaCodecList_getSupportedTypes( JNIEnv *env, jobject thiz, jint index) argument 146 android_media_MediaCodecList_getCodecCapabilities( JNIEnv *env, jobject thiz, jint index, jstring type) argument
|
H A D | android_media_MediaCrypto.cpp | 40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { argument 41 return (JCrypto *)env->GetLongField(thiz, gFields.context); 45 JNIEnv *env, jobject thiz, 47 mObject = env->NewWeakGlobalRef(thiz); 148 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { 149 sp<JCrypto> old = (JCrypto *)env->GetLongField(thiz, gFields.context); 151 crypto->incStrong(thiz); 154 old->decStrong(thiz); 156 env->SetLongField(thiz, gFields.context, (jlong)crypto.get()); 161 static void android_media_MediaCrypto_release(JNIEnv *env, jobject thiz) { argument 44 JCrypto( JNIEnv *env, jobject thiz, const uint8_t uuid[16], const void *initData, size_t initSize) argument 147 setCrypto( JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) argument 173 android_media_MediaCrypto_native_setup( JNIEnv *env, jobject thiz, jbyteArray uuidObj, jbyteArray initDataObj) argument 221 android_media_MediaCrypto_native_finalize( JNIEnv *env, jobject thiz) argument 226 android_media_MediaCrypto_isCryptoSchemeSupportedNative( JNIEnv *env, jobject thiz, jbyteArray uuidObj) argument 249 android_media_MediaCrypto_requiresSecureDecoderComponent( JNIEnv *env, jobject thiz, jstring mimeObj) argument [all...] |
H A D | android_mtp_MtpServer.cpp | 55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { argument 56 return (MtpServer*)env->GetLongField(thiz, field_MtpServer_nativeContext); 60 android_mtp_MtpServer_setup(JNIEnv *env, jobject thiz, jobject javaDatabase, jboolean usePtp) argument 66 env->SetLongField(thiz, field_MtpServer_nativeContext, (jlong)server); 73 android_mtp_MtpServer_run(JNIEnv *env, jobject thiz) argument 75 MtpServer* server = getMtpServer(env, thiz); 83 android_mtp_MtpServer_cleanup(JNIEnv *env, jobject thiz) argument 87 MtpServer* server = getMtpServer(env, thiz); 90 env->SetLongField(thiz, field_MtpServer_nativeContext, 0); 97 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jin argument 109 android_mtp_MtpServer_send_object_removed(JNIEnv *env, jobject thiz, jint handle) argument 121 android_mtp_MtpServer_send_device_property_changed(JNIEnv *env, jobject thiz, jint property) argument 133 android_mtp_MtpServer_add_storage(JNIEnv *env, jobject thiz, jobject jstorage) argument 165 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) argument [all...] |
H A D | android_media_MediaMetadataRetriever.cpp | 70 static MediaMetadataRetriever* getRetriever(JNIEnv* env, jobject thiz) argument 73 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); 77 static void setRetriever(JNIEnv* env, jobject thiz, MediaMetadataRetriever* retriever) argument 80 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); 81 env->SetLongField(thiz, fields.context, (jlong) retriever); 86 JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, 90 MediaMetadataRetriever* retriever = getRetriever(env, thiz); 146 static void android_media_MediaMetadataRetriever_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument 149 MediaMetadataRetriever* retriever = getRetriever(env, thiz); 230 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlon argument 85 android_media_MediaMetadataRetriever_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument 318 android_media_MediaMetadataRetriever_getEmbeddedPicture( JNIEnv *env, jobject thiz, jint pictureType) argument 354 android_media_MediaMetadataRetriever_extractMetadata(JNIEnv *env, jobject thiz, jint keyCode) argument 371 android_media_MediaMetadataRetriever_release(JNIEnv *env, jobject thiz) argument 380 android_media_MediaMetadataRetriever_native_finalize(JNIEnv *env, jobject thiz) argument 445 android_media_MediaMetadataRetriever_native_setup(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_media_MediaProfiles.cpp | 48 android_media_MediaProfiles_native_get_num_file_formats(JNIEnv *env, jobject thiz) argument 55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject thiz, jint index) argument 68 android_media_MediaProfiles_native_get_num_video_encoders(JNIEnv *env, jobject thiz) argument 75 android_media_MediaProfiles_native_get_video_encoder_cap(JNIEnv *env, jobject thiz, jint index) argument 119 android_media_MediaProfiles_native_get_num_audio_encoders(JNIEnv *env, jobject thiz) argument 126 android_media_MediaProfiles_native_get_audio_encoder_cap(JNIEnv *env, jobject thiz, jint index) argument 175 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument 224 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument 236 android_media_MediaProfiles_native_get_num_video_decoders(JNIEnv *env, jobject thiz) argument 243 android_media_MediaProfiles_native_get_video_decoder_type(JNIEnv *env, jobject thiz, jin argument 257 android_media_MediaProfiles_native_get_num_audio_decoders(JNIEnv *env, jobject thiz) argument 264 android_media_MediaProfiles_native_get_audio_decoder_type(JNIEnv *env, jobject thiz, jint index) argument 278 android_media_MediaProfiles_native_get_num_image_encoding_quality_levels(JNIEnv *env, jobject thiz, jint cameraId) argument 285 android_media_MediaProfiles_native_get_image_encoding_quality_level(JNIEnv *env, jobject thiz, jint cameraId, jint index) argument [all...] |
H A D | android_media_MediaRecorder.cpp | 48 extern sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, struct JNICameraContext** context); 65 JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 74 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument 79 jclass clazz = env->GetObjectClass(thiz); 130 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) argument 133 MediaRecorder* const p = (MediaRecorder*)env->GetLongField(thiz, fields.context); 137 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) argument 140 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context); 142 recorder->incStrong(thiz); 145 old->decStrong(thiz); 152 android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) argument 170 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) argument 182 android_media_MediaRecorder_setAudioSource(JNIEnv *env, jobject thiz, jint as) argument 196 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument 208 android_media_MediaRecorder_setVideoEncoder(JNIEnv *env, jobject thiz, jint ve) argument 220 android_media_MediaRecorder_setAudioEncoder(JNIEnv *env, jobject thiz, jint ae) argument 232 android_media_MediaRecorder_setParameter(JNIEnv *env, jobject thiz, jstring params) argument 255 android_media_MediaRecorder_setOutputFileFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument 269 android_media_MediaRecorder_setVideoSize(JNIEnv *env, jobject thiz, jint width, jint height) argument 282 android_media_MediaRecorder_setVideoFrameRate(JNIEnv *env, jobject thiz, jint rate) argument 294 android_media_MediaRecorder_setMaxDuration(JNIEnv *env, jobject thiz, jint max_duration_ms) argument 306 android_media_MediaRecorder_setMaxFileSize( JNIEnv *env, jobject thiz, jlong max_filesize_bytes) argument 319 android_media_MediaRecorder_prepare(JNIEnv *env, jobject thiz) argument 345 android_media_MediaRecorder_native_getMaxAmplitude(JNIEnv *env, jobject thiz) argument 355 android_media_MediaRecorder_getSurface(JNIEnv *env, jobject thiz) argument 375 android_media_MediaRecorder_start(JNIEnv *env, jobject thiz) argument 383 android_media_MediaRecorder_stop(JNIEnv *env, jobject thiz) argument 391 android_media_MediaRecorder_native_reset(JNIEnv *env, jobject thiz) argument 399 android_media_MediaRecorder_release(JNIEnv *env, jobject thiz) argument 446 android_media_MediaRecorder_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jstring packageName) argument 478 android_media_MediaRecorder_native_finalize(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_media_MediaScanner.cpp | 228 static MediaScanner *getNativeScanner_l(JNIEnv* env, jobject thiz) argument 230 return (MediaScanner *) env->GetLongField(thiz, fields.context); 233 static void setNativeScanner_l(JNIEnv* env, jobject thiz, MediaScanner *s) argument 235 env->SetLongField(thiz, fields.context, (jlong)s); 240 JNIEnv *env, jobject thiz, jstring path, jobject client) 243 MediaScanner *mp = getNativeScanner_l(env, thiz); 269 JNIEnv *env, jobject thiz, jstring path, 275 MediaScanner *mp = getNativeScanner_l(env, thiz); 312 JNIEnv *env, jobject thiz, jstring locale) 315 MediaScanner *mp = getNativeScanner_l(env, thiz); 239 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument 268 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument 311 android_media_MediaScanner_setLocale( JNIEnv *env, jobject thiz, jstring locale) argument 335 android_media_MediaScanner_extractAlbumArt( JNIEnv *env, jobject thiz, jobject fileDescriptor) argument 391 android_media_MediaScanner_native_setup(JNIEnv *env, jobject thiz) argument 405 android_media_MediaScanner_native_finalize(JNIEnv *env, jobject thiz) argument [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool_SoundPoolImpl.cpp | 35 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { argument 36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); 49 android_media_SoundPool_SoundPoolImpl_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) argument 52 SoundPool *ap = MusterSoundPool(env, thiz); 64 android_media_SoundPool_SoundPoolImpl_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, argument 68 SoundPool *ap = MusterSoundPool(env, thiz); 75 android_media_SoundPool_SoundPoolImpl_unload(JNIEnv *env, jobject thiz, jint sampleID) { argument 77 SoundPool *ap = MusterSoundPool(env, thiz); 83 android_media_SoundPool_SoundPoolImpl_play(JNIEnv *env, jobject thiz, jint sampleID, argument 88 SoundPool *ap = MusterSoundPool(env, thiz); 94 android_media_SoundPool_SoundPoolImpl_pause(JNIEnv *env, jobject thiz, jint channelID) argument 103 android_media_SoundPool_SoundPoolImpl_resume(JNIEnv *env, jobject thiz, jint channelID) argument 112 android_media_SoundPool_SoundPoolImpl_autoPause(JNIEnv *env, jobject thiz) argument 121 android_media_SoundPool_SoundPoolImpl_autoResume(JNIEnv *env, jobject thiz) argument 130 android_media_SoundPool_SoundPoolImpl_stop(JNIEnv *env, jobject thiz, jint channelID) argument 139 android_media_SoundPool_SoundPoolImpl_setVolume(JNIEnv *env, jobject thiz, jint channelID, jfloat leftVolume, jfloat rightVolume) argument 149 android_media_SoundPool_SoundPoolImpl_setPriority(JNIEnv *env, jobject thiz, jint channelID, jint priority) argument 159 android_media_SoundPool_SoundPoolImpl_setLoop(JNIEnv *env, jobject thiz, jint channelID, int loop) argument 169 android_media_SoundPool_SoundPoolImpl_setRate(JNIEnv *env, jobject thiz, jint channelID, jfloat rate) argument 186 android_media_SoundPool_SoundPoolImpl_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, jint maxChannels, jobject jaa) argument 228 android_media_SoundPool_SoundPoolImpl_release(JNIEnv *env, jobject thiz) argument [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 65 jboolean Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz) { argument 66 return ToJBool(WrapObjectInJava(new GLEnv(), env, thiz, true)); 69 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 70 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz)); 74 jobject thiz) { 75 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 80 jobject thiz) { 81 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 85 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz) { argument 86 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 73 Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, jobject thiz) argument 79 Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, jobject thiz) argument 90 Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz) argument 100 Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz) argument 105 Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz) argument 110 Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz) argument 133 Java_android_filterfw_core_GLEnvironment_nativeAddSurface(JNIEnv* env, jobject thiz, jobject surface) argument 193 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument 268 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder( JNIEnv* env, jobject thiz, jobject jmediarecorder) argument 357 Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument 364 Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument 371 Java_android_filterfw_core_GLEnvironment_nativeSetSurfaceTimestamp(JNIEnv* env, jobject thiz, jlong timestamp) argument [all...] |
H A D | jni_gl_frame.cpp | 45 jobject thiz, 53 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 61 jobject thiz, 70 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 78 jobject thiz, 87 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 95 jobject thiz, 101 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 108 jboolean Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 109 return ToJBool(DeleteNativeObject<GLFrame>(env, thiz)); 44 Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, jobject thiz, jobject gl_env, jint width, jint height) argument 60 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, jobject thiz, jobject gl_env, jint tex_id, jint width, jint height) argument 77 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, jobject thiz, jobject gl_env, jint fbo_id, jint width, jint height) argument 94 Java_android_filterfw_core_GLFrame_nativeAllocateExternal(JNIEnv* env, jobject thiz, jobject gl_env) argument 112 Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument 129 Java_android_filterfw_core_GLFrame_getNativeData(JNIEnv* env, jobject thiz) argument 141 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument 158 Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz) argument 170 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument 194 Java_android_filterfw_core_GLFrame_getNativeFloats(JNIEnv* env, jobject thiz) argument 216 Java_android_filterfw_core_GLFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size) argument 233 Java_android_filterfw_core_GLFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap) argument 248 Java_android_filterfw_core_GLFrame_setNativeViewport(JNIEnv* env, jobject thiz, jint x, jint y, jint width, jint height) argument 258 Java_android_filterfw_core_GLFrame_getNativeTextureId(JNIEnv* env, jobject thiz) argument 263 Java_android_filterfw_core_GLFrame_getNativeFboId(JNIEnv* env, jobject thiz) argument 268 Java_android_filterfw_core_GLFrame_generateNativeMipMap(JNIEnv* env, jobject thiz) argument 273 Java_android_filterfw_core_GLFrame_setNativeTextureParam(JNIEnv* env, jobject thiz, jint param, jint value) argument 281 Java_android_filterfw_core_GLFrame_nativeResetParams(JNIEnv* env, jobject thiz) argument 286 Java_android_filterfw_core_GLFrame_nativeCopyFromNative(JNIEnv* env, jobject thiz, jobject frame) argument 297 Java_android_filterfw_core_GLFrame_nativeCopyFromGL(JNIEnv* env, jobject thiz, jobject frame) argument 308 Java_android_filterfw_core_GLFrame_nativeFocus(JNIEnv* env, jobject thiz) argument 313 Java_android_filterfw_core_GLFrame_nativeReattachTexToFbo(JNIEnv* env, jobject thiz) argument 318 Java_android_filterfw_core_GLFrame_nativeDetachTexFromFbo(JNIEnv* env, jobject thiz) argument [all...] |
H A D | jni_native_frame.cpp | 36 jobject thiz, 38 return ToJBool(WrapObjectInJava(new NativeFrame(size), env, thiz, true)); 41 jboolean Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 42 return ToJBool(DeleteNativeObject<NativeFrame>(env, thiz)); 54 jobject thiz, 58 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 73 jobject thiz, 75 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 88 jobject thiz, 90 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 35 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument 53 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument 72 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) argument 87 Java_android_filterfw_core_NativeFrame_getNativeBuffer(JNIEnv* env, jobject thiz, jobject buffer) argument 98 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument 116 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size) argument 132 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument 150 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size) argument 166 Java_android_filterfw_core_NativeFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument 216 Java_android_filterfw_core_NativeFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument 268 Java_android_filterfw_core_NativeFrame_getNativeCapacity(JNIEnv* env, jobject thiz) argument 273 Java_android_filterfw_core_NativeFrame_nativeCopyFromNative(JNIEnv* env, jobject thiz, jobject frame) argument 284 Java_android_filterfw_core_NativeFrame_nativeCopyFromGL(JNIEnv* env, jobject thiz, jobject frame) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbHostManager.cpp | 69 jobject thiz = (jobject)client_data; local 81 jboolean result = env->CallBooleanMethod(thiz, method_beginUsbDeviceAdded, 104 env->CallVoidMethod(thiz, method_addUsbConfiguration, 115 env->CallVoidMethod(thiz, method_addUsbInterface, 125 env->CallVoidMethod(thiz, method_addUsbEndpoint, 131 env->CallVoidMethod(thiz, method_endUsbDeviceAdded); 142 jobject thiz = (jobject)client_data; local 145 env->CallVoidMethod(thiz, method_usbDeviceRemoved, deviceName); 151 static void android_server_UsbHostManager_monitorUsbHostBus(JNIEnv *env, jobject thiz) argument 158 // this will never return so it is safe to pass thiz directl 162 android_server_UsbHostManager_openDevice(JNIEnv *env, jobject thiz, jstring deviceName) argument [all...] |
H A D | com_android_server_connectivity_Vpn.cpp | 216 static bool modifyAddress(JNIEnv *env, jobject thiz, jstring jName, jstring jAddress, argument 261 static jint create(JNIEnv *env, jobject thiz, jint mtu) argument 271 static jstring getName(JNIEnv *env, jobject thiz, jint tun) argument 281 static jint setAddresses(JNIEnv *env, jobject thiz, jstring jName, argument 314 static void reset(JNIEnv *env, jobject thiz, jstring jName) argument 327 static jint check(JNIEnv *env, jobject thiz, jstring jName) argument 339 static bool addAddress(JNIEnv *env, jobject thiz, jstring jName, jstring jAddress, argument 342 return modifyAddress(env, thiz, jName, jAddress, jPrefixLength, true); 345 static bool delAddress(JNIEnv *env, jobject thiz, jstring jName, jstring jAddress, argument 348 return modifyAddress(env, thiz, jNam [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IEnvironmentalReverb.c | 50 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 51 interface_lock_exclusive(thiz); 52 thiz->mProperties.roomLevel = room; 56 if (NO_ENVREVERB(thiz)) { 59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, 64 interface_unlock_exclusive(thiz); 78 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 79 interface_lock_shared(thiz); 83 if (NO_ENVREVERB(thiz)) { 86 android::status_t status = android_erev_getParam(thiz 111 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 140 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 170 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 199 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 229 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 258 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 290 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 319 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 349 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 378 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 410 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 439 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 469 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 498 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 528 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 557 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 587 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 616 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 671 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 700 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 762 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 775 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 784 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local [all...] |
H A D | IEqualizer.c | 59 IEqualizer *thiz = (IEqualizer *) self; local 60 interface_lock_exclusive(thiz); 61 thiz->mEnabled = (SLboolean) enabled; 65 if (NO_EQ(thiz)) { 69 thiz->mEqEffect->setEnabled((bool) thiz->mEnabled); 73 interface_unlock_exclusive(thiz); 86 IEqualizer *thiz = (IEqualizer *) self; local 87 interface_lock_exclusive(thiz); 88 SLboolean enabled = thiz 114 IEqualizer *thiz = (IEqualizer *) self; local 132 IEqualizer *thiz = (IEqualizer *) self; local 149 IEqualizer *thiz = (IEqualizer *) self; local 182 IEqualizer *thiz = (IEqualizer *) self; local 217 IEqualizer *thiz = (IEqualizer *) self; local 253 IEqualizer *thiz = (IEqualizer *) self; local 296 IEqualizer *thiz = (IEqualizer *) self; local 346 IEqualizer *thiz = (IEqualizer *) self; local 382 IEqualizer *thiz = (IEqualizer *) self; local 417 IEqualizer *thiz = (IEqualizer *) self; local 435 IEqualizer *thiz = (IEqualizer *) self; local 479 IEqualizer *thiz = (IEqualizer *) self; local 507 IEqualizer *thiz = (IEqualizer *) self; local 516 IEqualizer *thiz = (IEqualizer *) self; local [all...] |
H A D | IObject.c | 29 IObject *thiz = (IObject *) self; local 30 assert(NULL != thiz); 31 const ClassTable *clazz = thiz->mClass; 38 object_lock_exclusive(thiz); 39 state = thiz->mState; 44 thiz->mState = SL_OBJECT_STATE_REALIZING_2; 47 result = (*realize)(thiz, SL_BOOLEAN_TRUE); 48 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState); 70 thiz->mState = state; 73 slObjectCallback callback = thiz 88 IObject *thiz = (IObject *) self; local 172 IObject *thiz = (IObject *) self; local 231 IObject *thiz = (IObject *) self; local 291 IObject *thiz = (IObject *) self; local 336 IObject *thiz = (IObject *) self; local 392 IObject *thiz = (IObject *) self; local 407 Abort_internal(IObject *thiz) argument 509 IObject *thiz = (IObject *) self; local 521 IObject *thiz = (IObject *) self; local 647 IObject *thiz = (IObject *) self; local 669 IObject *thiz = (IObject *) self; local 698 IObject *thiz = (IObject *) self; local 753 IObject *thiz = (IObject *) self; local 789 IObject *thiz = (IObject *) self; local 810 IObject_Publish(IObject *thiz) argument [all...] |
H A D | IOutputMixExt.c | 176 IOutputMixExt *thiz = (IOutputMixExt *) self; local 177 IObject *thisObject = thiz->mThis; 182 if (thiz->mDestroyRequested) { 190 thiz->mDestroyRequested = SL_BOOLEAN_FALSE; 194 activeMask = thiz->mActiveMask; 200 Track *track = &thiz->mTracks[i]; 341 IOutputMixExt *thiz = (IOutputMixExt *) self; local 342 thiz->mItf = &IOutputMixExt_Itf; 343 thiz->mActiveMask = 0; 344 Track *track = &thiz 355 IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument [all...] |