Searched refs:mDeviceCallback (Results 1 – 15 of 15) sorted by relevance
145 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()
57 std::unique_ptr<DeviceCallback> mDeviceCallback; variable
179 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()
311 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()
82 sp<JNIDeviceCallback> mDeviceCallback; member in AudioTrackJniStorage1196 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()
138 const android::sp<StreamDeviceCallback> mDeviceCallback; variable
274 mAudioRecord->addAudioDeviceCallback(mDeviceCallback); in open()283 mAudioRecord->removeAudioDeviceCallback(mDeviceCallback); in close()
215 mAudioTrack->addAudioDeviceCallback(mDeviceCallback); in open()245 mAudioTrack->removeAudioDeviceCallback(mDeviceCallback); in close()
37 , mDeviceCallback(new StreamDeviceCallback(this)) { in AudioStreamLegacy()
85 private final StateCallback mDeviceCallback; field in CameraDeviceImpl145 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()
740 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
1236 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
1614 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()
179 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
21993 Landroid/hardware/camera2/impl/CameraDeviceImpl;->mDeviceCallback:Landroid/hardware/camera2/CameraD…