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.cpp73 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera);
147 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& … in JNICameraContext() argument
149 mCameraJObjectWeak = env->NewGlobalRef(weak_this); in JNICameraContext()
558 static jint android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_hardware_Camera_native_setup() argument
594 sp<JNICameraContext> context = new JNICameraContext(env, weak_this, clazz, camera); in android_hardware_Camera_native_setup()
Dandroid_media_AudioRecord.cpp143 static jint android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioRecord_setup() argument
240 callbackData = sp<AudioRecordJNIStorage>::make(clazz, weak_this); in android_media_AudioRecord_setup()
Dandroid_media_AudioTrack.cpp243 static jint android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup() argument
281 const auto lpJniStorage = sp<AudioTrackJniStorage>::make(clazz, weak_this, offload); in android_media_AudioTrack_setup()
Dandroid_media_AudioSystem.cpp2015 android_media_AudioSystem_eventHandlerSetup(JNIEnv *env, jobject thiz, jobject weak_this) in android_media_AudioSystem_eventHandlerSetup() argument
2019 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.cpp620 android_media_MediaRecorder_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_MediaRecorder_native_setup() argument
640 sp<JNIMediaRecorderListener> listener = new JNIMediaRecorderListener(env, thiz, weak_this); in android_media_MediaRecorder_native_setup()
Dandroid_media_MediaPlayer.cpp966 android_media_MediaPlayer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_MediaPlayer_native_setup() argument
983 sp<JNIMediaPlayerListener> listener = new JNIMediaPlayerListener(env, thiz, weak_this); in android_media_MediaPlayer_native_setup()
Dandroid_media_MediaDrm.cpp989 jobject weak_this, jbyteArray uuidObj, jstring jappPackageName) { in android_media_MediaDrm_native_setup() argument
1026 sp<JNIDrmListener> listener = new JNIDrmListener(env, thiz, weak_this); in android_media_MediaDrm_native_setup()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp392 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_visualizer_native_setup() argument
413 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup()
Dandroid_media_AudioEffect.cpp278 android_media_AudioEffect_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioEffect_native_setup() argument
327 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