Home
last modified time | relevance | path

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

/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp183 : mId(id), mFd(std::move(fd)), mDeviceCallback(std::move(callback)) { in Device()
248 mDeviceCallback->onDeviceError(); in handleEvents()
255 mDeviceCallback->onDeviceError(); in handleEvents()
260 mDeviceCallback->onDeviceOpen(); in handleEvents()
264 mDeviceCallback->onDeviceGetReport(ev.u.get_report.id, ev.u.get_report.rnum); in handleEvents()
279 mDeviceCallback->onDeviceSetReport(set_report.id, set_report.rtype, data); in handleEvents()
288 mDeviceCallback->onDeviceOutput(output.rtype, data); in handleEvents()
Dcom_android_commands_hid_Device.h62 std::unique_ptr<DeviceCallback> mDeviceCallback; variable
/frameworks/base/cmds/uinput/jni/
Dcom_android_commands_uinput_Device.cpp149 : mId(id), mFd(std::move(fd)), mDeviceCallback(std::move(callback)) { in UinputDevice()
187 mDeviceCallback->onDeviceError(); in handleEvents()
194 mDeviceCallback->onDeviceError(); in handleEvents()
217 mDeviceCallback->onDeviceVibrating(ev.value); in handleEvents()
Dcom_android_commands_uinput_Device.h66 std::unique_ptr<DeviceCallback> mDeviceCallback; variable
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp204 if (mDeviceCallback != 0 && mInput != AUDIO_IO_HANDLE_NONE) { in stopAndJoinCallbacks()
208 mDeviceCallback.clear(); in stopAndJoinCallbacks()
962 if (mDeviceCallback != 0) { in createRecord_l()
1576 if (mDeviceCallback.unsafe_get() == callback.get()) { in addAudioDeviceCallback()
1582 if (mDeviceCallback != 0) { in addAudioDeviceCallback()
1588 mDeviceCallback = callback; in addAudioDeviceCallback()
1600 if (mDeviceCallback.unsafe_get() != callback.get()) { in removeAudioDeviceCallback()
1604 mDeviceCallback.clear(); in removeAudioDeviceCallback()
1620 callback = mDeviceCallback.promote(); in onAudioDeviceUpdate()
DAudioTrack.cpp390 if (mDeviceCallback != 0 && mOutput != AUDIO_IO_HANDLE_NONE) { in stopAndJoinCallbacks()
394 mDeviceCallback.clear(); in stopAndJoinCallbacks()
1967 if (mDeviceCallback != 0) { in createTrack_l()
3612 if (mDeviceCallback.unsafe_get() == callback.get()) { in addAudioDeviceCallback()
3618 if (mDeviceCallback != 0) { in addAudioDeviceCallback()
3624 mDeviceCallback = callback; in addAudioDeviceCallback()
3636 if (mDeviceCallback.unsafe_get() != callback.get()) { in removeAudioDeviceCallback()
3640 mDeviceCallback.clear(); in removeAudioDeviceCallback()
3657 callback = mDeviceCallback.promote(); in onAudioDeviceUpdate()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java116 private final StateCallback mDeviceCallback; field in CameraDeviceImpl
195 mDeviceCallback.onOpened(CameraDeviceImpl.this);
259 mDeviceCallback.onClosed(CameraDeviceImpl.this);
291 mDeviceCallback.onDisconnected(CameraDeviceImpl.this);
356 mDeviceCallback = new ClientStateCallback(executor, callback); in CameraDeviceImpl()
359 mDeviceCallback = callback; in CameraDeviceImpl()
476 mDeviceCallback.onError(CameraDeviceImpl.this, code); in setRemoteFailure()
478 mDeviceCallback.onDisconnected(CameraDeviceImpl.this); in setRemoteFailure()
1935 mDeviceCallback.onError(CameraDeviceImpl.this, code); in notifyError()
2614 mDeviceCallback.onError(CameraDeviceImpl.this, in binderDied()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp162 sp<JNIDeviceCallback> mDeviceCallback; member in AudioTrackJniStorage
1213 if (pJniStorage == nullptr || pJniStorage->mDeviceCallback != nullptr) { in android_media_AudioTrack_enableDeviceCallback()
1217 pJniStorage->mDeviceCallback = in android_media_AudioTrack_enableDeviceCallback()
1220 lpTrack->addAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_enableDeviceCallback()
1233 if (pJniStorage == nullptr || pJniStorage->mDeviceCallback == nullptr) { in android_media_AudioTrack_disableDeviceCallback()
1236 lpTrack->removeAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_disableDeviceCallback()
1237 pJniStorage->mDeviceCallback.clear(); in android_media_AudioTrack_disableDeviceCallback()
Dandroid_media_AudioRecord.cpp98 mDeviceCallback = callback; in setDeviceCallback()
101 sp<JNIDeviceCallback> getDeviceCallback() const { return mDeviceCallback; } in getDeviceCallback()
123 sp<JNIDeviceCallback> mDeviceCallback; member in AudioRecordJNIStorage
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h809 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
DAudioTrack.h1501 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h186 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
DMediaPlayerService.cpp1837 mDeviceCallback(deviceCallback) in AudioOutput()
2357 mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in updateTrack()
2619 status = mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in enableAudioDeviceCallback()
2621 status = mTrack->removeAudioDeviceCallback(mDeviceCallback.promote()); in enableAudioDeviceCallback()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19106 Landroid/hardware/camera2/impl/CameraDeviceImpl;->mDeviceCallback:Landroid/hardware/camera2/CameraD…