Home
last modified time | relevance | path

Searched refs:weak_this (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroupCallback.cpp126 jobject weak_this) in android_media_AudioVolumeGroupChangeHandler_eventHandlerSetup() argument
130 new JNIAudioVolumeGroupCallback(env, thiz, weak_this); in android_media_AudioVolumeGroupChangeHandler_eventHandlerSetup()
Dandroid_hardware_Camera.cpp74 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera);
148 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& … in JNICameraContext() argument
150 mCameraJObjectWeak = env->NewGlobalRef(weak_this); in JNICameraContext()
559 jobject weak_this, jint cameraId, jstring clientPackageName) in android_hardware_Camera_native_setup() argument
590 sp<JNICameraContext> context = new JNICameraContext(env, weak_this, clazz, camera); in android_hardware_Camera_native_setup()
Dandroid_media_AudioRecord.cpp188 static jint android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioRecord_setup() argument
293 lpCallbackData->audioRecord_ref = env->NewGlobalRef(weak_this); in android_media_AudioRecord_setup()
336 lpCallbackData->audioRecord_ref = env->NewGlobalRef(weak_this); in android_media_AudioRecord_setup()
Dandroid_media_AudioTrack.cpp249 static jint android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup() argument
351 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
462 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
Dandroid_media_AudioSystem.cpp1978 android_media_AudioSystem_eventHandlerSetup(JNIEnv *env, jobject thiz, jobject weak_this) in android_media_AudioSystem_eventHandlerSetup() argument
1982 sp<JNIAudioPortCallback> callback = new JNIAudioPortCallback(env, thiz, weak_this); in android_media_AudioSystem_eventHandlerSetup()
/frameworks/base/media/jni/
Dandroid_media_JetPlayer.cpp101 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_JetPlayer_setup() argument
107 JetPlayer* lpJet = new JetPlayer(env->NewGlobalRef(weak_this), maxTracks, trackBufferSize); in android_media_JetPlayer_setup()
119 env->SetLongField(weak_this, javaJetPlayerFields.nativePlayerInJavaObj, 0); in android_media_JetPlayer_setup()
Dandroid_media_MediaRecorder.cpp621 android_media_MediaRecorder_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_MediaRecorder_native_setup() argument
641 sp<JNIMediaRecorderListener> listener = new JNIMediaRecorderListener(env, thiz, weak_this); in android_media_MediaRecorder_native_setup()
Dandroid_media_MediaPlayer.cpp948 android_media_MediaPlayer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_MediaPlayer_native_setup() argument
963 sp<JNIMediaPlayerListener> listener = new JNIMediaPlayerListener(env, thiz, weak_this); in android_media_MediaPlayer_native_setup()
Dandroid_media_MediaDrm.cpp942 jobject weak_this, jbyteArray uuidObj, jstring jappPackageName) { in android_media_MediaDrm_native_setup() argument
979 sp<JNIDrmListener> listener = new JNIDrmListener(env, thiz, weak_this); in android_media_MediaDrm_native_setup()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp354 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_visualizer_native_setup() argument
375 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup()
Dandroid_media_AudioEffect.cpp273 android_media_AudioEffect_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioEffect_native_setup() argument
322 lpJniStorage->mCallbackData.audioEffect_ref = env->NewGlobalRef(weak_this); in android_media_AudioEffect_native_setup()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java896 private native void _setListeners(int uniqueId, Object weak_this); in _setListeners() argument