Searched refs:JNIDeviceCallback (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_DeviceCallback.cpp | 33 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()
|
D | android_media_DeviceCallback.h | 28 class JNIDeviceCallback: public AudioSystem::AudioDeviceCallback 31 JNIDeviceCallback(JNIEnv* env, jobject thiz, jobject weak_thiz, jmethodID postEventFromNative); 32 ~JNIDeviceCallback();
|
D | android_media_AudioRecord.cpp | 132 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 …]
|
D | android_media_AudioTrack.cpp | 82 sp<JNIDeviceCallback> mDeviceCallback; 1200 new JNIDeviceCallback(env, thiz, pJniStorage->mCallbackData.audioTrack_ref, in android_media_AudioTrack_enableDeviceCallback()
|