Home
last modified time | relevance | path

Searched refs:JNIDeviceCallback (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_DeviceCallback.cpp33 JNIDeviceCallback::JNIDeviceCallback(JNIEnv* env, jobject thiz, jobject weak_thiz, in JNIDeviceCallback() function in JNIDeviceCallback
52 JNIDeviceCallback::~JNIDeviceCallback() in ~JNIDeviceCallback()
63 void JNIDeviceCallback::onAudioDeviceUpdate(audio_io_handle_t audioIo, in onAudioDeviceUpdate()
Dandroid_media_DeviceCallback.h28 class JNIDeviceCallback: public AudioSystem::AudioDeviceCallback
31 JNIDeviceCallback(JNIEnv* env, jobject thiz, jobject weak_thiz, jmethodID postEventFromNative);
32 ~JNIDeviceCallback();
Dandroid_media_AudioRecord.cpp132 static sp<JNIDeviceCallback> getJniDeviceCallback(JNIEnv* env, jobject thiz) in getJniDeviceCallback()
135 JNIDeviceCallback* const cb = in getJniDeviceCallback()
136 (JNIDeviceCallback*)env->GetLongField(thiz, in getJniDeviceCallback()
138 return sp<JNIDeviceCallback>(cb); in getJniDeviceCallback()
141 static sp<JNIDeviceCallback> setJniDeviceCallback(JNIEnv* env, in setJniDeviceCallback()
143 const sp<JNIDeviceCallback>& cb) in setJniDeviceCallback()
146 sp<JNIDeviceCallback> old = in setJniDeviceCallback()
147 (JNIDeviceCallback*)env->GetLongField(thiz, in setJniDeviceCallback()
690 sp<JNIDeviceCallback> cb = getJniDeviceCallback(env, thiz); in android_media_AudioRecord_enableDeviceCallback()
701 cb = new JNIDeviceCallback(env, thiz, cookie->audioRecord_ref, in android_media_AudioRecord_enableDeviceCallback()
[all …]
Dandroid_media_AudioTrack.cpp82 sp<JNIDeviceCallback> mDeviceCallback;
1200 new JNIDeviceCallback(env, thiz, pJniStorage->mCallbackData.audioTrack_ref, in android_media_AudioTrack_enableDeviceCallback()