Home
last modified time | relevance | path

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

/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp145 mId(id), mFd(fd), mDeviceCallback(std::move(callback)) { in Device()
202 mDeviceCallback->onDeviceError(); in handleEvents()
209 mDeviceCallback->onDeviceError(); in handleEvents()
214 mDeviceCallback->onDeviceOpen(); in handleEvents()
216 mDeviceCallback->onDeviceGetReport(ev.u.get_report.id, ev.u.get_report.rnum); in handleEvents()
Dcom_android_commands_hid_Device.h57 std::unique_ptr<DeviceCallback> mDeviceCallback; variable
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp179 if (mDeviceCallback != 0 && mInput != AUDIO_IO_HANDLE_NONE) { in ~AudioRecord()
849 if (mDeviceCallback != 0) { in createRecord_l()
1369 if (mDeviceCallback.unsafe_get() == callback.get()) { in addAudioDeviceCallback()
1375 if (mDeviceCallback != 0) { in addAudioDeviceCallback()
1381 mDeviceCallback = callback; in addAudioDeviceCallback()
1393 if (mDeviceCallback.unsafe_get() != callback.get()) { in removeAudioDeviceCallback()
1397 mDeviceCallback.clear(); in removeAudioDeviceCallback()
1413 callback = mDeviceCallback.promote(); in onAudioDeviceUpdate()
DAudioTrack.cpp311 if (mDeviceCallback != 0 && mOutput != AUDIO_IO_HANDLE_NONE) { in ~AudioTrack()
1545 if (mDeviceCallback != 0) { in createTrack_l()
2955 if (mDeviceCallback.unsafe_get() == callback.get()) { in addAudioDeviceCallback()
2961 if (mDeviceCallback != 0) { in addAudioDeviceCallback()
2967 mDeviceCallback = callback; in addAudioDeviceCallback()
2979 if (mDeviceCallback.unsafe_get() != callback.get()) { in removeAudioDeviceCallback()
2983 mDeviceCallback.clear(); in removeAudioDeviceCallback()
3000 callback = mDeviceCallback.promote(); in onAudioDeviceUpdate()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp82 sp<JNIDeviceCallback> mDeviceCallback; member in AudioTrackJniStorage
1196 if (pJniStorage == NULL || pJniStorage->mDeviceCallback != 0) { in android_media_AudioTrack_enableDeviceCallback()
1199 pJniStorage->mDeviceCallback = in android_media_AudioTrack_enableDeviceCallback()
1202 lpTrack->addAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_enableDeviceCallback()
1214 if (pJniStorage == NULL || pJniStorage->mDeviceCallback == 0) { in android_media_AudioTrack_disableDeviceCallback()
1217 lpTrack->removeAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_disableDeviceCallback()
1218 pJniStorage->mDeviceCallback.clear(); in android_media_AudioTrack_disableDeviceCallback()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.h138 const android::sp<StreamDeviceCallback> mDeviceCallback; variable
DAudioStreamRecord.cpp274 mAudioRecord->addAudioDeviceCallback(mDeviceCallback); in open()
283 mAudioRecord->removeAudioDeviceCallback(mDeviceCallback); in close()
DAudioStreamTrack.cpp215 mAudioTrack->addAudioDeviceCallback(mDeviceCallback); in open()
245 mAudioTrack->removeAudioDeviceCallback(mDeviceCallback); in close()
DAudioStreamLegacy.cpp37 , mDeviceCallback(new StreamDeviceCallback(this)) { in AudioStreamLegacy()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java85 private final StateCallback mDeviceCallback; field in CameraDeviceImpl
145 mDeviceCallback.onOpened(CameraDeviceImpl.this);
209 mDeviceCallback.onClosed(CameraDeviceImpl.this);
241 mDeviceCallback.onDisconnected(CameraDeviceImpl.this);
251 mDeviceCallback = callback; in CameraDeviceImpl()
350 mDeviceCallback.onError(CameraDeviceImpl.this, code); in setRemoteFailure()
352 mDeviceCallback.onDisconnected(CameraDeviceImpl.this); in setRemoteFailure()
2011 mDeviceCallback.onError(CameraDeviceImpl.this, code); in notifyError()
2567 mDeviceCallback.onError(CameraDeviceImpl.this, in binderDied()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h740 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
DAudioTrack.h1236 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1614 mDeviceCallback(deviceCallback) in AudioOutput()
2132 mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in updateTrack()
2379 status = mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in enableAudioDeviceCallback()
2381 status = mTrack->removeAudioDeviceCallback(mDeviceCallback.promote()); in enableAudioDeviceCallback()
DMediaPlayerService.h179 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt21993 Landroid/hardware/camera2/impl/CameraDeviceImpl;->mDeviceCallback:Landroid/hardware/camera2/CameraD…