Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_DeviceCallback.cpp34 JNIDeviceCallback::JNIDeviceCallback(JNIEnv* env, jobject thiz, jobject weak_thiz, in JNIDeviceCallback() function in JNIDeviceCallback
53 JNIDeviceCallback::~JNIDeviceCallback() in ~JNIDeviceCallback()
64 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.cpp129 static sp<JNIDeviceCallback> getJniDeviceCallback(JNIEnv* env, jobject thiz) in getJniDeviceCallback()
132 JNIDeviceCallback* const cb = in getJniDeviceCallback()
133 (JNIDeviceCallback*)env->GetLongField(thiz, in getJniDeviceCallback()
135 return sp<JNIDeviceCallback>(cb); in getJniDeviceCallback()
138 static sp<JNIDeviceCallback> setJniDeviceCallback(JNIEnv* env, in setJniDeviceCallback()
140 const sp<JNIDeviceCallback>& cb) in setJniDeviceCallback()
143 sp<JNIDeviceCallback> old = in setJniDeviceCallback()
144 (JNIDeviceCallback*)env->GetLongField(thiz, in setJniDeviceCallback()
692 sp<JNIDeviceCallback> cb = getJniDeviceCallback(env, thiz); in android_media_AudioRecord_enableDeviceCallback()
703 cb = new JNIDeviceCallback(env, thiz, cookie->audioRecord_ref, in android_media_AudioRecord_enableDeviceCallback()
[all …]
Dandroid_media_AudioTrack.cpp83 sp<JNIDeviceCallback> mDeviceCallback;
1142 new JNIDeviceCallback(env, thiz, pJniStorage->mCallbackData.audioTrack_ref, in android_media_AudioTrack_enableDeviceCallback()