Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp101 sp<JNIDeviceCallback> getDeviceCallback() const { return mDeviceCallback; } in getDeviceCallback() function in AudioRecordJNIStorage
607 if (pJniStorage == nullptr || pJniStorage->getDeviceCallback() != nullptr) { in android_media_AudioRecord_enableDeviceCallback()
614 lpRecorder->addAudioDeviceCallback(pJniStorage->getDeviceCallback()); in android_media_AudioRecord_enableDeviceCallback()
626 if (pJniStorage == nullptr || pJniStorage->getDeviceCallback() == nullptr) { in android_media_AudioRecord_disableDeviceCallback()
629 lpRecorder->removeAudioDeviceCallback(pJniStorage->getDeviceCallback()); in android_media_AudioRecord_disableDeviceCallback()