Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_JetPlayer.cpp79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_JetPlayer_setup() argument
83 JetPlayer* lpJet = new JetPlayer(env->NewGlobalRef(weak_this), maxTracks, trackBufferSize); in android_media_JetPlayer_setup()
95 env->SetLongField(weak_this, javaJetPlayerFields.nativePlayerInJavaObj, 0); in android_media_JetPlayer_setup()
Dandroid_hardware_Camera.cpp74 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera);
144 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& … in JNICameraContext() argument
146 mCameraJObjectWeak = env->NewGlobalRef(weak_this); in JNICameraContext()
523 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) in android_hardware_Camera_native_setup() argument
564 sp<JNICameraContext> context = new JNICameraContext(env, weak_this, clazz, camera); in android_hardware_Camera_native_setup()
Dandroid_media_AudioRecord.cpp178 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioRecord_setup() argument
269 lpCallbackData->audioRecord_ref = env->NewGlobalRef(weak_this); in android_media_AudioRecord_setup()
Dandroid_hardware_Radio.cpp543 jobject weak_this, jobject jConfig, jboolean withAudio) in android_hardware_Radio_setup() argument
549 sp<JNIRadioCallback> callback = new JNIRadioCallback(env, thiz, weak_this); in android_hardware_Radio_setup()
Dandroid_media_AudioTrack.cpp216 android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup() argument
301 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
Dandroid_hardware_SoundTrigger.cpp446 android_hardware_SoundTrigger_setup(JNIEnv *env, jobject thiz, jobject weak_this) in android_hardware_SoundTrigger_setup() argument
450 sp<JNISoundTriggerCallback> callback = new JNISoundTriggerCallback(env, thiz, weak_this); in android_hardware_SoundTrigger_setup()
Dandroid_media_AudioSystem.cpp1455 android_media_AudioSystem_eventHandlerSetup(JNIEnv *env, jobject thiz, jobject weak_this) in android_media_AudioSystem_eventHandlerSetup() argument
1459 sp<JNIAudioPortCallback> callback = new JNIAudioPortCallback(env, thiz, weak_this); in android_media_AudioSystem_eventHandlerSetup()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp457 android_media_MediaRecorder_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_MediaRecorder_native_setup() argument
475 sp<JNIMediaRecorderListener> listener = new JNIMediaRecorderListener(env, thiz, weak_this); in android_media_MediaRecorder_native_setup()
Dandroid_media_MediaPlayer.cpp868 android_media_MediaPlayer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this) in android_media_MediaPlayer_native_setup() argument
878 sp<JNIMediaPlayerListener> listener = new JNIMediaPlayerListener(env, thiz, weak_this); in android_media_MediaPlayer_native_setup()
Dandroid_media_MediaDrm.cpp690 jobject weak_this, jbyteArray uuidObj) { in android_media_MediaDrm_native_setup() argument
717 sp<JNIDrmListener> listener = new JNIDrmListener(env, thiz, weak_this); in android_media_MediaDrm_native_setup()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp351 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_visualizer_native_setup() argument
372 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup()
Dandroid_media_AudioEffect.cpp280 android_media_AudioEffect_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioEffect_native_setup() argument
333 lpJniStorage->mCallbackData.audioEffect_ref = env->NewGlobalRef(weak_this); in android_media_AudioEffect_native_setup()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java865 private native void _setListeners(int uniqueId, Object weak_this); in _setListeners() argument