Searched refs:mDeviceCallback (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libmedia/ |
D | AudioRecord.cpp | 119 if (mDeviceCallback != 0 && mInput != AUDIO_IO_HANDLE_NONE) { in ~AudioRecord() 120 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mInput); in ~AudioRecord() 516 if (mDeviceCallback != 0 && mInput != AUDIO_IO_HANDLE_NONE) { in openRecord_l() 517 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mInput); in openRecord_l() 721 if (mDeviceCallback != 0) { in openRecord_l() 722 AudioSystem::addAudioDeviceCallback(mDeviceCallback, mInput); in openRecord_l() 1196 if (mDeviceCallback == callback) { in addAudioDeviceCallback() 1202 if (mDeviceCallback != 0) { in addAudioDeviceCallback() 1204 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mInput); in addAudioDeviceCallback() 1208 mDeviceCallback = callback; in addAudioDeviceCallback() [all …]
|
D | AudioTrack.cpp | 263 if (mDeviceCallback != 0 && mOutput != AUDIO_IO_HANDLE_NONE) { in ~AudioTrack() 264 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mOutput); in ~AudioTrack() 1227 if (mDeviceCallback != 0 && mOutput != AUDIO_IO_HANDLE_NONE) { in createTrack_l() 1228 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mOutput); in createTrack_l() 1544 if (mDeviceCallback != 0) { in createTrack_l() 1545 AudioSystem::addAudioDeviceCallback(mDeviceCallback, mOutput); in createTrack_l() 2615 if (mDeviceCallback == callback) { in addAudioDeviceCallback() 2621 if (mDeviceCallback != 0) { in addAudioDeviceCallback() 2623 AudioSystem::removeAudioDeviceCallback(mDeviceCallback, mOutput); in addAudioDeviceCallback() 2627 mDeviceCallback = callback; in addAudioDeviceCallback() [all …]
|
/frameworks/base/cmds/hid/jni/ |
D | com_android_commands_hid_Device.cpp | 127 mId(id), mFd(fd), mDeviceCallback(std::move(callback)), mLooper(looper) { in Device() 156 mDeviceCallback->onDeviceError(); in handleEvents() 163 mDeviceCallback->onDeviceError(); in handleEvents() 168 mDeviceCallback->onDeviceOpen(); in handleEvents()
|
D | com_android_commands_hid_Device.h | 55 std::unique_ptr<DeviceCallback> mDeviceCallback; variable
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraDeviceImpl.java | 80 private final StateCallback mDeviceCallback; field in CameraDeviceImpl 134 mDeviceCallback.onOpened(CameraDeviceImpl.this); 198 mDeviceCallback.onClosed(CameraDeviceImpl.this); 230 mDeviceCallback.onDisconnected(CameraDeviceImpl.this); 240 mDeviceCallback = callback; in CameraDeviceImpl() 338 mDeviceCallback.onError(CameraDeviceImpl.this, code); in setRemoteFailure() 340 mDeviceCallback.onDisconnected(CameraDeviceImpl.this); in setRemoteFailure() 1684 mDeviceCallback.onError(CameraDeviceImpl.this, publicErrorCode); in onDeviceError() 2055 mDeviceCallback.onError(CameraDeviceImpl.this, in binderDied()
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 83 sp<JNIDeviceCallback> mDeviceCallback; member in AudioTrackJniStorage 1138 if (pJniStorage == NULL || pJniStorage->mDeviceCallback != 0) { in android_media_AudioTrack_enableDeviceCallback() 1141 pJniStorage->mDeviceCallback = in android_media_AudioTrack_enableDeviceCallback() 1144 lpTrack->addAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_enableDeviceCallback() 1156 if (pJniStorage == NULL || pJniStorage->mDeviceCallback == 0) { in android_media_AudioTrack_disableDeviceCallback() 1159 lpTrack->removeAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_disableDeviceCallback() 1160 pJniStorage->mDeviceCallback.clear(); in android_media_AudioTrack_disableDeviceCallback()
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 652 sp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
|
D | AudioTrack.h | 1107 sp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
|